struct Facebook::Proto::User

Included Modules

Defined in:

cli/proto/facebook/User.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: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :about, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :auth_method, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :birthday, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :can_review_measurement_request, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :first_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :gender, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :install_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :installed, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :interested_in, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 13 => {name: :is_famedeeplinkinguser, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :is_shared_login, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :is_verified, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :last_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :local_news_megaphone_dismiss_status, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :local_news_subscription_status, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :locale, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :meeting_for, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 22 => {name: :middle_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :name_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :political, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :profile_pic, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :public_key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :quotes, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :relationship_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :religion, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :shared_login_upgrade_required_by, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :short_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :test_group, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :third_party_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :timezone, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :token_for_business, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :verified, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :viewer_can_send_gift, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :website, 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, account_id : String | Nil = nil, about : String | Nil = nil, auth_method : String | Nil = nil, birthday : String | Nil = nil, can_review_measurement_request : Bool | Nil = nil, email : String | Nil = nil, first_name : String | Nil = nil, gender : String | Nil = nil, install_type : String | Nil = nil, installed : Bool | Nil = nil, interested_in : Array(String) | Nil = nil, is_famedeeplinkinguser : Bool | Nil = nil, is_shared_login : Bool | Nil = nil, is_verified : Bool | Nil = nil, last_name : String | Nil = nil, link : String | Nil = nil, local_news_megaphone_dismiss_status : Bool | Nil = nil, local_news_subscription_status : Bool | Nil = nil, locale : String | Nil = nil, meeting_for : Array(String) | Nil = nil, middle_name : String | Nil = nil, name : String | Nil = nil, name_format : String | Nil = nil, political : String | Nil = nil, profile_pic : String | Nil = nil, public_key : String | Nil = nil, quotes : String | Nil = nil, relationship_status : String | Nil = nil, religion : String | Nil = nil, shared_login_upgrade_required_by : Datetime | Nil = nil, short_name : String | Nil = nil, test_group : Int64 | Nil = nil, third_party_id : String | Nil = nil, timezone : Float64 | Nil = nil, token_for_business : String | Nil = nil, updated_time : Datetime | Nil = nil, verified : Bool | Nil = nil, viewer_can_send_gift : Bool | Nil = nil, website : 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 about : String | Nil #

def about=(about : String | Nil) #

def account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def auth_method : String | Nil #

def auth_method=(auth_method : String | Nil) #

def birthday : String | Nil #

def birthday=(birthday : String | Nil) #

def can_review_measurement_request : Bool | Nil #

def can_review_measurement_request=(can_review_measurement_request : Bool | Nil) #

def email : String | Nil #

def email=(email : String | Nil) #

def first_name : String | Nil #

def first_name=(first_name : String | Nil) #

def gender : String | Nil #

def gender=(gender : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def install_type : String | Nil #

def install_type=(install_type : String | Nil) #

def installed : Bool | Nil #

def installed=(installed : Bool | Nil) #

def interested_in : Array(String) | Nil #

def interested_in=(interested_in : Array(String) | Nil) #

def interested_in=(interested_in : Array(String) | Nil) #

def is_famedeeplinkinguser : Bool | Nil #

def is_famedeeplinkinguser=(is_famedeeplinkinguser : Bool | Nil) #

def is_shared_login : Bool | Nil #

def is_shared_login=(is_shared_login : Bool | Nil) #

def is_verified : Bool | Nil #

def is_verified=(is_verified : Bool | Nil) #

def last_name : String | Nil #

def last_name=(last_name : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def local_news_megaphone_dismiss_status : Bool | Nil #

def local_news_megaphone_dismiss_status=(local_news_megaphone_dismiss_status : Bool | Nil) #

def local_news_subscription_status : Bool | Nil #

def local_news_subscription_status=(local_news_subscription_status : Bool | Nil) #

def locale : String | Nil #

def locale=(locale : String | Nil) #

def meeting_for : Array(String) | Nil #

def meeting_for=(meeting_for : Array(String) | Nil) #

def meeting_for=(meeting_for : Array(String) | Nil) #

def middle_name : String | Nil #

def middle_name=(middle_name : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def name_format : String | Nil #

def name_format=(name_format : String | Nil) #

def political : String | Nil #

def political=(political : String | Nil) #

def profile_pic : String | Nil #

def profile_pic=(profile_pic : String | Nil) #

def public_key : String | Nil #

def public_key=(public_key : String | Nil) #

def quotes : String | Nil #

def quotes=(quotes : String | Nil) #

def relationship_status : String | Nil #

def relationship_status=(relationship_status : String | Nil) #

def religion : String | Nil #

def religion=(religion : String | Nil) #

def shared_login_upgrade_required_by : Datetime | Nil #

def shared_login_upgrade_required_by=(shared_login_upgrade_required_by : Datetime | Nil) #

def short_name : String | Nil #

def short_name=(short_name : String | Nil) #

def test_group : Int64 | Nil #

def test_group=(test_group : Int64 | Nil) #

def third_party_id : String | Nil #

def third_party_id=(third_party_id : String | Nil) #

def timezone : Float64 | Nil #

def timezone=(timezone : Float64 | Nil) #

def to_hash #

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

def to_protobuf #

def token_for_business : String | Nil #

def token_for_business=(token_for_business : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def verified : Bool | Nil #

def verified=(verified : Bool | Nil) #

def viewer_can_send_gift : Bool | Nil #

def viewer_can_send_gift=(viewer_can_send_gift : Bool | Nil) #

def website : String | Nil #

def website=(website : String | Nil) #