Class: Anthropic::Models::Organization::RBACGroups::RBACGroupMember
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::RBACGroups::RBACGroupMember
- Defined in:
- lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb,
sig/anthropic/models/organization/rbac_groups/rbac_group_member.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
RFC 3339 timestamp of when the User was added to the RBAC Group.
-
#email ⇒ String
Email of the User.
-
#rbac_group_id ⇒ String
ID of the RBAC Group.
-
#type ⇒ Symbol, :rbac_group_member
Object type.
-
#user_id ⇒ String
ID of the User.
Instance Method Summary collapse
-
#initialize ⇒ RBACGroupMember
constructor
A new instance of RBACGroupMember.
- #to_hash ⇒ { created_at: Time, email: String, rbac_group_id: String, type: :rbac_group_member, user_id: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ RBACGroupMember
Returns a new instance of RBACGroupMember.
27 28 29 30 31 32 33 |
# File 'sig/anthropic/models/organization/rbac_groups/rbac_group_member.rbs', line 27
def initialize: (
created_at: Time,
email: String,
rbac_group_id: String,
user_id: String,
?type: :rbac_group_member
) -> void
|
Instance Attribute Details
#created_at ⇒ Time
RFC 3339 timestamp of when the User was added to the RBAC Group.
13 |
# File 'lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb', line 13 required :created_at, Time |
#email ⇒ String
Email of the User.
19 |
# File 'lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb', line 19 required :email, String |
#rbac_group_id ⇒ String
ID of the RBAC Group.
25 |
# File 'lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb', line 25 required :rbac_group_id, String |
#type ⇒ Symbol, :rbac_group_member
Object type.
For RBAC Group Members, this is always "rbac_group_member".
33 |
# File 'lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb', line 33 required :type, const: :rbac_group_member |
#user_id ⇒ String
ID of the User.
39 |
# File 'lib/anthropic/models/organization/rbac_groups/rbac_group_member.rb', line 39 required :user_id, String |
Instance Method Details
#to_hash ⇒ { created_at: Time, email: String, rbac_group_id: String, type: :rbac_group_member, user_id: String }
35 36 37 38 39 40 41 |
# File 'sig/anthropic/models/organization/rbac_groups/rbac_group_member.rbs', line 35
def to_hash: -> {
created_at: Time,
email: String,
rbac_group_id: String,
type: :rbac_group_member,
user_id: String
}
|