lib/purecloudplatformclientv2/models/policy_actions.rb in purecloudplatformclientv2-56.0.0 vs lib/purecloudplatformclientv2/models/policy_actions.rb in purecloudplatformclientv2-57.0.0
- old
+ new
@@ -29,10 +29,12 @@
attr_accessor :assign_evaluations
attr_accessor :assign_metered_evaluations
+ attr_accessor :assign_metered_assignment_by_agent
+
attr_accessor :assign_calibrations
attr_accessor :assign_surveys
attr_accessor :retention_duration
@@ -53,10 +55,12 @@
:'assign_evaluations' => :'assignEvaluations',
:'assign_metered_evaluations' => :'assignMeteredEvaluations',
+ :'assign_metered_assignment_by_agent' => :'assignMeteredAssignmentByAgent',
+
:'assign_calibrations' => :'assignCalibrations',
:'assign_surveys' => :'assignSurveys',
:'retention_duration' => :'retentionDuration',
@@ -80,10 +84,12 @@
:'assign_evaluations' => :'Array<EvaluationAssignment>',
:'assign_metered_evaluations' => :'Array<MeteredEvaluationAssignment>',
+ :'assign_metered_assignment_by_agent' => :'Array<MeteredAssignmentByAgent>',
+
:'assign_calibrations' => :'Array<CalibrationAssignment>',
:'assign_surveys' => :'Array<SurveyAssignment>',
:'retention_duration' => :'RetentionDuration',
@@ -151,10 +157,21 @@
end
+ if attributes.has_key?(:'assignMeteredAssignmentByAgent')
+
+ if (value = attributes[:'assignMeteredAssignmentByAgent']).is_a?(Array)
+ self.assign_metered_assignment_by_agent = value
+ end
+
+
+
+ end
+
+
if attributes.has_key?(:'assignCalibrations')
if (value = attributes[:'assignCalibrations']).is_a?(Array)
self.assign_calibrations = value
end
@@ -257,10 +274,14 @@
+
+
+
+
end
@@ -310,20 +331,26 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
retain_recording == o.retain_recording &&
delete_recording == o.delete_recording &&
always_delete == o.always_delete &&
assign_evaluations == o.assign_evaluations &&
assign_metered_evaluations == o.assign_metered_evaluations &&
+ assign_metered_assignment_by_agent == o.assign_metered_assignment_by_agent &&
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
@@ -336,10 +363,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, assign_surveys, retention_duration, initiate_screen_recording, media_transcriptions].hash
+ [retain_recording, delete_recording, always_delete, assign_evaluations, assign_metered_evaluations, assign_metered_assignment_by_agent, 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)