lib/purecloudplatformclientv2/models/quality_audit.rb in purecloudplatformclientv2-58.0.1 vs lib/purecloudplatformclientv2/models/quality_audit.rb in purecloudplatformclientv2-59.0.0

- old
+ new

@@ -23,10 +23,12 @@ attr_accessor :name attr_accessor :user + attr_accessor :job_id + attr_accessor :level attr_accessor :entity attr_accessor :timestamp @@ -50,10 +52,12 @@ :'name' => :'name', :'user' => :'user', + :'job_id' => :'jobId', + :'level' => :'level', :'entity' => :'entity', :'timestamp' => :'timestamp', @@ -79,10 +83,12 @@ :'name' => :'String', :'user' => :'User', + :'job_id' => :'String', + :'level' => :'String', :'entity' => :'AuditEntity', :'timestamp' => :'String', @@ -134,10 +140,19 @@ end + if attributes.has_key?(:'jobId') + + + self.job_id = attributes[:'jobId'] + + + end + + if attributes.has_key?(:'level') self.level = attributes[:'level'] @@ -267,10 +282,14 @@ + + + + end @@ -325,18 +344,24 @@ + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && name == o.name && user == o.user && + job_id == o.job_id && level == o.level && entity == o.entity && timestamp == o.timestamp && action == o.action && status == o.status && @@ -352,10 +377,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, user, level, entity, timestamp, action, status, changes, entity_type, self_uri].hash + [id, name, user, job_id, level, entity, timestamp, action, status, changes, entity_type, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)