struct Facebook::Proto::PageCallToAction

Included Modules

Defined in:

cli/proto/facebook/PageCallToAction.pb.cr

Constant 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: :android_deeplink, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :android_destination_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :android_package_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :android_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :email_address, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :intl_number_with_plus, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :iphone_deeplink, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :iphone_destination_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :iphone_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :web_destination_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :web_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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, android_deeplink : String | Nil = nil, android_destination_type : String | Nil = nil, android_package_name : String | Nil = nil, android_url : String | Nil = nil, created_time : Datetime | Nil = nil, email_address : String | Nil = nil, intl_number_with_plus : String | Nil = nil, iphone_deeplink : String | Nil = nil, iphone_destination_type : String | Nil = nil, iphone_url : String | Nil = nil, status : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | Nil = nil, web_destination_type : String | Nil = nil, web_url : 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 android_deeplink : String | Nil #

def android_deeplink=(android_deeplink : String | Nil) #

def android_destination_type : String | Nil #

def android_destination_type=(android_destination_type : String | Nil) #

def android_package_name : String | Nil #

def android_package_name=(android_package_name : String | Nil) #

def android_url : String | Nil #

def android_url=(android_url : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def email_address : String | Nil #

def email_address=(email_address : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def intl_number_with_plus : String | Nil #

def intl_number_with_plus=(intl_number_with_plus : String | Nil) #

def iphone_deeplink : String | Nil #

def iphone_deeplink=(iphone_deeplink : String | Nil) #

def iphone_destination_type : String | Nil #

def iphone_destination_type=(iphone_destination_type : String | Nil) #

def iphone_url : String | Nil #

def iphone_url=(iphone_url : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def to_hash #

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

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def web_destination_type : String | Nil #

def web_destination_type=(web_destination_type : String | Nil) #

def web_url : String | Nil #

def web_url=(web_url : String | Nil) #