struct Facebook::Proto::AdCreativePhotoData
- Facebook::Proto::AdCreativePhotoData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativePhotoData.pb.crConstant Summary
-
FIELDS =
{1 => {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}, 2 => {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}, 3 => {name: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :page_welcome_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :url, 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(branded_content_shared_to_sponsor_status : String | Nil = nil, branded_content_sponsor_page_id : String | Nil = nil, caption : String | Nil = nil, image_hash : String | Nil = nil, page_welcome_message : String | Nil = nil, url : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #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)
- #image_hash : String | Nil
- #image_hash=(image_hash : String | Nil)
- #page_welcome_message : String | Nil
- #page_welcome_message=(page_welcome_message : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #url : String | Nil
- #url=(url : String | Nil)