lib/purecloud/models/campaign_notification_errors.rb in purecloud-0.68.1 vs lib/purecloud/models/campaign_notification_errors.rb in purecloud-0.69.1
- old
+ new
@@ -18,33 +18,33 @@
module PureCloud
class CampaignNotificationErrors
attr_accessor :details
- attr_accessor :error
-
attr_accessor :additional_properties
+ attr_accessor :error
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'details' => :'details',
- :'error' => :'error',
+ :'additional_properties' => :'additionalProperties',
- :'additional_properties' => :'additionalProperties'
+ :'error' => :'error'
}
end
# Attribute type mapping.
def self.swagger_types
{
:'details' => :'String',
- :'error' => :'String',
- :'additional_properties' => :'Object'
+ :'additional_properties' => :'Object',
+ :'error' => :'String'
}
end
def initialize(attributes = {})
@@ -56,36 +56,36 @@
if attributes[:'details']
self.details = attributes[:'details']
end
- if attributes[:'error']
- self.error = attributes[:'error']
- end
-
if attributes[:'additionalProperties']
self.additional_properties = attributes[:'additionalProperties']
end
+ if attributes[:'error']
+ self.error = attributes[:'error']
+ end
+
end
# Check equality by comparing each attribute.
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
details == o.details &&
- error == o.error &&
- additional_properties == o.additional_properties
+ additional_properties == o.additional_properties &&
+ error == o.error
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [details, error, additional_properties].hash
+ [details, additional_properties, error].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)