lib/purecloud/models/station.rb in purecloud-0.38.1 vs lib/purecloud/models/station.rb in purecloud-0.39.1
- old
+ new
@@ -33,10 +33,12 @@
attr_accessor :secondary_edge
attr_accessor :type
+ attr_accessor :line_appearance_id
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -56,10 +58,12 @@
:'secondary_edge' => :'secondaryEdge',
:'type' => :'type',
+ :'line_appearance_id' => :'lineAppearanceId',
+
:'self_uri' => :'selfUri'
}
end
@@ -72,10 +76,11 @@
:'status' => :'String',
:'user_id' => :'String',
:'primary_edge' => :'UriReference',
:'secondary_edge' => :'UriReference',
:'type' => :'String',
+ :'line_appearance_id' => :'String',
:'self_uri' => :'String'
}
end
@@ -116,10 +121,14 @@
if attributes[:'type']
self.type = attributes[:'type']
end
+ if attributes[:'lineAppearanceId']
+ self.line_appearance_id = attributes[:'lineAppearanceId']
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -143,20 +152,21 @@
status == o.status &&
user_id == o.user_id &&
primary_edge == o.primary_edge &&
secondary_edge == o.secondary_edge &&
type == o.type &&
+ line_appearance_id == o.line_appearance_id &&
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, description, status, user_id, primary_edge, secondary_edge, type, self_uri].hash
+ [id, name, description, status, user_id, primary_edge, secondary_edge, type, line_appearance_id, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)