lib/purecloudplatformclientv2/models/transcription_settings.rb in purecloudplatformclientv2-84.0.0 vs lib/purecloudplatformclientv2/models/transcription_settings.rb in purecloudplatformclientv2-85.0.0

- old
+ new

@@ -22,29 +22,36 @@ attr_accessor :transcription # Configure confidence threshold. The possible values are from 1 to 100. attr_accessor :transcription_confidence_threshold + # Setting to enable/disable content search + attr_accessor :content_search_enabled + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'transcription' => :'transcription', - :'transcription_confidence_threshold' => :'transcriptionConfidenceThreshold' + :'transcription_confidence_threshold' => :'transcriptionConfidenceThreshold', + :'content_search_enabled' => :'contentSearchEnabled' + } end # Attribute type mapping. def self.swagger_types { :'transcription' => :'String', - :'transcription_confidence_threshold' => :'Integer' + :'transcription_confidence_threshold' => :'Integer', + :'content_search_enabled' => :'BOOLEAN' + } end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash @@ -71,10 +78,19 @@ end + if attributes.has_key?(:'contentSearchEnabled') + + + self.content_search_enabled = attributes[:'contentSearchEnabled'] + + + 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 @@ -109,10 +125,14 @@ + + + + end # Custom attribute writer method checking allowed values (enum). @@ -131,17 +151,23 @@ + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && transcription == o.transcription && - transcription_confidence_threshold == o.transcription_confidence_threshold + transcription_confidence_threshold == o.transcription_confidence_threshold && + content_search_enabled == o.content_search_enabled end # @see the `==` method # @param [Object] Object to be compared def eql?(o) @@ -149,10 +175,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [transcription, transcription_confidence_threshold].hash + [transcription, transcription_confidence_threshold, content_search_enabled].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)