struct Client::Monitor::Property
- Client::Monitor::Property
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/CATS_Monitor.pb.crConstant 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
- .new(prop_name : String, prop_state : Property::State, prop_message : String, application : String | Nil = nil, stat_change_time : String | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #application : String | Nil
- #application=(application : String | Nil)
- #prop_message : String
- #prop_message=(prop_message : String)
- #prop_name : String
- #prop_name=(prop_name : String)
- #prop_state : Property::State
- #prop_state=(prop_state : Property::State)
- #stat_change_time : String | Nil
- #stat_change_time=(stat_change_time : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
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)
#