lib/purecloud/models/customer_interaction_center.rb in purecloud-0.41.1 vs lib/purecloud/models/customer_interaction_center.rb in purecloud-0.42.1
- old
+ new
@@ -27,10 +27,12 @@
attr_accessor :issuer_uri
attr_accessor :sso_target_uri
+ attr_accessor :disabled
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -44,10 +46,12 @@
:'issuer_uri' => :'issuerURI',
:'sso_target_uri' => :'ssoTargetURI',
+ :'disabled' => :'disabled',
+
:'self_uri' => :'selfUri'
}
end
@@ -57,10 +61,11 @@
:'id' => :'String',
:'name' => :'String',
:'certificate' => :'String',
:'issuer_uri' => :'String',
:'sso_target_uri' => :'String',
+ :'disabled' => :'BOOLEAN',
:'self_uri' => :'String'
}
end
@@ -89,10 +94,16 @@
if attributes[:'ssoTargetURI']
self.sso_target_uri = attributes[:'ssoTargetURI']
end
+ if attributes[:'disabled']
+ self.disabled = attributes[:'disabled']
+ else
+ self.disabled = false
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -104,20 +115,21 @@
id == o.id &&
name == o.name &&
certificate == o.certificate &&
issuer_uri == o.issuer_uri &&
sso_target_uri == o.sso_target_uri &&
+ disabled == o.disabled &&
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, certificate, issuer_uri, sso_target_uri, self_uri].hash
+ [id, name, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)