struct Facebook::Proto::BusinessRoleRequest
- Facebook::Proto::BusinessRoleRequest
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/BusinessRoleRequest.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: :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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #email : String | Nil
- #email=(email : String | Nil)
- #expiration_time : Datetime | Nil
- #expiration_time=(expiration_time : Datetime | Nil)
- #expiry_time : Datetime | Nil
- #expiry_time=(expiry_time : Datetime | Nil)
- #finance_role : String | Nil
- #finance_role=(finance_role : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #invite_link : String | Nil
- #invite_link=(invite_link : String | Nil)
- #ip_role : String | Nil
- #ip_role=(ip_role : String | Nil)
- #role : String | Nil
- #role=(role : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #updated_time : Datetime | Nil
- #updated_time=(updated_time : Datetime | Nil)
Constructor Detail
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)
#