Class: Telnyx::Models::OAuthRetrieveResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/oauth_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: RequestedScope

Instance Attribute Summary collapse

Method Summary

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

#client_idString?

Client ID

Returns:

  • (String, nil)


21
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 21

optional :client_id, String

#logo_uriString?

URL of the client logo

Returns:

  • (String, nil)


27
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 27

optional :logo_uri, String, nil?: true

#nameString?

Client name

Returns:

  • (String, nil)


33
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 33

optional :name, String

#policy_uriString?

URL of the client’s privacy policy

Returns:

  • (String, nil)


39
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 39

optional :policy_uri, String, nil?: true

#redirect_uriString?

The redirect URI for this authorization

Returns:

  • (String, nil)


45
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 45

optional :redirect_uri, String

#requested_scopesArray<Telnyx::Models::OAuthRetrieveResponse::Data::RequestedScope>?



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

optional :requested_scopes,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::OAuthRetrieveResponse::Data::RequestedScope] }

#tos_uriString?

URL of the client’s terms of service

Returns:

  • (String, nil)


57
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 57

optional :tos_uri, String, nil?: true

#verifiedBoolean?

Whether the client is verified

Returns:

  • (Boolean, nil)


63
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 63

optional :verified, Telnyx::Internal::Type::Boolean