Class: Telnyx::Models::RegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/regulatory_requirement_retrieve_response.rb,
sig/telnyx/models/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, name: nil) ⇒ Object
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
# File 'lib/telnyx/models/regulatory_requirement_retrieve_response.rb', line 46
class RegulatoryRequirement < Telnyx::Internal::Type::BaseModel
optional :acceptance_criteria,
-> { Telnyx::Models::RegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement::AcceptanceCriteria }
optional :field_type, String
optional :name, String
response_only do
optional :id, String
optional :description, String
optional :example, String
end
class AcceptanceCriteria < Telnyx::Internal::Type::BaseModel
optional :acceptable_characters, String
optional :acceptable_values, Telnyx::Internal::Type::ArrayOf[String]
optional :case_sensitive, String
optional :locality_limit, String
optional :max_length, String
optional :min_length, String
optional :regex, String
optional :time_limit, String
end
end
|
Instance Attribute Details
50
51
|
# File 'lib/telnyx/models/regulatory_requirement_retrieve_response.rb', line 50
optional :acceptance_criteria,
-> { Telnyx::Models::RegulatoryRequirementRetrieveResponse::Data::RegulatoryRequirement::AcceptanceCriteria }
|
#description ⇒ String?
Returns the value of attribute description.
93
94
95
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 93
def description
@description
end
|
#example ⇒ String?
Returns the value of attribute example.
97
98
99
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 97
def example
@example
end
|
#field_type ⇒ String?
56
|
# File 'lib/telnyx/models/regulatory_requirement_retrieve_response.rb', line 56
optional :field_type, String
|
#id ⇒ String?
Returns the value of attribute id.
89
90
91
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 89
def id
@id
end
|
#name ⇒ String?
61
|
# File 'lib/telnyx/models/regulatory_requirement_retrieve_response.rb', line 61
optional :name, String
|
Instance Method Details
#description= ⇒ String
95
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 95
def description=: (String) -> String
|
#example= ⇒ String
99
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 99
def example=: (String) -> String
|
#id= ⇒ String
91
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 91
def id=: (String) -> String
|
#to_hash ⇒ {
110
|
# File 'sig/telnyx/models/regulatory_requirement_retrieve_response.rbs', line 110
def to_hash: -> {
|