struct Facebook::Proto::VideoThumbnail
- Facebook::Proto::VideoThumbnail
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/VideoThumbnail.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: :height, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :is_preferred, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :scale, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :width, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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, height : Int64 | Nil = nil, is_preferred : Bool | Nil = nil, name : String | Nil = nil, scale : Float64 | Nil = nil, uri : String | Nil = nil, width : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #height : Int64 | Nil
- #height=(height : Int64 | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_preferred : Bool | Nil
- #is_preferred=(is_preferred : Bool | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #scale : Float64 | Nil
- #scale=(scale : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #uri : String | Nil
- #uri=(uri : String | Nil)
- #width : Int64 | Nil
- #width=(width : Int64 | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, height : Int64 | Nil = nil, is_preferred : Bool | Nil = nil, name : String | Nil = nil, scale : Float64 | Nil = nil, uri : String | Nil = nil, width : Int64 | Nil = nil)
#