struct Facebook::Proto::AdCreativeLinkData
- Facebook::Proto::AdCreativeLinkData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativeLinkData.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: :attachment_style, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {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}, 4 => {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}, 5 => {name: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :event_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :force_single_link, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :format_option, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :image_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :multi_share_end_card, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :multi_share_optimized, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :offer_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :page_welcome_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :picture, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :preferred_image_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 20 => {name: :retailer_item_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :show_multiple_images, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :use_flexible_image_aspect_ratio, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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, attachment_style : String | Nil = nil, branded_content_shared_to_sponsor_status : String | Nil = nil, branded_content_sponsor_page_id : String | Nil = nil, caption : String | Nil = nil, description : String | Nil = nil, event_id : String | Nil = nil, force_single_link : Bool | Nil = nil, format_option : String | Nil = nil, image_hash : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, multi_share_end_card : Bool | Nil = nil, multi_share_optimized : Bool | Nil = nil, name : String | Nil = nil, offer_id : String | Nil = nil, page_welcome_message : String | Nil = nil, picture : String | Nil = nil, preferred_image_tags : Array(String) | Nil = nil, retailer_item_ids : Array(String) | Nil = nil, show_multiple_images : Bool | Nil = nil, use_flexible_image_aspect_ratio : Bool | 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)
- #attachment_style : String | Nil
- #attachment_style=(attachment_style : String | 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)
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #event_id : String | Nil
- #event_id=(event_id : String | Nil)
- #force_single_link : Bool | Nil
- #force_single_link=(force_single_link : Bool | Nil)
- #format_option : String | Nil
- #format_option=(format_option : String | Nil)
- #image_hash : String | Nil
- #image_hash=(image_hash : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #multi_share_end_card : Bool | Nil
- #multi_share_end_card=(multi_share_end_card : Bool | Nil)
- #multi_share_optimized : Bool | Nil
- #multi_share_optimized=(multi_share_optimized : Bool | Nil)
- #name : String | Nil
- #name=(name : 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)
- #picture : String | Nil
- #picture=(picture : String | Nil)
- #preferred_image_tags : Array(String) | Nil
- #preferred_image_tags=(preferred_image_tags : Array(String) | Nil)
- #preferred_image_tags=(preferred_image_tags : Array(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)
- #show_multiple_images : Bool | Nil
- #show_multiple_images=(show_multiple_images : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #use_flexible_image_aspect_ratio : Bool | Nil
- #use_flexible_image_aspect_ratio=(use_flexible_image_aspect_ratio : Bool | Nil)