struct Facebook::Proto::LiveEncoder
- Facebook::Proto::LiveEncoder
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/LiveEncoder.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :brand, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :creation_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :device_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :last_heartbeat_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :model, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :version, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, brand : String | Nil = nil, creation_time : Datetime | Nil = nil, device_id : String | Nil = nil, last_heartbeat_time : Datetime | Nil = nil, model : String | Nil = nil, name : String | Nil = nil, status : String | Nil = nil, version : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #brand : String | Nil
- #brand=(brand : String | Nil)
- #creation_time : Datetime | Nil
- #creation_time=(creation_time : Datetime | Nil)
- #device_id : String | Nil
- #device_id=(device_id : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #last_heartbeat_time : Datetime | Nil
- #last_heartbeat_time=(last_heartbeat_time : Datetime | Nil)
- #model : String | Nil
- #model=(model : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #version : String | Nil
- #version=(version : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, brand : String | Nil = nil, creation_time : Datetime | Nil = nil, device_id : String | Nil = nil, last_heartbeat_time : Datetime | Nil = nil, model : String | Nil = nil, name : String | Nil = nil, status : String | Nil = nil, version : String | Nil = nil)
#