Class: OpenAI::Models::Admin::Organization::Groups::RoleCreateResponse::Group
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Groups::RoleCreateResponse::Group
- Defined in:
- lib/openai/models/admin/organization/groups/role_create_response.rb,
sig/openai/models/admin/organization/groups/role_create_response.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Unix timestamp (in seconds) when the group was created.
-
#id ⇒ String
Identifier for the group.
-
#name ⇒ String
Display name of the group.
-
#object ⇒ :group
Always
group. -
#scim_managed ⇒ Boolean
Whether the group is managed through SCIM.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize(id:, created_at:, name:, scim_managed:, object: :group) ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(id:, created_at:, name:, scim_managed:, object: :group) ⇒ Object
|
|
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 72
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (in seconds) when the group was created.
52 |
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 52 required :created_at, Integer |
#id ⇒ String
Identifier for the group.
46 |
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 46 required :id, String |
#name ⇒ String
Display name of the group.
58 |
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 58 required :name, String |
#object ⇒ :group
Always group.
64 |
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 64 required :object, const: :group |
Instance Method Details
#to_hash ⇒ {
84 |
# File 'sig/openai/models/admin/organization/groups/role_create_response.rbs', line 84
def to_hash: -> {
|