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

- old
+ new

@@ -11,16 +11,10 @@ attr_accessor :type attr_accessor :status - attr_accessor :is_submitted - - attr_accessor :is_pending - - attr_accessor :is_frozen - attr_accessor :currency # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :created_date @@ -64,16 +58,10 @@ :'type' => :'type', :'status' => :'status', - :'is_submitted' => :'isSubmitted', - - :'is_pending' => :'isPending', - - :'is_frozen' => :'isFrozen', - :'currency' => :'currency', :'created_date' => :'createdDate', :'last_updated_date' => :'lastUpdatedDate', @@ -111,13 +99,10 @@ :'id' => :'String', :'name' => :'String', :'purchase_order' => :'String', :'type' => :'String', :'status' => :'String', - :'is_submitted' => :'BOOLEAN', - :'is_pending' => :'BOOLEAN', - :'is_frozen' => :'BOOLEAN', :'currency' => :'String', :'created_date' => :'DateTime', :'last_updated_date' => :'DateTime', :'billing_contact_email' => :'String', :'billing_contact_first_name' => :'String', @@ -160,28 +145,10 @@ if attributes[:'status'] self.status = attributes[:'status'] end - if attributes[:'isSubmitted'] - self.is_submitted = attributes[:'isSubmitted'] - else - self.is_submitted = false - end - - if attributes[:'isPending'] - self.is_pending = attributes[:'isPending'] - else - self.is_pending = false - end - - if attributes[:'isFrozen'] - self.is_frozen = attributes[:'isFrozen'] - else - self.is_frozen = false - end - if attributes[:'currency'] self.currency = attributes[:'currency'] end if attributes[:'createdDate'] @@ -277,13 +244,10 @@ id == o.id && name == o.name && purchase_order == o.purchase_order && type == o.type && status == o.status && - is_submitted == o.is_submitted && - is_pending == o.is_pending && - is_frozen == o.is_frozen && currency == o.currency && created_date == o.created_date && last_updated_date == o.last_updated_date && billing_contact_email == o.billing_contact_email && billing_contact_first_name == o.billing_contact_first_name && @@ -304,10 +268,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [id, name, purchase_order, type, status, is_submitted, is_pending, is_frozen, currency, created_date, last_updated_date, billing_contact_email, billing_contact_first_name, billing_contact_last_name, billing_contact_phone, include_voice_charges, charges, edge_control_model, referral_codes, discount_codes, sales_partner_code, is_annual_prepay, self_uri].hash + [id, name, purchase_order, type, status, currency, created_date, last_updated_date, billing_contact_email, billing_contact_first_name, billing_contact_last_name, billing_contact_phone, include_voice_charges, charges, edge_control_model, referral_codes, discount_codes, sales_partner_code, is_annual_prepay, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)