Class: OpenAI::Models::Admin::Organization::Groups::RoleCreateResponse::Group

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/groups/role_create_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

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(id:, created_at:, name:, scim_managed:, object: :group) ⇒ Object

Summary information about a group returned in role assignment responses.

Parameters:

  • id (String)

    Identifier for the group.

  • created_at (Integer)

    Unix timestamp (in seconds) when the group was created.

  • name (String)

    Display name of the group.

  • scim_managed (Boolean)

    Whether the group is managed through SCIM.

  • object (Symbol, :group) (defaults to: :group)

    Always ‘group`.



# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 69

Instance Attribute Details

#created_atInteger

Unix timestamp (in seconds) when the group was created.

Returns:

  • (Integer)


49
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 49

required :created_at, Integer

#idString

Identifier for the group.

Returns:

  • (String)


43
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 43

required :id, String

#nameString

Display name of the group.

Returns:

  • (String)


55
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 55

required :name, String

#objectSymbol, :group

Always ‘group`.

Returns:

  • (Symbol, :group)


61
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 61

required :object, const: :group

#scim_managedBoolean

Whether the group is managed through SCIM.

Returns:



67
# File 'lib/openai/models/admin/organization/groups/role_create_response.rb', line 67

required :scim_managed, OpenAI::Internal::Type::Boolean