struct Facebook::Proto::AdCreativeLinkDataCallToActionValue

Included Modules

Defined in:

cli/proto/facebook/AdCreativeLinkDataCallToActionValue.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def app_destination : String | Nil #

def app_destination=(app_destination : String | Nil) #

def app_link : String | Nil #

def app_link=(app_link : String | Nil) #

def application : String | Nil #

def application=(application : String | Nil) #

def event_id : String | Nil #

def event_id=(event_id : String | Nil) #

def lead_gen_form_id : String | Nil #

def lead_gen_form_id=(lead_gen_form_id : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def link_caption : String | Nil #

def link_caption=(link_caption : String | Nil) #

def link_format : String | Nil #

def link_format=(link_format : String | Nil) #

def page : String | Nil #

def page=(page : String | Nil) #

def product_link : String | Nil #

def product_link=(product_link : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def whatsapp_number : String | Nil #

def whatsapp_number=(whatsapp_number : String | Nil) #