struct Facebook::Proto::Profile
- Facebook::Proto::Profile
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Profile.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: :can_post, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :pic, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :pic_large, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :pic_small, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :pic_square, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :profile_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :username, 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, can_post : Bool | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, pic : String | Nil = nil, pic_large : String | Nil = nil, pic_small : String | Nil = nil, pic_square : String | Nil = nil, profile_type : String | Nil = nil, username : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #can_post : Bool | Nil
- #can_post=(can_post : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #pic : String | Nil
- #pic=(pic : String | Nil)
- #pic_large : String | Nil
- #pic_large=(pic_large : String | Nil)
- #pic_small : String | Nil
- #pic_small=(pic_small : String | Nil)
- #pic_square : String | Nil
- #pic_square=(pic_square : String | Nil)
- #profile_type : String | Nil
- #profile_type=(profile_type : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #username : String | Nil
- #username=(username : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, can_post : Bool | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, pic : String | Nil = nil, pic_large : String | Nil = nil, pic_small : String | Nil = nil, pic_square : String | Nil = nil, profile_type : String | Nil = nil, username : String | Nil = nil)
#