lib/purecloudplatformclientv2/models/quality_audit.rb in purecloudplatformclientv2-49.0.1 vs lib/purecloudplatformclientv2/models/quality_audit.rb in purecloudplatformclientv2-50.0.0

- old
+ new

@@ -23,16 +23,16 @@ attr_accessor :name attr_accessor :user - attr_accessor :timestamp - attr_accessor :level attr_accessor :entity + attr_accessor :timestamp + attr_accessor :action attr_accessor :status attr_accessor :changes @@ -50,16 +50,16 @@ :'name' => :'name', :'user' => :'user', - :'timestamp' => :'timestamp', - :'level' => :'level', :'entity' => :'entity', + :'timestamp' => :'timestamp', + :'action' => :'action', :'status' => :'status', :'changes' => :'changes', @@ -79,16 +79,16 @@ :'name' => :'String', :'user' => :'User', - :'timestamp' => :'String', - :'level' => :'String', :'entity' => :'AuditEntity', + :'timestamp' => :'String', + :'action' => :'String', :'status' => :'String', :'changes' => :'Array<Change>', @@ -134,32 +134,32 @@ end - if attributes.has_key?(:'timestamp') + if attributes.has_key?(:'level') - self.timestamp = attributes[:'timestamp'] + self.level = attributes[:'level'] end - if attributes.has_key?(:'level') + if attributes.has_key?(:'entity') - self.level = attributes[:'level'] + self.entity = attributes[:'entity'] end - if attributes.has_key?(:'entity') + if attributes.has_key?(:'timestamp') - self.entity = attributes[:'entity'] + self.timestamp = attributes[:'timestamp'] end @@ -333,13 +333,13 @@ return true if self.equal?(o) self.class == o.class && id == o.id && name == o.name && user == o.user && - timestamp == o.timestamp && level == o.level && entity == o.entity && + timestamp == o.timestamp && action == o.action && status == o.status && changes == o.changes && entity_type == o.entity_type && self_uri == o.self_uri @@ -352,10 +352,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, user, timestamp, level, entity, action, status, changes, entity_type, self_uri].hash + [id, name, user, 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)