class

Twilio::CallCallEventResponse

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Call Response with Events.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, response_code : Int32 | Nil = nil, request_duration : Int32 | Nil = nil, content_type : String | Nil = nil, date_created : String | Nil = nil, response_body : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

content_type
Source
content_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] content_type Object to be assigned

Source
content_type_present=(content_type_present : Bool)
Source
content_type_present?
Source
date_created
Source
date_created=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] date_created Object to be assigned

Source
date_created_present=(date_created_present : Bool)
Source
date_created_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
request_duration
Source
request_duration=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] request_duration Object to be assigned

Source
request_duration_present=(request_duration_present : Bool)
Source
request_duration_present?
Source
response_body
Source
response_body=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] response_body Object to be assigned

Source
response_code
Source
response_code=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] response_code Object to be assigned

Source
response_code_present=(response_code_present : Bool)
Source
response_code_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source