lib/purecloudplatformclientv2/models/station.rb in purecloudplatformclientv2-5.1.1 vs lib/purecloudplatformclientv2/models/station.rb in purecloudplatformclientv2-6.0.0

- old
+ new

@@ -2,11 +2,11 @@ PureCloud Platform API With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more. OpenAPI spec version: v2 -Contact: DeveloperEvangelists@inin.com +Contact: DeveloperEvangelists@genesys.com Generated by: https://github.com/swagger-api/swagger-codegen.git License: ININ http://www.inin.com @@ -39,10 +39,16 @@ attr_accessor :type attr_accessor :line_appearance_id + # The default or configured value of media dscp for the station. Empty if station type is not inin_webrtc_softphone. + 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 + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -55,10 +61,12 @@ :'web_rtc_user_id' => :'webRtcUserId', :'primary_edge' => :'primaryEdge', :'secondary_edge' => :'secondaryEdge', :'type' => :'type', :'line_appearance_id' => :'lineAppearanceId', + :'web_rtc_media_dscp' => :'webRtcMediaDscp', + :'web_rtc_persistent_enabled' => :'webRtcPersistentEnabled', :'self_uri' => :'selfUri' } end # Attribute type mapping. @@ -72,10 +80,12 @@ :'web_rtc_user_id' => :'String', :'primary_edge' => :'UriReference', :'secondary_edge' => :'UriReference', :'type' => :'String', :'line_appearance_id' => :'String', + :'web_rtc_media_dscp' => :'Integer', + :'web_rtc_persistent_enabled' => :'BOOLEAN', :'self_uri' => :'String' } end # Initializes the object @@ -124,10 +134,18 @@ if attributes.has_key?(:'lineAppearanceId') self.line_appearance_id = attributes[:'lineAppearanceId'] end + if attributes.has_key?(:'webRtcMediaDscp') + self.web_rtc_media_dscp = attributes[:'webRtcMediaDscp'] + end + + if attributes.has_key?(:'webRtcPersistentEnabled') + self.web_rtc_persistent_enabled = attributes[:'webRtcPersistentEnabled'] + end + if attributes.has_key?(:'selfUri') self.self_uri = attributes[:'selfUri'] end end @@ -171,10 +189,12 @@ web_rtc_user_id == o.web_rtc_user_id && primary_edge == o.primary_edge && 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 && self_uri == o.self_uri end # @see the `==` method # @param [Object] Object to be compared @@ -183,10 +203,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, 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, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)