lib/purecloudplatformclientv2/models/management_unit.rb in purecloudplatformclientv2-15.0.0 vs lib/purecloudplatformclientv2/models/management_unit.rb in purecloudplatformclientv2-16.0.0
- old
+ new
@@ -26,11 +26,11 @@
# Start day of week for workforce management planning purposes
attr_accessor :start_day_of_week
# The time zone for the management unit in standard Olson Format (See https://en.wikipedia.org/wiki/Tz_database)
- attr_accessor :timezone
+ attr_accessor :time_zone
# The version of the underlying ManagementUnit object. Useful for handling eventual consistency issues. User must submit the current version they of the ManagementUnit in any write requests
attr_accessor :version
# The date and time at which this management unit was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
@@ -47,11 +47,11 @@
:'name' => :'name',
:'start_day_of_week' => :'startDayOfWeek',
- :'timezone' => :'timezone',
+ :'time_zone' => :'timeZone',
:'version' => :'version',
:'date_modified' => :'dateModified',
@@ -68,11 +68,11 @@
:'name' => :'String',
:'start_day_of_week' => :'String',
- :'timezone' => :'String',
+ :'time_zone' => :'String',
:'version' => :'Integer',
:'date_modified' => :'DateTime',
@@ -115,14 +115,14 @@
end
- if attributes.has_key?(:'timezone')
+ if attributes.has_key?(:'timeZone')
- self.timezone = attributes[:'timezone']
+ self.time_zone = attributes[:'timeZone']
end
@@ -259,11 +259,11 @@
return true if self.equal?(o)
self.class == o.class &&
id == o.id &&
name == o.name &&
start_day_of_week == o.start_day_of_week &&
- timezone == o.timezone &&
+ time_zone == o.time_zone &&
version == o.version &&
date_modified == o.date_modified &&
self_uri == o.self_uri
end
@@ -274,10 +274,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, start_day_of_week, timezone, version, date_modified, self_uri].hash
+ [id, name, start_day_of_week, time_zone, version, date_modified, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)