struct Facebook::Proto::BusinessUser

Included Modules

Defined in:

cli/proto/facebook/BusinessUser.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: :email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, 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: :first_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :ip_permission, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :last_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :marked_for_removal, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :pending_email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :role, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :two_fac_status, 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, email : String | Nil = nil, finance_permission : String | Nil = nil, first_name : String | Nil = nil, ip_permission : String | Nil = nil, last_name : String | Nil = nil, marked_for_removal : Bool | Nil = nil, name : String | Nil = nil, pending_email : String | Nil = nil, role : String | Nil = nil, title : String | Nil = nil, two_fac_status : 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 email : String | Nil #

def email=(email : String | Nil) #

def finance_permission : String | Nil #

def finance_permission=(finance_permission : String | Nil) #

def first_name : String | Nil #

def first_name=(first_name : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def ip_permission : String | Nil #

def ip_permission=(ip_permission : String | Nil) #

def last_name : String | Nil #

def last_name=(last_name : String | Nil) #

def marked_for_removal : Bool | Nil #

def marked_for_removal=(marked_for_removal : Bool | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def pending_email : String | Nil #

def pending_email=(pending_email : String | Nil) #

def role : String | Nil #

def role=(role : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #

def two_fac_status : String | Nil #

def two_fac_status=(two_fac_status : String | Nil) #