struct Apps::LogDevFeatureMessages::SetAgentStateArgument

Included Modules

Defined in:

pb-Apps/CATS_Logical_Device_Feature_Services.pb.cr

Constant Summary

FIELDS = {1 => {name: :device, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :requested_agent_state, pb_type: AgentState, crystal_type: AgentState, cast_type: AgentState?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :agent_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :password, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :auto_work_on, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :auto_work_interval, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(device : String | Nil = nil, requested_agent_state : AgentState | Nil = nil, agent_id : String | Nil = nil, password : String | Nil = nil, group : String | Nil = nil, auto_work_on : Bool | Nil = nil, auto_work_interval : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def agent_id : String | Nil #

def agent_id=(agent_id : String | Nil) #

def auto_work_interval : String | Nil #

def auto_work_interval=(auto_work_interval : String | Nil) #

def auto_work_on : Bool | Nil #

def auto_work_on=(auto_work_on : Bool | Nil) #

def device : String | Nil #

def device=(device : String | Nil) #

def group : String | Nil #

def group=(group : String | Nil) #

def password : String | Nil #

def password=(password : String | Nil) #

def requested_agent_state : AgentState | Nil #

def requested_agent_state=(requested_agent_state : AgentState | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #