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

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(jwks:, type: :uploaded_jwks) ⇒ UploadedJwks

Returns a new instance of UploadedJwks.

Parameters:

  • jwks (Hash{Symbol=>Object})
  • type (Symbol, :uploaded_jwks) (defaults to: :uploaded_jwks)
  • jwks: (::Hash[Symbol, top])
  • type: (:uploaded_jwks) (defaults to: :uploaded_jwks)


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

Instance Attribute Details

#jwks ⇒ Hash{Symbol=>Object}

Parameters:

  • value (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object})


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

required :jwks, OpenAI::Internal::Type::HashOf[OpenAI::Internal::Type::Unknown]

#type ⇒ Symbol, :uploaded_jwks

Parameters:

  • value (:uploaded_jwks)

Returns:

  • (Symbol, :uploaded_jwks)


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

required :type, const: :uploaded_jwks

Instance Method Details

#to_hash ⇒ { jwks: ::Hash[Symbol, top], ?type: :uploaded_jwks }

Returns:

  • ({ jwks: ::Hash[Symbol, top], ?type: :uploaded_jwks })


128
129
130
131
# File 'sig/openai/models/admin/organization/workload_identity_provider_create_params.rbs', line 128

def to_hash: -> {
  jwks: ::Hash[Symbol, top],
  ?type: :uploaded_jwks
}