struct Facebook::Proto::IgMedia
- Facebook::Proto::IgMedia
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/IgMedia.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: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :comments_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :ig_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_comment_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :like_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :media_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :media_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :permalink, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :shortcode, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :thumbnail_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :timestamp, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :username, 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, caption : String | Nil = nil, comments_count : Int64 | Nil = nil, ig_id : String | Nil = nil, is_comment_enabled : Bool | Nil = nil, like_count : Int64 | Nil = nil, media_type : String | Nil = nil, media_url : String | Nil = nil, permalink : String | Nil = nil, shortcode : String | Nil = nil, thumbnail_url : String | Nil = nil, timestamp : Datetime | Nil = nil, username : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #comments_count : Int64 | Nil
- #comments_count=(comments_count : Int64 | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #ig_id : String | Nil
- #ig_id=(ig_id : String | Nil)
- #is_comment_enabled : Bool | Nil
- #is_comment_enabled=(is_comment_enabled : Bool | Nil)
- #like_count : Int64 | Nil
- #like_count=(like_count : Int64 | Nil)
- #media_type : String | Nil
- #media_type=(media_type : String | Nil)
- #media_url : String | Nil
- #media_url=(media_url : String | Nil)
- #permalink : String | Nil
- #permalink=(permalink : String | Nil)
- #shortcode : String | Nil
- #shortcode=(shortcode : String | Nil)
- #thumbnail_url : String | Nil
- #thumbnail_url=(thumbnail_url : String | Nil)
- #timestamp : Datetime | Nil
- #timestamp=(timestamp : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #username : String | Nil
- #username=(username : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, caption : String | Nil = nil, comments_count : Int64 | Nil = nil, ig_id : String | Nil = nil, is_comment_enabled : Bool | Nil = nil, like_count : Int64 | Nil = nil, media_type : String | Nil = nil, media_url : String | Nil = nil, permalink : String | Nil = nil, shortcode : String | Nil = nil, thumbnail_url : String | Nil = nil, timestamp : Datetime | Nil = nil, username : String | Nil = nil)
#