struct Facebook::Proto::AdAssetFeedSpecVideo

Included Modules

Defined in:

cli/proto/facebook/AdAssetFeedSpecVideo.pb.cr

Constant Summary

FIELDS = {1 => {name: :caption_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :thumbnail_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :thumbnail_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :url_tags, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :video_id, 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(caption_ids : Array(String) | Nil = nil, thumbnail_hash : String | Nil = nil, thumbnail_url : String | Nil = nil, url_tags : String | Nil = nil, video_id : String | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def caption_ids : Array(String) | Nil #

def caption_ids=(caption_ids : Array(String) | Nil) #

def caption_ids=(caption_ids : Array(String) | Nil) #

def thumbnail_hash : String | Nil #

def thumbnail_hash=(thumbnail_hash : String | Nil) #

def thumbnail_url : String | Nil #

def thumbnail_url=(thumbnail_url : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def url_tags : String | Nil #

def url_tags=(url_tags : String | Nil) #

def video_id : String | Nil #

def video_id=(video_id : String | Nil) #