Class: Telnyx::Models::OAuthClientUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/oauth_client_update_params.rb

Overview

Defined Under Namespace

Modules: AllowedGrantType

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Telnyx::Internal::Type::BaseModel

Instance Attribute Details

#allowed_grant_typesArray<Symbol, Telnyx::Models::OAuthClientUpdateParams::AllowedGrantType>?

List of allowed OAuth grant types



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

optional :allowed_grant_types,
-> { Telnyx::Internal::Type::ArrayOf[enum: Telnyx::OAuthClientUpdateParams::AllowedGrantType] }

#allowed_scopesArray<String>?

List of allowed OAuth scopes

Returns:

  • (Array<String>, nil)


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

optional :allowed_scopes, Telnyx::Internal::Type::ArrayOf[String]

#idString

Returns:

  • (String)


13
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 13

required :id, String

#logo_uriString?

URL of the client logo

Returns:

  • (String, nil)


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

optional :logo_uri, String

#nameString?

The name of the OAuth client

Returns:

  • (String, nil)


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

optional :name, String

#policy_uriString?

URL of the client’s privacy policy

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 44

optional :policy_uri, String

#redirect_urisArray<String>?

List of redirect URIs

Returns:

  • (Array<String>, nil)


50
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 50

optional :redirect_uris, Telnyx::Internal::Type::ArrayOf[String]

#require_pkceBoolean?

Whether PKCE (Proof Key for Code Exchange) is required for this client

Returns:

  • (Boolean, nil)


56
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 56

optional :require_pkce, Telnyx::Internal::Type::Boolean

#tos_uriString?

URL of the client’s terms of service

Returns:

  • (String, nil)


62
# File 'lib/telnyx/models/oauth_client_update_params.rb', line 62

optional :tos_uri, String