lib/smooch-api/models/integration_create.rb in smooch-api-5.24.1 vs lib/smooch-api/models/integration_create.rb in smooch-api-5.25.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.24 +OpenAPI spec version: 5.25 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3-SNAPSHOT =end @@ -82,10 +82,13 @@ attr_accessor :username # Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations. attr_accessor :autoUpdateBadge + # Flag specifying the APN environment to connect to (`production` if true, `sandbox` otherwise). Defaults to value inferred from certificate if not specified. (Optional) Used for *apn* integrations. + attr_accessor :production + # Your server key from the fcm console. Required for *fcm* integrations. attr_accessor :serverKey # Your sender id from the fcm console. Required for *fcm* integrations. attr_accessor :senderId @@ -187,10 +190,11 @@ :'fromAddress' => :'fromAddress', :'certificate' => :'certificate', :'password' => :'password', :'username' => :'username', :'autoUpdateBadge' => :'autoUpdateBadge', + :'production' => :'production', :'serverKey' => :'serverKey', :'senderId' => :'senderId', :'tier' => :'tier', :'envName' => :'envName', :'consumerKey' => :'consumerKey', @@ -242,10 +246,11 @@ :'fromAddress' => :'String', :'certificate' => :'String', :'password' => :'String', :'username' => :'String', :'autoUpdateBadge' => :'BOOLEAN', + :'production' => :'BOOLEAN', :'serverKey' => :'String', :'senderId' => :'String', :'tier' => :'String', :'envName' => :'String', :'consumerKey' => :'String', @@ -371,10 +376,14 @@ if attributes.has_key?(:'autoUpdateBadge') self.autoUpdateBadge = attributes[:'autoUpdateBadge'] end + if attributes.has_key?(:'production') + self.production = attributes[:'production'] + end + if attributes.has_key?(:'serverKey') self.serverKey = attributes[:'serverKey'] end if attributes.has_key?(:'senderId') @@ -527,10 +536,11 @@ fromAddress == o.fromAddress && certificate == o.certificate && password == o.password && username == o.username && autoUpdateBadge == o.autoUpdateBadge && + production == o.production && serverKey == o.serverKey && senderId == o.senderId && tier == o.tier && envName == o.envName && consumerKey == o.consumerKey && @@ -564,10 +574,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [type, displayName, pageAccessToken, appId, appSecret, accountSid, authToken, baseUrl, hsmFallbackLanguage, phoneNumberSid, token, channelId, channelSecret, channelAccessToken, deploymentId, serviceCode, switcherSecret, encodingAesKey, fromAddress, certificate, password, username, autoUpdateBadge, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, accessTokenUrl, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, qrCodeUrl, hideUnsubscribeLink].hash + [type, displayName, pageAccessToken, appId, appSecret, accountSid, authToken, baseUrl, hsmFallbackLanguage, phoneNumberSid, token, channelId, channelSecret, channelAccessToken, deploymentId, serviceCode, switcherSecret, encodingAesKey, fromAddress, certificate, password, username, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, accessTokenUrl, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, qrCodeUrl, hideUnsubscribeLink].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself