Class: Telnyx::Models::PhoneNumbersRegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PhoneNumbersRegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement
show all
- Defined in:
- lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb,
sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs
Defined Under Namespace
Classes: AcceptanceCriteria
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, acceptance_criteria: nil, description: nil, example: nil, field_type: nil, label: nil, record_type: nil) ⇒ Object
|
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 114
|
Instance Attribute Details
79
80
|
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 79
optional :acceptance_criteria,
-> { Telnyx::Models::PhoneNumbersRegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement::AcceptanceCriteria }
|
#description ⇒ String?
Returns the value of attribute description.
126
127
128
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 126
def description
@description
end
|
#example ⇒ String?
Returns the value of attribute example.
130
131
132
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 130
def example
@example
end
|
#field_type ⇒ String?
85
|
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 85
optional :field_type, String
|
#id ⇒ String?
Returns the value of attribute id.
122
123
124
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 122
def id
@id
end
|
#label ⇒ String?
90
|
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 90
optional :label, String
|
#record_type ⇒ String?
Returns the value of attribute record_type.
134
135
136
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 134
def record_type
@record_type
end
|
Instance Method Details
#description= ⇒ String
128
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 128
def description=: (String) -> String
|
#example= ⇒ String
132
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 132
def example=: (String) -> String
|
#id= ⇒ String
124
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 124
def id=: (String) -> String
|
#record_type= ⇒ String
136
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 136
def record_type=: (String) -> String
|
#to_hash ⇒ {
148
|
# File 'sig/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rbs', line 148
def to_hash: -> {
|