Class: Twilio::REST::Insights::V2::InboundReportInstance
- Inherits:
-
Twilio::REST::InstanceResource
- Object
- Twilio::REST::InstanceResource
- Twilio::REST::Insights::V2::InboundReportInstance
- Defined in:
- lib/twilio-ruby/rest/insights/v2/inbound_report.rb
Instance Method Summary collapse
-
#account_sid ⇒ String
The unique SID identifier of the Account.
-
#initialize(version, payload) ⇒ InboundReportInstance
constructor
Initialize the InboundReportInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#report_id ⇒ String
The report identifier as Voice Insights Report TTID.
- #request_meta ⇒ ReportMetadata
- #status ⇒ ReportStatus
-
#to_s ⇒ Object
Provide a user friendly representation.
-
#url ⇒ String
The URL of this resource.
Constructor Details
#initialize(version, payload) ⇒ InboundReportInstance
Initialize the InboundReportInstance
197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 197 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'account_sid' => payload['account_sid'], 'report_id' => payload['report_id'], 'status' => payload['status'], 'request_meta' => payload['request_meta'], 'url' => payload['url'], } end |
Instance Method Details
#account_sid ⇒ String
Returns The unique SID identifier of the Account.
214 215 216 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 214 def account_sid @properties['account_sid'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
250 251 252 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 250 def inspect "<Twilio.Insights.V2.InboundReportInstance>" end |
#report_id ⇒ String
Returns The report identifier as Voice Insights Report TTID.
220 221 222 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 220 def report_id @properties['report_id'] end |
#request_meta ⇒ ReportMetadata
232 233 234 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 232 def @properties['request_meta'] end |
#status ⇒ ReportStatus
226 227 228 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 226 def status @properties['status'] end |
#to_s ⇒ Object
Provide a user friendly representation
244 245 246 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 244 def to_s "<Twilio.Insights.V2.InboundReportInstance>" end |
#url ⇒ String
Returns The URL of this resource.
238 239 240 |
# File 'lib/twilio-ruby/rest/insights/v2/inbound_report.rb', line 238 def url @properties['url'] end |