struct Facebook::Proto::Business

Included Modules

Defined in:

cli/proto/facebook/Business.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: :block_offline_analytics, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :extended_updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_hidden, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :is_instagram_enabled_in_fb_analytics, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :payment_account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :profile_picture_uri, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :timezone_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :two_factor_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :verification_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :vertical_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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, block_offline_analytics : Bool | Nil = nil, created_time : Datetime | Nil = nil, extended_updated_time : Datetime | Nil = nil, is_hidden : Bool | Nil = nil, is_instagram_enabled_in_fb_analytics : Bool | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, payment_account_id : String | Nil = nil, profile_picture_uri : String | Nil = nil, timezone_id : Int64 | Nil = nil, two_factor_type : String | Nil = nil, updated_time : Datetime | Nil = nil, verification_status : String | Nil = nil, vertical_id : Int64 | 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 block_offline_analytics : Bool | Nil #

def block_offline_analytics=(block_offline_analytics : Bool | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def extended_updated_time : Datetime | Nil #

def extended_updated_time=(extended_updated_time : Datetime | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_hidden : Bool | Nil #

def is_hidden=(is_hidden : Bool | Nil) #

def is_instagram_enabled_in_fb_analytics : Bool | Nil #

def is_instagram_enabled_in_fb_analytics=(is_instagram_enabled_in_fb_analytics : Bool | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def payment_account_id : String | Nil #

def payment_account_id=(payment_account_id : String | Nil) #

def profile_picture_uri : String | Nil #

def profile_picture_uri=(profile_picture_uri : String | Nil) #

def timezone_id : Int64 | Nil #

def timezone_id=(timezone_id : Int64 | Nil) #

def to_hash #

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

def to_protobuf #

def two_factor_type : String | Nil #

def two_factor_type=(two_factor_type : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def verification_status : String | Nil #

def verification_status=(verification_status : String | Nil) #

def vertical_id : Int64 | Nil #

def vertical_id=(vertical_id : Int64 | Nil) #