Class: Twilio::REST::Trusthub::V1::ComplianceTollfreeInquiriesInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Trusthub::V1::ComplianceTollfreeInquiriesInstance
- Defined in:
- lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ ComplianceTollfreeInquiriesInstance
constructor
Initialize the ComplianceTollfreeInquiriesInstance.
-
#inquiry_id ⇒ String
The unique ID used to start an embedded compliance registration session.
-
#inquiry_session_token ⇒ String
The session token used to start an embedded compliance registration session.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#registration_id ⇒ String
The TolfreeId matching the Tollfree Profile that should be resumed or resubmitted for editing.
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#url ⇒ String
The URL of this resource.
Constructor Details
#initialize(version, payload) ⇒ ComplianceTollfreeInquiriesInstance
Initialize the ComplianceTollfreeInquiriesInstance
174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 174 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'inquiry_id' => payload['inquiry_id'], 'inquiry_session_token' => payload['inquiry_session_token'], 'registration_id' => payload['registration_id'], 'url' => payload['url'], } end |
Instance Method Details
#inquiry_id ⇒ String
Returns The unique ID used to start an embedded compliance registration session.
189 190 191 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 189 def inquiry_id @properties['inquiry_id'] end |
#inquiry_session_token ⇒ String
Returns The session token used to start an embedded compliance registration session.
195 196 197 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 195 def inquiry_session_token @properties['inquiry_session_token'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
219 220 221 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 219 def inspect "<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesInstance>" end |
#registration_id ⇒ String
Returns The TolfreeId matching the Tollfree Profile that should be resumed or resubmitted for editing.
201 202 203 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 201 def registration_id @properties['registration_id'] end |
#to_s ⇒ Object
Provide a user friendly representation
213 214 215 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 213 def to_s "<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesInstance>" end |
#url ⇒ String
Returns The URL of this resource.
207 208 209 |
# File 'lib/twilio-ruby/rest/trusthub/v1/compliance_tollfree_inquiries.rb', line 207 def url @properties['url'] end |