struct Facebook::Proto::SystemUser

Included Modules

Defined in:

cli/proto/facebook/SystemUser.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: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :finance_permission, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :ip_permission, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :role, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :system_user_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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, created_time : Datetime | Nil = nil, finance_permission : String | Nil = nil, ip_permission : String | Nil = nil, name : String | Nil = nil, role : String | Nil = nil, system_user_id : Int64 | 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 created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def finance_permission : String | Nil #

def finance_permission=(finance_permission : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def ip_permission : String | Nil #

def ip_permission=(ip_permission : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def role : String | Nil #

def role=(role : String | Nil) #

def system_user_id : Int64 | Nil #

def system_user_id=(system_user_id : Int64 | Nil) #

def to_hash #

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

def to_protobuf #