lib/purecloudplatformclientv2/models/policy_actions.rb in purecloudplatformclientv2-25.0.0 vs lib/purecloudplatformclientv2/models/policy_actions.rb in purecloudplatformclientv2-26.0.0

- old
+ new

@@ -31,10 +31,12 @@ attr_accessor :assign_metered_evaluations attr_accessor :assign_calibrations + attr_accessor :assign_surveys + attr_accessor :retention_duration attr_accessor :initiate_screen_recording attr_accessor :media_transcriptions @@ -53,10 +55,12 @@ :'assign_metered_evaluations' => :'assignMeteredEvaluations', :'assign_calibrations' => :'assignCalibrations', + :'assign_surveys' => :'assignSurveys', + :'retention_duration' => :'retentionDuration', :'initiate_screen_recording' => :'initiateScreenRecording', :'media_transcriptions' => :'mediaTranscriptions' @@ -78,10 +82,12 @@ :'assign_metered_evaluations' => :'Array<MeteredEvaluationAssignment>', :'assign_calibrations' => :'Array<CalibrationAssignment>', + :'assign_surveys' => :'Array<SurveyAssignment>', + :'retention_duration' => :'RetentionDuration', :'initiate_screen_recording' => :'InitiateScreenRecording', :'media_transcriptions' => :'Array<MediaTranscription>' @@ -156,10 +162,21 @@ end + if attributes.has_key?(:'assignSurveys') + + if (value = attributes[:'assignSurveys']).is_a?(Array) + self.assign_surveys = value + end + + + + end + + if attributes.has_key?(:'retentionDuration') self.retention_duration = attributes[:'retentionDuration'] @@ -236,10 +253,14 @@ + + + + end @@ -284,10 +305,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 && @@ -295,10 +321,11 @@ delete_recording == o.delete_recording && always_delete == o.always_delete && assign_evaluations == o.assign_evaluations && assign_metered_evaluations == o.assign_metered_evaluations && assign_calibrations == o.assign_calibrations && + assign_surveys == o.assign_surveys && retention_duration == o.retention_duration && initiate_screen_recording == o.initiate_screen_recording && media_transcriptions == o.media_transcriptions end @@ -309,10 +336,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [retain_recording, delete_recording, always_delete, assign_evaluations, assign_metered_evaluations, assign_calibrations, retention_duration, initiate_screen_recording, media_transcriptions].hash + [retain_recording, delete_recording, always_delete, assign_evaluations, assign_metered_evaluations, assign_calibrations, assign_surveys, retention_duration, initiate_screen_recording, media_transcriptions].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)