struct Client::Monitor::Property

Included Modules

Defined in:

pb-Client/CATS_Monitor.pb.cr

Constant Summary

FIELDS = {1 => {name: :application, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :stat_change_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :prop_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :prop_state, pb_type: Property::State, crystal_type: Property::State, cast_type: Property::State, native: false, optional: false, repeated: false, default: nil, packed: false}, 5 => {name: :prop_message, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(prop_name : String, prop_state : Property::State, prop_message : String, application : String | Nil = nil, stat_change_time : String | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def application : String | Nil #

def application=(application : String | Nil) #

def prop_message : String #

def prop_message=(prop_message : String) #

def prop_name : String #

def prop_name=(prop_name : String) #

def prop_state : Property::State #

def prop_state=(prop_state : Property::State) #

def stat_change_time : String | Nil #

def stat_change_time=(stat_change_time : String | Nil) #

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

def to_protobuf #