struct
TwitterAds::Proto::CardsAll
- TwitterAds::Proto::CardsAll
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/cards_all.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, 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: :card_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :app_cta, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :country_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :googleplay_app_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :image_display_width, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :image_display_height, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :wide_app_image, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :updated_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: :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(id : String | Nil = nil, card_type : String | Nil = nil, card_uri : String | Nil = nil, name : String | Nil = nil, app_cta : String | Nil = nil, country_code : String | Nil = nil, googleplay_app_id : String | Nil = nil, image_display_width : String | Nil = nil, image_display_height : String | Nil = nil, wide_app_image : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, deleted : Bool | 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)
- #app_cta : String | Nil
- #app_cta=(app_cta : String | Nil)
- #card_type : String | Nil
- #card_type=(card_type : String | Nil)
- #card_uri : String | Nil
- #card_uri=(card_uri : String | Nil)
- #country_code : String | Nil
- #country_code=(country_code : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #deleted : Bool | Nil
- #deleted=(deleted : Bool | Nil)
- #googleplay_app_id : String | Nil
- #googleplay_app_id=(googleplay_app_id : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #image_display_height : String | Nil
- #image_display_height=(image_display_height : String | Nil)
- #image_display_width : String | Nil
- #image_display_width=(image_display_width : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #updated_at : String | Nil
- #updated_at=(updated_at : String | Nil)
- #wide_app_image : String | Nil
- #wide_app_image=(wide_app_image : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, card_type : String | Nil = nil, card_uri : String | Nil = nil, name : String | Nil = nil, app_cta : String | Nil = nil, country_code : String | Nil = nil, googleplay_app_id : String | Nil = nil, image_display_width : String | Nil = nil, image_display_height : String | Nil = nil, wide_app_image : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, deleted : Bool | Nil = nil, account_id : String | Nil = nil)
#