lib/purecloud/models/station.rb in purecloud-0.28.0 vs lib/purecloud/models/station.rb in purecloud-0.29.1

- old
+ new

@@ -15,10 +15,12 @@ attr_accessor :primary_edge attr_accessor :secondary_edge + attr_accessor :type + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -36,10 +38,12 @@ :'primary_edge' => :'primaryEdge', :'secondary_edge' => :'secondaryEdge', + :'type' => :'type', + :'self_uri' => :'selfUri' } end @@ -51,10 +55,11 @@ :'description' => :'String', :'status' => :'String', :'user_id' => :'String', :'primary_edge' => :'UriReference', :'secondary_edge' => :'UriReference', + :'type' => :'String', :'self_uri' => :'String' } end @@ -91,10 +96,14 @@ if attributes[:'secondaryEdge'] self.secondary_edge = attributes[:'secondaryEdge'] end + if attributes[:'type'] + self.type = attributes[:'type'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -117,20 +126,21 @@ description == o.description && status == o.status && user_id == o.user_id && primary_edge == o.primary_edge && secondary_edge == o.secondary_edge && + type == o.type && 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, self_uri].hash + [id, name, description, status, user_id, primary_edge, secondary_edge, type, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)