struct

TwitterAds::Proto::CardsVideoAppDownload

Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :card_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :card_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :deleted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :updated_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :video_owner_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :poster_media_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :media_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :country_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :app_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :ipad_app_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :ipad_deep_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :iphone_app_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :iphone_deep_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :googleplay_app_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :googleplay_deep_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :name, 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: :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(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
[]=(key : String, val)
[]?(key : String)
account_id
account_id=(account_id : String | Nil)
app_cta
app_cta=(app_cta : String | Nil)
card_type
card_type=(card_type : String | Nil)
card_uri
card_uri=(card_uri : String | Nil)
country_code
country_code=(country_code : String | Nil)
created_at
created_at=(created_at : String | Nil)
deleted
deleted=(deleted : Bool | Nil)
googleplay_app_id
googleplay_app_id=(googleplay_app_id : String | Nil)
id
id=(id : String | Nil)
ipad_app_id
ipad_app_id=(ipad_app_id : String | Nil)
iphone_app_id
iphone_app_id=(iphone_app_id : String | Nil)
media_key
media_key=(media_key : String | Nil)
media_url
media_url=(media_url : String | Nil)
name
name=(name : String | Nil)
poster_media_url
poster_media_url=(poster_media_url : String | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf
updated_at
updated_at=(updated_at : String | Nil)
video_owner_id
video_owner_id=(video_owner_id : String | Nil)