struct
TwitterAds::Proto::MediaCreative
- TwitterAds::Proto::MediaCreative
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/media_creative.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: :line_item_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :account_media_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :approval_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :serving_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :landing_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :updated_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :deleted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {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, line_item_id : String | Nil = nil, account_media_id : String | Nil = nil, approval_status : String | Nil = nil, serving_status : String | Nil = nil, landing_url : 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)
- #account_media_id : String | Nil
- #account_media_id=(account_media_id : String | Nil)
- #approval_status : String | Nil
- #approval_status=(approval_status : String | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #deleted : Bool | Nil
- #deleted=(deleted : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #landing_url : String | Nil
- #landing_url=(landing_url : String | Nil)
- #line_item_id : String | Nil
- #line_item_id=(line_item_id : String | Nil)
- #serving_status : String | Nil
- #serving_status=(serving_status : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #updated_at : String | Nil
- #updated_at=(updated_at : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, line_item_id : String | Nil = nil, account_media_id : String | Nil = nil, approval_status : String | Nil = nil, serving_status : String | Nil = nil, landing_url : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, deleted : Bool | Nil = nil, account_id : String | Nil = nil)
#