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

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/projects/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/projects/groups/role_create_response.rb', line 70

Instance Attribute Details

#created_atInteger

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

Returns:

  • (Integer)


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

required :created_at, Integer

#idString

Identifier for the group.

Returns:

  • (String)


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

required :id, String

#nameString

Display name of the group.

Returns:

  • (String)


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

required :name, String

#objectSymbol, :group

Always ‘group`.

Returns:

  • (Symbol, :group)


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

required :object, const: :group

#scim_managedBoolean

Whether the group is managed through SCIM.

Returns:



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

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