struct Facebook::Proto::IgUser

Included Modules

Defined in:

cli/proto/facebook/IgUser.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: :biography, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :followers_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :follows_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :ig_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :media_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :profile_picture_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :username, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {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, biography : String | Nil = nil, followers_count : Int64 | Nil = nil, follows_count : Int64 | Nil = nil, ig_id : Int64 | Nil = nil, media_count : Int64 | Nil = nil, name : String | Nil = nil, profile_picture_url : String | Nil = nil, username : String | 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 biography : String | Nil #

def biography=(biography : String | Nil) #

def followers_count : Int64 | Nil #

def followers_count=(followers_count : Int64 | Nil) #

def follows_count : Int64 | Nil #

def follows_count=(follows_count : Int64 | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def ig_id : Int64 | Nil #

def ig_id=(ig_id : Int64 | Nil) #

def media_count : Int64 | Nil #

def media_count=(media_count : Int64 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def profile_picture_url : String | Nil #

def profile_picture_url=(profile_picture_url : String | Nil) #

def to_hash #

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

def to_protobuf #

def username : String | Nil #

def username=(username : String | Nil) #

def website : String | Nil #

def website=(website : String | Nil) #