lib/purecloudplatformclientv2/models/call.rb in purecloudplatformclientv2-22.0.0 vs lib/purecloudplatformclientv2/models/call.rb in purecloudplatformclientv2-23.0.0
- old
+ new
@@ -81,10 +81,16 @@
attr_accessor :peer_id
# User to User Information (UUI) data managed by SIP session application.
attr_accessor :uui_data
+ # Address and name data for a call endpoint.
+ attr_accessor :_self
+
+ # Address and name data for a call endpoint.
+ attr_accessor :other
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'state' => :'state',
@@ -127,12 +133,16 @@
:'script_id' => :'scriptId',
:'peer_id' => :'peerId',
- :'uui_data' => :'uuiData'
+ :'uui_data' => :'uuiData',
+ :'_self' => :'self',
+
+ :'other' => :'other'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -178,12 +188,16 @@
:'script_id' => :'String',
:'peer_id' => :'String',
- :'uui_data' => :'String'
+ :'uui_data' => :'String',
+ :'_self' => :'Address',
+
+ :'other' => :'Address'
+
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -394,10 +408,28 @@
end
+ if attributes.has_key?(:'self')
+
+
+ self._self = attributes[:'self']
+
+
+ end
+
+
+ if attributes.has_key?(:'other')
+
+
+ self.other = attributes[:'other']
+
+
+ end
+
+
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
def list_invalid_properties
@@ -517,10 +549,18 @@
+
+
+
+
+
+
+
+
end
# Custom attribute writer method checking allowed values (enum).
@@ -666,10 +706,20 @@
+
+
+
+
+
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -692,11 +742,13 @@
disconnect_reasons == o.disconnect_reasons &&
fax_status == o.fax_status &&
provider == o.provider &&
script_id == o.script_id &&
peer_id == o.peer_id &&
- uui_data == o.uui_data
+ uui_data == o.uui_data &&
+ _self == o._self &&
+ other == o.other
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -704,10 +756,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data].hash
+ [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)