lib/purecloud/models/routing_skill.rb in purecloud-0.38.1 vs lib/purecloud/models/routing_skill.rb in purecloud-0.39.1
- old
+ new
@@ -21,21 +21,19 @@
# The globally unique identifier for the object.
attr_accessor :id
attr_accessor :name
- # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ # Date last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :date_modified
# The current state for this skill.
attr_accessor :state
# Required when updating. Version must be the current version. Only the system can assign version.
attr_accessor :version
- attr_accessor :proficiency
-
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -49,12 +47,10 @@
:'state' => :'state',
:'version' => :'version',
- :'proficiency' => :'proficiency',
-
:'self_uri' => :'selfUri'
}
end
@@ -64,11 +60,10 @@
:'id' => :'String',
:'name' => :'String',
:'date_modified' => :'DateTime',
:'state' => :'String',
:'version' => :'String',
- :'proficiency' => :'String',
:'self_uri' => :'String'
}
end
@@ -97,14 +92,10 @@
if attributes[:'version']
self.version = attributes[:'version']
end
- if attributes[:'proficiency']
- self.proficiency = attributes[:'proficiency']
- end
-
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -125,21 +116,20 @@
id == o.id &&
name == o.name &&
date_modified == o.date_modified &&
state == o.state &&
version == o.version &&
- proficiency == o.proficiency &&
self_uri == o.self_uri
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, date_modified, state, version, proficiency, self_uri].hash
+ [id, name, date_modified, state, version, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)