lib/smooch-api/models/integration.rb in smooch-api-5.28.0 vs lib/smooch-api/models/integration.rb in smooch-api-5.29.1
- old
+ new
@@ -1,11 +1,11 @@
=begin
#Smooch
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
-OpenAPI spec version: 5.28
+OpenAPI spec version: 5.29
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.2.3-SNAPSHOT
=end
@@ -208,11 +208,20 @@
attr_accessor :status
# The error causing the integration to fail. Will be present when `status` is 'error'.
attr_accessor :error
+ # A key tied to Apple Business Chat Messaging Service Provider
+ attr_accessor :apiSecret
+ # A unique ID tied to the brand using Apple Business Chat
+ attr_accessor :businessId
+
+ # A unique identifier for an Apple Business Chat partner registered as a Messaging Service Provider through Apple Business Register
+ attr_accessor :mspId
+
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'id' => :'_id',
:'type' => :'type',
@@ -276,11 +285,14 @@
:'businessIconUrl' => :'businessIconUrl',
:'backgroundImageUrl' => :'backgroundImageUrl',
:'originWhitelist' => :'originWhitelist',
:'hideUnsubscribeLink' => :'hideUnsubscribeLink',
:'status' => :'status',
- :'error' => :'error'
+ :'error' => :'error',
+ :'apiSecret' => :'apiSecret',
+ :'businessId' => :'businessId',
+ :'mspId' => :'mspId'
}
end
# Attribute type mapping.
def self.swagger_types
@@ -347,11 +359,14 @@
:'businessIconUrl' => :'String',
:'backgroundImageUrl' => :'String',
:'originWhitelist' => :'Array<String>',
:'hideUnsubscribeLink' => :'BOOLEAN',
:'status' => :'String',
- :'error' => :'String'
+ :'error' => :'String',
+ :'apiSecret' => :'String',
+ :'businessId' => :'String',
+ :'mspId' => :'String'
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -623,10 +638,22 @@
if attributes.has_key?(:'error')
self.error = attributes[:'error']
end
+ if attributes.has_key?(:'apiSecret')
+ self.apiSecret = attributes[:'apiSecret']
+ end
+
+ if attributes.has_key?(:'businessId')
+ self.businessId = attributes[:'businessId']
+ end
+
+ if attributes.has_key?(:'mspId')
+ self.mspId = attributes[:'mspId']
+ end
+
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
def list_invalid_properties
@@ -717,11 +744,14 @@
businessIconUrl == o.businessIconUrl &&
backgroundImageUrl == o.backgroundImageUrl &&
originWhitelist == o.originWhitelist &&
hideUnsubscribeLink == o.hideUnsubscribeLink &&
status == o.status &&
- error == o.error
+ error == o.error &&
+ apiSecret == o.apiSecret &&
+ businessId == o.businessId &&
+ mspId == o.mspId
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -729,10 +759,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, type, displayName, pageAccessToken, appId, appSecret, accessTokenUrl, webhookSecret, pageId, accountSid, authToken, phoneNumberSid, phoneNumber, name, token, uri, channelId, channelSecret, channelAccessToken, serviceCode, switcherSecret, qrCodeUrl, lineId, botName, encodingAesKey, fromAddress, certificate, deploymentId, baseUrl, hsmFallbackLanguage, password, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, userId, username, apiKey, domain, incomingAddress, accessKey, originator, signingKey, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, hideUnsubscribeLink, status, error].hash
+ [id, type, displayName, pageAccessToken, appId, appSecret, accessTokenUrl, webhookSecret, pageId, accountSid, authToken, phoneNumberSid, phoneNumber, name, token, uri, channelId, channelSecret, channelAccessToken, serviceCode, switcherSecret, qrCodeUrl, lineId, botName, encodingAesKey, fromAddress, certificate, deploymentId, baseUrl, hsmFallbackLanguage, password, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, userId, username, apiKey, domain, incomingAddress, accessKey, originator, signingKey, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, hideUnsubscribeLink, status, error, apiSecret, businessId, mspId].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself