Class: Telnyx::Models::TermsOfServiceRetrieveInfoResponse::Agreement
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(current_version: nil, description: nil, effective_date: nil, product_type: nil, terms_url: nil) ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 16
class Agreement < Telnyx::Internal::Type::BaseModel
optional :current_version, String
optional :description, String
optional :effective_date, Date
optional :product_type, enum: -> { Telnyx::TermsOfService::TosProductType }
optional :terms_url, String
end
|
Instance Attribute Details
#current_version ⇒ String?
20
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 20
optional :current_version, String
|
#description ⇒ String?
25
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 25
optional :description, String
|
#effective_date ⇒ Date?
30
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 30
optional :effective_date, Date
|
#product_type ⇒ Symbol, ...
Telnyx product the Terms of Service apply to.
36
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 36
optional :product_type, enum: -> { Telnyx::TermsOfService::TosProductType }
|
#terms_url ⇒ String?
41
|
# File 'lib/telnyx/models/terms_of_service_retrieve_info_response.rb', line 41
optional :terms_url, String
|