Class: OpenAI::Models::Admin::Organization::Projects::Groups::RoleListResponse::AssignmentSource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Projects::Groups::RoleListResponse::AssignmentSource
- Defined in:
- lib/openai/models/admin/organization/projects/groups/role_list_response.rb
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(principal_id:, principal_type:) ⇒ Object
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/openai/models/admin/organization/projects/groups/role_list_response.rb', line 115 class AssignmentSource < OpenAI::Internal::Type::BaseModel # @!attribute principal_id # # @return [String] required :principal_id, String # @!attribute principal_type # # @return [String] required :principal_type, String # @!method initialize(principal_id:, principal_type:) # @param principal_id [String] # @param principal_type [String] end |
Instance Attribute Details
#principal_id ⇒ String
119 |
# File 'lib/openai/models/admin/organization/projects/groups/role_list_response.rb', line 119 required :principal_id, String |
#principal_type ⇒ String
124 |
# File 'lib/openai/models/admin/organization/projects/groups/role_list_response.rb', line 124 required :principal_type, String |