Class: OpenAI::Models::Admin::Organization::OrganizationUser::Projects::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::OrganizationUser::Projects::Data
- Defined in:
- lib/openai/models/admin/organization/organization_user.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(data:, object: :list) ⇒ Object
constructor
Projects associated with the user, if included.
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(data:, object: :list) ⇒ Object
Projects associated with the user, if included.
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 |
# File 'lib/openai/models/admin/organization/organization_user.rb', line 159 class Data < OpenAI::Internal::Type::BaseModel # @!attribute id # # @return [String, nil] optional :id, String, nil?: true # @!attribute name # # @return [String, nil] optional :name, String, nil?: true # @!attribute role # # @return [String, nil] optional :role, String, nil?: true # @!method initialize(id: nil, name: nil, role: nil) # @param id [String, nil] # @param name [String, nil] # @param role [String, nil] end |
Instance Attribute Details
#id ⇒ String?
163 |
# File 'lib/openai/models/admin/organization/organization_user.rb', line 163 optional :id, String, nil?: true |
#name ⇒ String?
168 |
# File 'lib/openai/models/admin/organization/organization_user.rb', line 168 optional :name, String, nil?: true |
#role ⇒ String?
173 |
# File 'lib/openai/models/admin/organization/organization_user.rb', line 173 optional :role, String, nil?: true |