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