lib/purecloud/models/contact_sales.rb in purecloud-0.27.0 vs lib/purecloud/models/contact_sales.rb in purecloud-0.28.0

- old
+ new

@@ -25,14 +25,10 @@ attr_accessor :product_name attr_accessor :quote_id - attr_accessor :industry - - attr_accessor :estimated_users - # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -60,14 +56,10 @@ :'product_name' => :'productName', :'quote_id' => :'quoteId', - :'industry' => :'industry', - - :'estimated_users' => :'estimatedUsers', - :'self_uri' => :'selfUri' } end @@ -84,12 +76,10 @@ :'title' => :'String', :'message' => :'String', :'language' => :'String', :'product_name' => :'String', :'quote_id' => :'String', - :'industry' => :'String', - :'estimated_users' => :'String', :'self_uri' => :'String' } end @@ -146,18 +136,10 @@ if attributes[:'quoteId'] self.quote_id = attributes[:'quoteId'] end - if attributes[:'industry'] - self.industry = attributes[:'industry'] - end - - if attributes[:'estimatedUsers'] - self.estimated_users = attributes[:'estimatedUsers'] - end - if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -176,22 +158,20 @@ title == o.title && message == o.message && language == o.language && product_name == o.product_name && quote_id == o.quote_id && - industry == o.industry && - estimated_users == o.estimated_users && 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, email, first_name, last_name, contact_phone, country, title, message, language, product_name, quote_id, industry, estimated_users, self_uri].hash + [id, name, email, first_name, last_name, contact_phone, country, title, message, language, product_name, quote_id, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)