lib/purecloudplatformclientv2/models/salesforce.rb in purecloudplatformclientv2-72.0.0 vs lib/purecloudplatformclientv2/models/salesforce.rb in purecloudplatformclientv2-73.0.0
- old
+ new
@@ -21,14 +21,14 @@
# The globally unique identifier for the object.
attr_accessor :id
attr_accessor :name
- attr_accessor :certificate
-
attr_accessor :issuer_uri
+ attr_accessor :certificate
+
attr_accessor :sso_target_uri
attr_accessor :disabled
# The URI for this object
@@ -40,14 +40,14 @@
:'id' => :'id',
:'name' => :'name',
- :'certificate' => :'certificate',
-
:'issuer_uri' => :'issuerURI',
+ :'certificate' => :'certificate',
+
:'sso_target_uri' => :'ssoTargetURI',
:'disabled' => :'disabled',
:'self_uri' => :'selfUri'
@@ -61,14 +61,14 @@
:'id' => :'String',
:'name' => :'String',
- :'certificate' => :'String',
-
:'issuer_uri' => :'String',
+ :'certificate' => :'String',
+
:'sso_target_uri' => :'String',
:'disabled' => :'BOOLEAN',
:'self_uri' => :'String'
@@ -101,23 +101,23 @@
end
- if attributes.has_key?(:'certificate')
+ if attributes.has_key?(:'issuerURI')
- self.certificate = attributes[:'certificate']
+ self.issuer_uri = attributes[:'issuerURI']
end
- if attributes.has_key?(:'issuerURI')
+ if attributes.has_key?(:'certificate')
- self.issuer_uri = attributes[:'issuerURI']
+ self.certificate = attributes[:'certificate']
end
@@ -234,12 +234,12 @@
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
id == o.id &&
name == o.name &&
- certificate == o.certificate &&
issuer_uri == o.issuer_uri &&
+ certificate == o.certificate &&
sso_target_uri == o.sso_target_uri &&
disabled == o.disabled &&
self_uri == o.self_uri
end
@@ -250,10 +250,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
+ [id, name, issuer_uri, certificate, 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)