struct Facebook::Proto::AdCreativeLinkDataCallToActionValue
- Facebook::Proto::AdCreativeLinkDataCallToActionValue
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativeLinkDataCallToActionValue.pb.crConstant Summary
-
FIELDS =
{1 => {name: :app_destination, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :app_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :application, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :event_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :lead_gen_form_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :link_caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :link_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :page, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :product_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :whatsapp_number, 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(app_destination : String | Nil = nil, app_link : String | Nil = nil, application : String | Nil = nil, event_id : String | Nil = nil, lead_gen_form_id : String | Nil = nil, link : String | Nil = nil, link_caption : String | Nil = nil, link_format : String | Nil = nil, page : String | Nil = nil, product_link : String | Nil = nil, whatsapp_number : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #app_destination : String | Nil
- #app_destination=(app_destination : String | Nil)
- #app_link : String | Nil
- #app_link=(app_link : String | Nil)
- #application : String | Nil
- #application=(application : String | Nil)
- #event_id : String | Nil
- #event_id=(event_id : String | Nil)
- #lead_gen_form_id : String | Nil
- #lead_gen_form_id=(lead_gen_form_id : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #link_caption : String | Nil
- #link_caption=(link_caption : String | Nil)
- #link_format : String | Nil
- #link_format=(link_format : String | Nil)
- #page : String | Nil
- #page=(page : String | Nil)
- #product_link : String | Nil
- #product_link=(product_link : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #whatsapp_number : String | Nil
- #whatsapp_number=(whatsapp_number : String | Nil)
Constructor Detail
def self.new(app_destination : String | Nil = nil, app_link : String | Nil = nil, application : String | Nil = nil, event_id : String | Nil = nil, lead_gen_form_id : String | Nil = nil, link : String | Nil = nil, link_caption : String | Nil = nil, link_format : String | Nil = nil, page : String | Nil = nil, product_link : String | Nil = nil, whatsapp_number : String | Nil = nil)
#