struct Apps::Support::Device
- Apps::Support::Device
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Support.pb.crConstant Summary
-
FIELDS =
{1 => {name: :i, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :u, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :e, pb_type: :bool, crystal_type: Bool, cast_type: Bool, native: true, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :c, pb_type: DeviceCategory, crystal_type: DeviceCategory, cast_type: DeviceCategory?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :g, pb_type: GroupDeviceAttributes, crystal_type: GroupDeviceAttributes, cast_type: Array(GroupDeviceAttributes)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(i : String, u : String, e : Bool, c : DeviceCategory | Nil = nil, g : Array(GroupDeviceAttributes) | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #c : DeviceCategory | Nil
- #c=(c : DeviceCategory | Nil)
- #e : Bool
- #e=(e : Bool)
- #g : Array(GroupDeviceAttributes) | Nil
- #g=(g : Array(GroupDeviceAttributes) | Nil)
- #i : String
- #i=(i : String)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #u : String
- #u=(u : String)
Constructor Detail
def self.new(i : String, u : String, e : Bool, c : DeviceCategory | Nil = nil, g : Array(GroupDeviceAttributes) | Nil = nil)
#