struct Facebook::Proto::InstagramUser
- Facebook::Proto::InstagramUser
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/InstagramUser.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: :follow_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :followed_by_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :has_profile_picture, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_private, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :is_published, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :media_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :profile_pic, 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}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, follow_count : Int64 | Nil = nil, followed_by_count : Int64 | Nil = nil, has_profile_picture : Bool | Nil = nil, is_private : Bool | Nil = nil, is_published : Bool | Nil = nil, media_count : Int64 | Nil = nil, profile_pic : String | Nil = nil, username : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #follow_count : Int64 | Nil
- #follow_count=(follow_count : Int64 | Nil)
- #followed_by_count : Int64 | Nil
- #followed_by_count=(followed_by_count : Int64 | Nil)
- #has_profile_picture : Bool | Nil
- #has_profile_picture=(has_profile_picture : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_private : Bool | Nil
- #is_private=(is_private : Bool | Nil)
- #is_published : Bool | Nil
- #is_published=(is_published : Bool | Nil)
- #media_count : Int64 | Nil
- #media_count=(media_count : Int64 | Nil)
- #profile_pic : String | Nil
- #profile_pic=(profile_pic : 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, follow_count : Int64 | Nil = nil, followed_by_count : Int64 | Nil = nil, has_profile_picture : Bool | Nil = nil, is_private : Bool | Nil = nil, is_published : Bool | Nil = nil, media_count : Int64 | Nil = nil, profile_pic : String | Nil = nil, username : String | Nil = nil)
#