lib/purecloud/models/number_order.rb in purecloud-0.41.1 vs lib/purecloud/models/number_order.rb in purecloud-0.42.1
- old
+ new
@@ -57,10 +57,16 @@
attr_accessor :responsible_contact
# Company name for a number port
attr_accessor :company_name
+ # Country dial in codes (telephone dialing prefixes)
+ attr_accessor :country_code
+
+ # Id of the terms and conditions envelope for the order.
+ attr_accessor :envelope_id
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -92,10 +98,14 @@
:'responsible_contact' => :'responsibleContact',
:'company_name' => :'companyName',
+ :'country_code' => :'countryCode',
+
+ :'envelope_id' => :'envelopeId',
+
:'self_uri' => :'selfUri'
}
end
@@ -114,10 +124,12 @@
:'phone_number_type' => :'String',
:'porting' => :'BOOLEAN',
:'billing_address' => :'PortBillingAddress',
:'responsible_contact' => :'PortContact',
:'company_name' => :'String',
+ :'country_code' => :'String',
+ :'envelope_id' => :'String',
:'self_uri' => :'String'
}
end
@@ -184,10 +196,18 @@
if attributes[:'companyName']
self.company_name = attributes[:'companyName']
end
+ if attributes[:'countryCode']
+ self.country_code = attributes[:'countryCode']
+ end
+
+ if attributes[:'envelopeId']
+ self.envelope_id = attributes[:'envelopeId']
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -226,20 +246,22 @@
phone_number_type == o.phone_number_type &&
porting == o.porting &&
billing_address == o.billing_address &&
responsible_contact == o.responsible_contact &&
company_name == o.company_name &&
+ country_code == o.country_code &&
+ envelope_id == o.envelope_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, did, effective_start_date, effective_end_date, last_updated, start_auth_user_id, end_auth_user_id, status, phone_number_type, porting, billing_address, responsible_contact, company_name, self_uri].hash
+ [id, name, did, effective_start_date, effective_end_date, last_updated, start_auth_user_id, end_auth_user_id, status, phone_number_type, porting, billing_address, responsible_contact, company_name, country_code, envelope_id, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)