struct Facebook::Proto::AdCreativeVideoData

Included Modules

Defined in:

cli/proto/facebook/AdCreativeVideoData.pb.cr

Constant Summary

FIELDS = {1 => {name: :additional_image_index, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :branded_content_shared_to_sponsor_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :branded_content_sponsor_page_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :link_description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :offer_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :page_welcome_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :retailer_item_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 11 => {name: :targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {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(additional_image_index : Int64 | Nil = nil, branded_content_shared_to_sponsor_status : String | Nil = nil, branded_content_sponsor_page_id : String | Nil = nil, image_hash : String | Nil = nil, image_url : String | Nil = nil, link_description : String | Nil = nil, message : String | Nil = nil, offer_id : String | Nil = nil, page_welcome_message : String | Nil = nil, retailer_item_ids : Array(String) | Nil = nil, targeting : Targeting | Nil = nil, title : 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 additional_image_index : Int64 | Nil #

def additional_image_index=(additional_image_index : Int64 | Nil) #

def branded_content_shared_to_sponsor_status : String | Nil #

def branded_content_shared_to_sponsor_status=(branded_content_shared_to_sponsor_status : String | Nil) #

def branded_content_sponsor_page_id : String | Nil #

def branded_content_sponsor_page_id=(branded_content_sponsor_page_id : String | Nil) #

def image_hash : String | Nil #

def image_hash=(image_hash : String | Nil) #

def image_url : String | Nil #

def image_url=(image_url : String | Nil) #

def link_description : String | Nil #

def link_description=(link_description : String | Nil) #

def message : String | Nil #

def message=(message : String | Nil) #

def offer_id : String | Nil #

def offer_id=(offer_id : String | Nil) #

def page_welcome_message : String | Nil #

def page_welcome_message=(page_welcome_message : String | Nil) #

def retailer_item_ids : Array(String) | Nil #

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

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

def targeting : Targeting | Nil #

def targeting=(targeting : Targeting | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #

def video_id : String | Nil #

def video_id=(video_id : String | Nil) #