Class: OpenAI::Models::Admin::Organization::WorkloadIdentityProvider::Verification::Discovery

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/workload_identity_provider.rb,
sig/openai/models/admin/organization/workload_identity_provider.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 ⇒ Discovery

Returns a new instance of Discovery.

Parameters:

  • discovery_url: (String, nil)
  • type: (:discovery)


103
104
105
106
# File 'sig/openai/models/admin/organization/workload_identity_provider.rbs', line 103

def initialize: (
  discovery_url: String?,
  ?type: :discovery
) -> void

Instance Attribute Details

#discovery_url ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


123
# File 'lib/openai/models/admin/organization/workload_identity_provider.rb', line 123

required :discovery_url, String, nil?: true

#type ⇒ Symbol, :discovery

Parameters:

  • value (:discovery)

Returns:

  • (Symbol, :discovery)


128
# File 'lib/openai/models/admin/organization/workload_identity_provider.rb', line 128

required :type, const: :discovery

Instance Method Details

#to_hash ⇒ { discovery_url: String?, ?type: :discovery }

Returns:

  • ({ discovery_url: String?, ?type: :discovery })


108
# File 'sig/openai/models/admin/organization/workload_identity_provider.rbs', line 108

def to_hash: -> { discovery_url: String?, ?type: :discovery }