struct Facebook::Proto::User
- Facebook::Proto::User
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/User.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #about : String | Nil
- #about=(about : String | Nil)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #auth_method : String | Nil
- #auth_method=(auth_method : String | Nil)
- #birthday : String | Nil
- #birthday=(birthday : String | Nil)
- #can_review_measurement_request : Bool | Nil
- #can_review_measurement_request=(can_review_measurement_request : Bool | Nil)
- #email : String | Nil
- #email=(email : String | Nil)
- #first_name : String | Nil
- #first_name=(first_name : String | Nil)
- #gender : String | Nil
- #gender=(gender : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #install_type : String | Nil
- #install_type=(install_type : String | Nil)
- #installed : Bool | Nil
- #installed=(installed : Bool | Nil)
- #interested_in : Array(String) | Nil
- #interested_in=(interested_in : Array(String) | Nil)
- #interested_in=(interested_in : Array(String) | Nil)
- #is_famedeeplinkinguser : Bool | Nil
- #is_famedeeplinkinguser=(is_famedeeplinkinguser : Bool | Nil)
- #is_shared_login : Bool | Nil
- #is_shared_login=(is_shared_login : Bool | Nil)
- #is_verified : Bool | Nil
- #is_verified=(is_verified : Bool | Nil)
- #last_name : String | Nil
- #last_name=(last_name : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #local_news_megaphone_dismiss_status : Bool | Nil
- #local_news_megaphone_dismiss_status=(local_news_megaphone_dismiss_status : Bool | Nil)
- #local_news_subscription_status : Bool | Nil
- #local_news_subscription_status=(local_news_subscription_status : Bool | Nil)
- #locale : String | Nil
- #locale=(locale : String | Nil)
- #meeting_for : Array(String) | Nil
- #meeting_for=(meeting_for : Array(String) | Nil)
- #meeting_for=(meeting_for : Array(String) | Nil)
- #middle_name : String | Nil
- #middle_name=(middle_name : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #name_format : String | Nil
- #name_format=(name_format : String | Nil)
- #political : String | Nil
- #political=(political : String | Nil)
- #profile_pic : String | Nil
- #profile_pic=(profile_pic : String | Nil)
- #public_key : String | Nil
- #public_key=(public_key : String | Nil)
- #quotes : String | Nil
- #quotes=(quotes : String | Nil)
- #relationship_status : String | Nil
- #relationship_status=(relationship_status : String | Nil)
- #religion : String | Nil
- #religion=(religion : String | Nil)
- #shared_login_upgrade_required_by : Datetime | Nil
- #shared_login_upgrade_required_by=(shared_login_upgrade_required_by : Datetime | Nil)
- #short_name : String | Nil
- #short_name=(short_name : String | Nil)
- #test_group : Int64 | Nil
- #test_group=(test_group : Int64 | Nil)
- #third_party_id : String | Nil
- #third_party_id=(third_party_id : String | Nil)
- #timezone : Float64 | Nil
- #timezone=(timezone : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #token_for_business : String | Nil
- #token_for_business=(token_for_business : String | Nil)
- #updated_time : Datetime | Nil
- #updated_time=(updated_time : Datetime | Nil)
- #verified : Bool | Nil
- #verified=(verified : Bool | Nil)
- #viewer_can_send_gift : Bool | Nil
- #viewer_can_send_gift=(viewer_can_send_gift : Bool | Nil)
- #website : String | Nil
- #website=(website : String | Nil)