lib/smooch-api/models/integration_create.rb in smooch-api-3.6.0 vs lib/smooch-api/models/integration_create.rb in smooch-api-3.7.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: 3.6 +OpenAPI spec version: 3.7 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3-SNAPSHOT =end @@ -88,10 +88,13 @@ attr_accessor :originator # This color will be used in the messenger header and the button or tab in idle state. (Optional) Used for *Web Messenger* integrations. attr_accessor :brand_color + # When `true`, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. The default value is `false`. (Optional) Used for *Web Messenger* integrations. + attr_accessor :fixed_intro_pane + # This color will be used for customer messages, quick replies and actions in the footer. (Optional) Used for *Web Messenger* integrations. attr_accessor :conversation_color # This color will be used for call-to-actions inside your messages. (Optional) Used for *Web Messenger* integrations. attr_accessor :action_color @@ -150,10 +153,11 @@ :'access_token_key' => :'accessTokenKey', :'access_token_secret' => :'accessTokenSecret', :'access_key' => :'accessKey', :'originator' => :'originator', :'brand_color' => :'brandColor', + :'fixed_intro_pane' => :'fixedIntroPane', :'conversation_color' => :'conversationColor', :'action_color' => :'actionColor', :'display_style' => :'displayStyle', :'button_icon_url' => :'buttonIconUrl', :'button_width' => :'buttonWidth', @@ -192,10 +196,11 @@ :'access_token_key' => :'String', :'access_token_secret' => :'String', :'access_key' => :'String', :'originator' => :'String', :'brand_color' => :'String', + :'fixed_intro_pane' => :'BOOLEAN', :'conversation_color' => :'String', :'action_color' => :'String', :'display_style' => :'String', :'button_icon_url' => :'String', :'button_width' => :'String', @@ -314,10 +319,14 @@ if attributes.has_key?(:'brandColor') self.brand_color = attributes[:'brandColor'] end + if attributes.has_key?(:'fixedIntroPane') + self.fixed_intro_pane = attributes[:'fixedIntroPane'] + end + if attributes.has_key?(:'conversationColor') self.conversation_color = attributes[:'conversationColor'] end if attributes.has_key?(:'actionColor') @@ -412,10 +421,11 @@ access_token_key == o.access_token_key && access_token_secret == o.access_token_secret && access_key == o.access_key && originator == o.originator && brand_color == o.brand_color && + fixed_intro_pane == o.fixed_intro_pane && conversation_color == o.conversation_color && action_color == o.action_color && display_style == o.display_style && button_icon_url == o.button_icon_url && button_width == o.button_width && @@ -434,10 +444,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [type, page_access_token, app_id, app_secret, account_sid, auth_token, phone_number_sid, token, channel_id, channel_secret, channel_access_token, encoding_aes_key, from_address, certificate, password, auto_update_badge, server_key, sender_id, consumer_key, consumer_secret, access_token_key, access_token_secret, access_key, originator, brand_color, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist].hash + [type, page_access_token, app_id, app_secret, account_sid, auth_token, phone_number_sid, token, channel_id, channel_secret, channel_access_token, encoding_aes_key, from_address, certificate, password, auto_update_badge, server_key, sender_id, consumer_key, consumer_secret, access_token_key, access_token_secret, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself