lib/purecloudplatformclientv2/models/video.rb in purecloudplatformclientv2-85.0.1 vs lib/purecloudplatformclientv2/models/video.rb in purecloudplatformclientv2-86.0.0
- old
+ new
@@ -61,10 +61,13 @@
attr_accessor :msids
# Address and name data for a call endpoint.
attr_accessor :_self
+ # Call wrap up or disposition data.
+ attr_accessor :wrapup
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'state' => :'state',
@@ -93,12 +96,14 @@
:'peer_id' => :'peerId',
:'msids' => :'msids',
- :'_self' => :'self'
+ :'_self' => :'self',
+ :'wrapup' => :'wrapup'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -130,12 +135,14 @@
:'peer_id' => :'String',
:'msids' => :'Array<String>',
- :'_self' => :'Address'
+ :'_self' => :'Address',
+ :'wrapup' => :'Wrapup'
+
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -281,10 +288,19 @@
end
+ if attributes.has_key?(:'wrapup')
+
+
+ self.wrapup = attributes[:'wrapup']
+
+
+ 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
@@ -366,10 +382,14 @@
+
+
+
+
end
# Custom attribute writer method checking allowed values (enum).
@@ -462,10 +482,15 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -481,11 +506,12 @@
connected_time == o.connected_time &&
disconnected_time == o.disconnected_time &&
provider == o.provider &&
peer_id == o.peer_id &&
msids == o.msids &&
- _self == o._self
+ _self == o._self &&
+ wrapup == o.wrapup
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -493,10 +519,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [state, id, context, audio_muted, video_muted, sharing_screen, peer_count, disconnect_type, start_alerting_time, connected_time, disconnected_time, provider, peer_id, msids, _self].hash
+ [state, id, context, audio_muted, video_muted, sharing_screen, peer_count, disconnect_type, start_alerting_time, connected_time, disconnected_time, provider, peer_id, msids, _self, wrapup].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)