struct Facebook::Proto::Profile

Included Modules

Defined in:

cli/proto/facebook/Profile.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: :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

Class Method Summary

Instance Method Summary

Constructor Detail

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

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) #

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 can_post : Bool | Nil #

def can_post=(can_post : Bool | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def pic : String | Nil #

def pic=(pic : String | Nil) #

def pic_large : String | Nil #

def pic_large=(pic_large : String | Nil) #

def pic_small : String | Nil #

def pic_small=(pic_small : String | Nil) #

def pic_square : String | Nil #

def pic_square=(pic_square : String | Nil) #

def profile_type : String | Nil #

def profile_type=(profile_type : String | Nil) #

def to_hash #

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

def to_protobuf #

def username : String | Nil #

def username=(username : String | Nil) #