lib/purecloud/models/geolocation_settings.rb in purecloud-0.55.1 vs lib/purecloud/models/geolocation_settings.rb in purecloud-0.56.1

- old
+ new

@@ -23,10 +23,12 @@ attr_accessor :name attr_accessor :enabled + attr_accessor :mapbox_key + # 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 @@ :'name' => :'name', :'enabled' => :'enabled', + :'mapbox_key' => :'mapboxKey', + :'self_uri' => :'selfUri' } end @@ -47,10 +51,11 @@ def self.swagger_types { :'id' => :'String', :'name' => :'String', :'enabled' => :'BOOLEAN', + :'mapbox_key' => :'String', :'self_uri' => :'String' } end @@ -73,10 +78,14 @@ self.enabled = attributes[:'enabled'] else self.enabled = false end + if attributes[:'mapboxKey'] + self.mapbox_key = attributes[:'mapboxKey'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -86,20 +95,21 @@ return true if self.equal?(o) self.class == o.class && id == o.id && name == o.name && enabled == o.enabled && + mapbox_key == o.mapbox_key && 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, enabled, self_uri].hash + [id, name, enabled, mapbox_key, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)