struct Facebook::Proto::BusinessRoleRequest

Included Modules

Defined in:

cli/proto/facebook/BusinessRoleRequest.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: :email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :expiration_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :expiry_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :finance_role, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :invite_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :ip_role, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :role, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, email : String | Nil = nil, expiration_time : Datetime | Nil = nil, expiry_time : Datetime | Nil = nil, finance_role : String | Nil = nil, invite_link : String | Nil = nil, ip_role : String | Nil = nil, role : String | Nil = nil, status : String | Nil = nil, updated_time : Datetime | 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 email : String | Nil #

def email=(email : String | Nil) #

def expiration_time : Datetime | Nil #

def expiration_time=(expiration_time : Datetime | Nil) #

def expiry_time : Datetime | Nil #

def expiry_time=(expiry_time : Datetime | Nil) #

def finance_role : String | Nil #

def finance_role=(finance_role : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def invite_link : String | Nil #

def invite_link=(invite_link : String | Nil) #

def ip_role : String | Nil #

def ip_role=(ip_role : String | Nil) #

def role : String | Nil #

def role=(role : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def to_hash #

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

def to_protobuf #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #