lib/purecloudplatformclientv2/models/organization.rb in purecloudplatformclientv2-7.0.0 vs lib/purecloudplatformclientv2/models/organization.rb in purecloudplatformclientv2-8.0.0
- old
+ new
@@ -42,10 +42,13 @@
# The current state. Examples are active, inactive, deleted.
attr_accessor :state
attr_accessor :default_site_id
+ # Email address where support tickets are sent to.
+ attr_accessor :support_uri
+
attr_accessor :voicemail_enabled
# The URI for this object
attr_accessor :self_uri
@@ -63,10 +66,11 @@
:'third_party_uri' => :'thirdPartyURI',
:'domain' => :'domain',
:'version' => :'version',
:'state' => :'state',
:'default_site_id' => :'defaultSiteId',
+ :'support_uri' => :'supportURI',
:'voicemail_enabled' => :'voicemailEnabled',
:'self_uri' => :'selfUri',
:'features' => :'features'
}
end
@@ -82,10 +86,11 @@
:'third_party_uri' => :'String',
:'domain' => :'String',
:'version' => :'Integer',
:'state' => :'String',
:'default_site_id' => :'String',
+ :'support_uri' => :'String',
:'voicemail_enabled' => :'BOOLEAN',
:'self_uri' => :'String',
:'features' => :'Hash<String, BOOLEAN>'
}
end
@@ -136,10 +141,14 @@
if attributes.has_key?(:'defaultSiteId')
self.default_site_id = attributes[:'defaultSiteId']
end
+ if attributes.has_key?(:'supportURI')
+ self.support_uri = attributes[:'supportURI']
+ end
+
if attributes.has_key?(:'voicemailEnabled')
self.voicemail_enabled = attributes[:'voicemailEnabled']
end
if attributes.has_key?(:'selfUri')
@@ -197,10 +206,11 @@
third_party_uri == o.third_party_uri &&
domain == o.domain &&
version == o.version &&
state == o.state &&
default_site_id == o.default_site_id &&
+ support_uri == o.support_uri &&
voicemail_enabled == o.voicemail_enabled &&
self_uri == o.self_uri &&
features == o.features
end
@@ -211,10 +221,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, default_language, default_country_code, third_party_org_name, third_party_uri, domain, version, state, default_site_id, voicemail_enabled, self_uri, features].hash
+ [id, name, default_language, default_country_code, third_party_org_name, third_party_uri, domain, version, state, default_site_id, support_uri, voicemail_enabled, self_uri, features].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)