struct Client::DeviceGroupDescription
- Client::DeviceGroupDescription
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/CATS_ExtStatus.pb.crConstant Summary
-
FIELDS =
{1 => {name: :group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :custom_group, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :device_state, pb_type: DeviceState, crystal_type: DeviceState, cast_type: Array(DeviceState)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :hgroup_type, pb_type: DeviceGroupDescription::GroupType, crystal_type: DeviceGroupDescription::GroupType, cast_type: DeviceGroupDescription::GroupType?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(group : String | Nil = nil, custom_group : Bool | Nil = nil, device_state : Array(DeviceState) | Nil = nil, hgroup_type : DeviceGroupDescription::GroupType | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #custom_group : Bool | Nil
- #custom_group=(custom_group : Bool | Nil)
- #device_state : Array(DeviceState) | Nil
- #device_state=(device_state : Array(DeviceState) | Nil)
- #group : String | Nil
- #group=(group : String | Nil)
- #hgroup_type : DeviceGroupDescription::GroupType | Nil
- #hgroup_type=(hgroup_type : DeviceGroupDescription::GroupType | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(group : String | Nil = nil, custom_group : Bool | Nil = nil, device_state : Array(DeviceState) | Nil = nil, hgroup_type : DeviceGroupDescription::GroupType | Nil = nil)
#