lib/purecloudplatformclientv2/models/station.rb in purecloudplatformclientv2-59.0.0 vs lib/purecloudplatformclientv2/models/station.rb in purecloudplatformclientv2-60.0.0
- old
+ new
@@ -45,10 +45,13 @@
attr_accessor :web_rtc_media_dscp
# The default or configured value of persistent connection setting for the station. Empty if station type is not inin_webrtc_softphone.
attr_accessor :web_rtc_persistent_enabled
+ # Whether the station is configured to require TURN for routing WebRTC calls. Empty if station type is not inin_webrtc_softphone.
+ attr_accessor :web_rtc_force_turn
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -76,10 +79,12 @@
:'web_rtc_media_dscp' => :'webRtcMediaDscp',
:'web_rtc_persistent_enabled' => :'webRtcPersistentEnabled',
+ :'web_rtc_force_turn' => :'webRtcForceTurn',
+
:'self_uri' => :'selfUri'
}
end
@@ -109,10 +114,12 @@
:'web_rtc_media_dscp' => :'Integer',
:'web_rtc_persistent_enabled' => :'BOOLEAN',
+ :'web_rtc_force_turn' => :'BOOLEAN',
+
:'self_uri' => :'String'
}
end
@@ -231,10 +238,19 @@
end
+ if attributes.has_key?(:'webRtcForceTurn')
+
+
+ self.web_rtc_force_turn = attributes[:'webRtcForceTurn']
+
+
+ end
+
+
if attributes.has_key?(:'selfUri')
self.self_uri = attributes[:'selfUri']
@@ -312,10 +328,14 @@
+
+
+
+
end
@@ -389,10 +409,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 &&
@@ -406,10 +431,11 @@
secondary_edge == o.secondary_edge &&
type == o.type &&
line_appearance_id == o.line_appearance_id &&
web_rtc_media_dscp == o.web_rtc_media_dscp &&
web_rtc_persistent_enabled == o.web_rtc_persistent_enabled &&
+ web_rtc_force_turn == o.web_rtc_force_turn &&
self_uri == o.self_uri
end
# @see the `==` method
# @param [Object] Object to be compared
@@ -418,10 +444,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, description, status, user_id, web_rtc_user_id, primary_edge, secondary_edge, type, line_appearance_id, web_rtc_media_dscp, web_rtc_persistent_enabled, self_uri].hash
+ [id, name, description, status, user_id, web_rtc_user_id, primary_edge, secondary_edge, type, line_appearance_id, web_rtc_media_dscp, web_rtc_persistent_enabled, web_rtc_force_turn, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)