lib/smooch-api/models/integration.rb in smooch-api-5.13.0 vs lib/smooch-api/models/integration.rb in smooch-api-5.15.0
- 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.13
+OpenAPI spec version: 5.15
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.2.3-SNAPSHOT
=end
@@ -76,10 +76,16 @@
attr_accessor :serviceCode
# LINE Switcher Secret.
attr_accessor :switcherSecret
+ # URL provided by LINE in the [Developer Console](https://developers.line.biz/console/).
+ attr_accessor :qrCodeUrl
+
+ # LINE Basic ID. Generated automatically when a `qrCodeUrl` is updated.
+ attr_accessor :lineId
+
# The bot's name. Returned on successful *line* integrations.
attr_accessor :botName
# AES Encoding Key. (Optional) Used for *wechat* integrations.
attr_accessor :encodingAesKey
@@ -221,10 +227,12 @@
:'channelId' => :'channelId',
:'channelSecret' => :'channelSecret',
:'channelAccessToken' => :'channelAccessToken',
:'serviceCode' => :'serviceCode',
:'switcherSecret' => :'switcherSecret',
+ :'qrCodeUrl' => :'qrCodeUrl',
+ :'lineId' => :'lineId',
:'botName' => :'botName',
:'encodingAesKey' => :'encodingAesKey',
:'fromAddress' => :'fromAddress',
:'certificate' => :'certificate',
:'deploymentId' => :'deploymentId',
@@ -288,10 +296,12 @@
:'channelId' => :'String',
:'channelSecret' => :'String',
:'channelAccessToken' => :'String',
:'serviceCode' => :'String',
:'switcherSecret' => :'String',
+ :'qrCodeUrl' => :'String',
+ :'lineId' => :'String',
:'botName' => :'String',
:'encodingAesKey' => :'String',
:'fromAddress' => :'String',
:'certificate' => :'String',
:'deploymentId' => :'String',
@@ -423,10 +433,18 @@
if attributes.has_key?(:'switcherSecret')
self.switcherSecret = attributes[:'switcherSecret']
end
+ if attributes.has_key?(:'qrCodeUrl')
+ self.qrCodeUrl = attributes[:'qrCodeUrl']
+ end
+
+ if attributes.has_key?(:'lineId')
+ self.lineId = attributes[:'lineId']
+ end
+
if attributes.has_key?(:'botName')
self.botName = attributes[:'botName']
end
if attributes.has_key?(:'encodingAesKey')
@@ -638,10 +656,12 @@
channelId == o.channelId &&
channelSecret == o.channelSecret &&
channelAccessToken == o.channelAccessToken &&
serviceCode == o.serviceCode &&
switcherSecret == o.switcherSecret &&
+ qrCodeUrl == o.qrCodeUrl &&
+ lineId == o.lineId &&
botName == o.botName &&
encodingAesKey == o.encodingAesKey &&
fromAddress == o.fromAddress &&
certificate == o.certificate &&
deploymentId == o.deploymentId &&
@@ -689,10 +709,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, 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, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, 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, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, status, error].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself