struct Client::UserStatus
- Client::UserStatus
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/CATS_LiveMessage.pb.crConstant Summary
-
FIELDS =
{1 => {name: :user_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :user_status, pb_type: EnStatus, crystal_type: EnStatus, cast_type: EnStatus, native: false, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :extension, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :extension_full, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :user_full_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :status_text, 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
- .new(user_name : String, user_status : EnStatus, extension : String | Nil = nil, extension_full : String | Nil = nil, user_full_name : String | Nil = nil, status_text : String | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #extension : String | Nil
- #extension=(extension : String | Nil)
- #extension_full : String | Nil
- #extension_full=(extension_full : String | Nil)
- #status_text : String | Nil
- #status_text=(status_text : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #user_full_name : String | Nil
- #user_full_name=(user_full_name : String | Nil)
- #user_name : String
- #user_name=(user_name : String)
- #user_status : EnStatus
- #user_status=(user_status : EnStatus)
Constructor Detail
def self.new(user_name : String, user_status : EnStatus, extension : String | Nil = nil, extension_full : String | Nil = nil, user_full_name : String | Nil = nil, status_text : String | Nil = nil)
#