Class: Telnyx::Models::OAuthRetrieveResponse::Data::RequestedScope
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::OAuthRetrieveResponse::Data::RequestedScope
- Defined in:
- lib/telnyx/models/oauth_retrieve_response.rb
Instance Attribute Summary collapse
-
#description ⇒ String?
Scope description.
-
#id ⇒ String?
Scope ID.
-
#name ⇒ String?
Scope name.
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(id: nil, description: nil, name: nil) ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 82 class RequestedScope < Telnyx::Internal::Type::BaseModel # @!attribute id # Scope ID # # @return [String, nil] optional :id, String # @!attribute description # Scope description # # @return [String, nil] optional :description, String # @!attribute name # Scope name # # @return [String, nil] optional :name, String # @!method initialize(id: nil, description: nil, name: nil) # @param id [String] Scope ID # # @param description [String] Scope description # # @param name [String] Scope name end |
Instance Attribute Details
#description ⇒ String?
Scope description
93 |
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 93 optional :description, String |
#id ⇒ String?
Scope ID
87 |
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 87 optional :id, String |
#name ⇒ String?
Scope name
99 |
# File 'lib/telnyx/models/oauth_retrieve_response.rb', line 99 optional :name, String |