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

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/admin/organization/workload_identity_provider_create_params.rb,
sig/openai/models/admin/organization/workload_identity_provider_create_params.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)


107
108
109
110
# File 'sig/openai/models/admin/organization/workload_identity_provider_create_params.rbs', line 107

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

Instance Attribute Details

#discovery_url ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


108
# File 'lib/openai/models/admin/organization/workload_identity_provider_create_params.rb', line 108

required :discovery_url, String, nil?: true

#type ⇒ Symbol, :discovery

Parameters:

  • value (:discovery)

Returns:

  • (Symbol, :discovery)


113
# File 'lib/openai/models/admin/organization/workload_identity_provider_create_params.rb', line 113

required :type, const: :discovery

Instance Method Details

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

Returns:

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


112
# File 'sig/openai/models/admin/organization/workload_identity_provider_create_params.rbs', line 112

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