struct Facebook::Proto::AdCreativeVideoData
- Facebook::Proto::AdCreativeVideoData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativeVideoData.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #additional_image_index : Int64 | Nil
- #additional_image_index=(additional_image_index : Int64 | Nil)
- #branded_content_shared_to_sponsor_status : String | Nil
- #branded_content_shared_to_sponsor_status=(branded_content_shared_to_sponsor_status : String | Nil)
- #branded_content_sponsor_page_id : String | Nil
- #branded_content_sponsor_page_id=(branded_content_sponsor_page_id : String | Nil)
- #image_hash : String | Nil
- #image_hash=(image_hash : String | Nil)
- #image_url : String | Nil
- #image_url=(image_url : String | Nil)
- #link_description : String | Nil
- #link_description=(link_description : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #offer_id : String | Nil
- #offer_id=(offer_id : String | Nil)
- #page_welcome_message : String | Nil
- #page_welcome_message=(page_welcome_message : String | Nil)
- #retailer_item_ids : Array(String) | Nil
- #retailer_item_ids=(retailer_item_ids : Array(String) | Nil)
- #retailer_item_ids=(retailer_item_ids : Array(String) | Nil)
- #targeting : Targeting | Nil
- #targeting=(targeting : Targeting | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #video_id : String | Nil
- #video_id=(video_id : String | Nil)