lib/purecloudplatformclientv2/models/conversation_properties.rb in purecloudplatformclientv2-58.0.1 vs lib/purecloudplatformclientv2/models/conversation_properties.rb in purecloudplatformclientv2-59.0.0
- old
+ new
@@ -25,10 +25,13 @@
attr_accessor :is_active
# Indicates filtering for Acd
attr_accessor :is_acd
+ # Indicates filtering for Preferred Agent Routing
+ attr_accessor :is_preferred
+
# Indicates filtering for screenshare
attr_accessor :is_screenshare
# Indicates filtering for Cobrowse
attr_accessor :is_cobrowse
@@ -53,10 +56,12 @@
:'is_active' => :'isActive',
:'is_acd' => :'isAcd',
+ :'is_preferred' => :'isPreferred',
+
:'is_screenshare' => :'isScreenshare',
:'is_cobrowse' => :'isCobrowse',
:'is_voicemail' => :'isVoicemail',
@@ -78,10 +83,12 @@
:'is_active' => :'BOOLEAN',
:'is_acd' => :'BOOLEAN',
+ :'is_preferred' => :'BOOLEAN',
+
:'is_screenshare' => :'BOOLEAN',
:'is_cobrowse' => :'BOOLEAN',
:'is_voicemail' => :'BOOLEAN',
@@ -129,10 +136,19 @@
end
+ if attributes.has_key?(:'isPreferred')
+
+
+ self.is_preferred = attributes[:'isPreferred']
+
+
+ end
+
+
if attributes.has_key?(:'isScreenshare')
self.is_screenshare = attributes[:'isScreenshare']
@@ -234,10 +250,14 @@
+
+
+
+
end
@@ -282,18 +302,24 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
is_waiting == o.is_waiting &&
is_active == o.is_active &&
is_acd == o.is_acd &&
+ is_preferred == o.is_preferred &&
is_screenshare == o.is_screenshare &&
is_cobrowse == o.is_cobrowse &&
is_voicemail == o.is_voicemail &&
is_flagged == o.is_flagged &&
filter_wrap_up_notes == o.filter_wrap_up_notes &&
@@ -307,10 +333,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [is_waiting, is_active, is_acd, is_screenshare, is_cobrowse, is_voicemail, is_flagged, filter_wrap_up_notes, match_all].hash
+ [is_waiting, is_active, is_acd, is_preferred, is_screenshare, is_cobrowse, is_voicemail, is_flagged, filter_wrap_up_notes, match_all].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)