Class: Telnyx::Models::OAuthRetrieveJwksResponse::Key

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/oauth_retrieve_jwks_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(alg: nil, kid: nil, kty: nil, use: nil) ⇒ Object

Parameters:

  • alg (String) (defaults to: nil)

    Algorithm

  • kid (String) (defaults to: nil)

    Key ID

  • kty (String) (defaults to: nil)

    Key type

  • use (String) (defaults to: nil)

    Key use



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/telnyx/models/oauth_retrieve_jwks_response.rb', line 15

class Key < Telnyx::Internal::Type::BaseModel
  # @!attribute alg
  #   Algorithm
  #
  #   @return [String, nil]
  optional :alg, String

  # @!attribute kid
  #   Key ID
  #
  #   @return [String, nil]
  optional :kid, String

  # @!attribute kty
  #   Key type
  #
  #   @return [String, nil]
  optional :kty, String

  # @!attribute use
  #   Key use
  #
  #   @return [String, nil]
  optional :use, String

  # @!method initialize(alg: nil, kid: nil, kty: nil, use: nil)
  #   @param alg [String] Algorithm
  #
  #   @param kid [String] Key ID
  #
  #   @param kty [String] Key type
  #
  #   @param use [String] Key use
end

Instance Attribute Details

#algString?

Algorithm

Returns:

  • (String, nil)


20
# File 'lib/telnyx/models/oauth_retrieve_jwks_response.rb', line 20

optional :alg, String

#kidString?

Key ID

Returns:

  • (String, nil)


26
# File 'lib/telnyx/models/oauth_retrieve_jwks_response.rb', line 26

optional :kid, String

#ktyString?

Key type

Returns:

  • (String, nil)


32
# File 'lib/telnyx/models/oauth_retrieve_jwks_response.rb', line 32

optional :kty, String

#useString?

Key use

Returns:

  • (String, nil)


38
# File 'lib/telnyx/models/oauth_retrieve_jwks_response.rb', line 38

optional :use, String