struct
TwitterAds::Proto::CardsVideoConversation
- TwitterAds::Proto::CardsVideoConversation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/cards_video_conversation.pb.crConstant Summary
-
FIELDS =
{1 => {name: :card_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :card_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :cover_image_display_height, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :cover_image_display_width, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :cover_image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :cover_video_content_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :cover_video_height, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :cover_video_hls_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :cover_video_poster_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :cover_video_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :cover_video_width, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :deleted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :first_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :first_cta_tweet, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :fourth_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :fourth_cta_tweet, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :media_key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :media_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :poster_media_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :second_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :second_cta_tweet, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :thank_you_dest_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :thank_you_display_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :thank_you_shortened_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :thank_you_text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :thank_you_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :third_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :third_cta_tweet, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :updated_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :video_height, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :video_owner_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :video_width, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :account_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(card_type : String | Nil = nil, card_uri : String | Nil = nil, cover_image_display_height : String | Nil = nil, cover_image_display_width : String | Nil = nil, cover_image_url : String | Nil = nil, cover_video_content_id : String | Nil = nil, cover_video_height : String | Nil = nil, cover_video_hls_url : String | Nil = nil, cover_video_poster_url : String | Nil = nil, cover_video_url : String | Nil = nil, cover_video_width : String | Nil = nil, created_at : String | Nil = nil, deleted : Bool | Nil = nil, first_cta : String | Nil = nil, first_cta_tweet : String | Nil = nil, fourth_cta : String | Nil = nil, fourth_cta_tweet : String | Nil = nil, id : String | Nil = nil, media_key : String | Nil = nil, media_url : String | Nil = nil, name : String | Nil = nil, poster_media_url : String | Nil = nil, second_cta : String | Nil = nil, second_cta_tweet : String | Nil = nil, thank_you_dest_url : String | Nil = nil, thank_you_display_url : String | Nil = nil, thank_you_shortened_url : String | Nil = nil, thank_you_text : String | Nil = nil, thank_you_url : String | Nil = nil, third_cta : String | Nil = nil, third_cta_tweet : String | Nil = nil, title : String | Nil = nil, updated_at : String | Nil = nil, video_height : String | Nil = nil, video_owner_id : String | Nil = nil, video_width : String | Nil = nil, account_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #card_type : String | Nil
- #card_type=(card_type : String | Nil)
- #card_uri : String | Nil
- #card_uri=(card_uri : String | Nil)
- #cover_image_display_height : String | Nil
- #cover_image_display_height=(cover_image_display_height : String | Nil)
- #cover_image_display_width : String | Nil
- #cover_image_display_width=(cover_image_display_width : String | Nil)
- #cover_image_url : String | Nil
- #cover_image_url=(cover_image_url : String | Nil)
- #cover_video_content_id : String | Nil
- #cover_video_content_id=(cover_video_content_id : String | Nil)
- #cover_video_height : String | Nil
- #cover_video_height=(cover_video_height : String | Nil)
- #cover_video_hls_url : String | Nil
- #cover_video_hls_url=(cover_video_hls_url : String | Nil)
- #cover_video_poster_url : String | Nil
- #cover_video_poster_url=(cover_video_poster_url : String | Nil)
- #cover_video_url : String | Nil
- #cover_video_url=(cover_video_url : String | Nil)
- #cover_video_width : String | Nil
- #cover_video_width=(cover_video_width : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #deleted : Bool | Nil
- #deleted=(deleted : Bool | Nil)
- #first_cta : String | Nil
- #first_cta=(first_cta : String | Nil)
- #first_cta_tweet : String | Nil
- #first_cta_tweet=(first_cta_tweet : String | Nil)
- #fourth_cta : String | Nil
- #fourth_cta=(fourth_cta : String | Nil)
- #fourth_cta_tweet : String | Nil
- #fourth_cta_tweet=(fourth_cta_tweet : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #media_key : String | Nil
- #media_key=(media_key : String | Nil)
- #media_url : String | Nil
- #media_url=(media_url : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #poster_media_url : String | Nil
- #poster_media_url=(poster_media_url : String | Nil)
- #second_cta : String | Nil
- #second_cta=(second_cta : String | Nil)
- #second_cta_tweet : String | Nil
- #second_cta_tweet=(second_cta_tweet : String | Nil)
- #thank_you_dest_url : String | Nil
- #thank_you_dest_url=(thank_you_dest_url : String | Nil)
- #thank_you_display_url : String | Nil
- #thank_you_display_url=(thank_you_display_url : String | Nil)
- #thank_you_shortened_url : String | Nil
- #thank_you_shortened_url=(thank_you_shortened_url : String | Nil)
- #thank_you_text : String | Nil
- #thank_you_text=(thank_you_text : String | Nil)
- #thank_you_url : String | Nil
- #thank_you_url=(thank_you_url : String | Nil)
- #third_cta : String | Nil
- #third_cta=(third_cta : String | Nil)
- #third_cta_tweet : String | Nil
- #third_cta_tweet=(third_cta_tweet : String | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #updated_at : String | Nil
- #updated_at=(updated_at : String | Nil)
- #video_height : String | Nil
- #video_height=(video_height : String | Nil)
- #video_owner_id : String | Nil
- #video_owner_id=(video_owner_id : String | Nil)
- #video_width : String | Nil
- #video_width=(video_width : String | Nil)
Constructor Detail
def self.new(card_type : String | Nil = nil, card_uri : String | Nil = nil, cover_image_display_height : String | Nil = nil, cover_image_display_width : String | Nil = nil, cover_image_url : String | Nil = nil, cover_video_content_id : String | Nil = nil, cover_video_height : String | Nil = nil, cover_video_hls_url : String | Nil = nil, cover_video_poster_url : String | Nil = nil, cover_video_url : String | Nil = nil, cover_video_width : String | Nil = nil, created_at : String | Nil = nil, deleted : Bool | Nil = nil, first_cta : String | Nil = nil, first_cta_tweet : String | Nil = nil, fourth_cta : String | Nil = nil, fourth_cta_tweet : String | Nil = nil, id : String | Nil = nil, media_key : String | Nil = nil, media_url : String | Nil = nil, name : String | Nil = nil, poster_media_url : String | Nil = nil, second_cta : String | Nil = nil, second_cta_tweet : String | Nil = nil, thank_you_dest_url : String | Nil = nil, thank_you_display_url : String | Nil = nil, thank_you_shortened_url : String | Nil = nil, thank_you_text : String | Nil = nil, thank_you_url : String | Nil = nil, third_cta : String | Nil = nil, third_cta_tweet : String | Nil = nil, title : String | Nil = nil, updated_at : String | Nil = nil, video_height : String | Nil = nil, video_owner_id : String | Nil = nil, video_width : String | Nil = nil, account_id : String | Nil = nil)
#