Class: OpenAI::Models::Admin::Organization::WorkloadIdentityProviders::FederationRule::Permissions::ServiceAccountDefault

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/admin/organization/workload_identity_providers/federation_rule.rb,
sig/openai/models/admin/organization/workload_identity_providers/federation_rule.rbs

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ ServiceAccountDefault

Returns a new instance of ServiceAccountDefault.

Parameters:

  • type: (:service_account_default)


97
# File 'sig/openai/models/admin/organization/workload_identity_providers/federation_rule.rbs', line 97

def initialize: (?type: :service_account_default) -> void

Instance Attribute Details

#type ⇒ Symbol, :service_account_default

Parameters:

  • value (:service_account_default)

Returns:

  • (Symbol, :service_account_default)


131
# File 'lib/openai/models/admin/organization/workload_identity_providers/federation_rule.rb', line 131

required :type, const: :service_account_default

Instance Method Details

#to_hash ⇒ { ?type: :service_account_default }

Returns:

  • ({ ?type: :service_account_default })


99
# File 'sig/openai/models/admin/organization/workload_identity_providers/federation_rule.rbs', line 99

def to_hash: -> { ?type: :service_account_default }