# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Web::Mgmt::V2016_08_01 module Models # # A setting difference between two deployment slots of an app. # class SlotDifference < ProxyOnlyResource include MsRestAzure # @return [String] Type of the difference: Information, Warning or Error. attr_accessor :slot_difference_type # @return [String] The type of the setting: General, AppSetting or # ConnectionString. attr_accessor :setting_type # @return [String] Rule that describes how to process the setting # difference during a slot swap. attr_accessor :diff_rule # @return [String] Name of the setting. attr_accessor :setting_name # @return [String] Value of the setting in the current slot. attr_accessor :value_in_current_slot # @return [String] Value of the setting in the target slot. attr_accessor :value_in_target_slot # @return [String] Description of the setting difference. attr_accessor :description # # Mapper for SlotDifference class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SlotDifference', type: { name: 'Composite', class_name: 'SlotDifference', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, slot_difference_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.type', type: { name: 'String' } }, setting_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.settingType', type: { name: 'String' } }, diff_rule: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.diffRule', type: { name: 'String' } }, setting_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.settingName', type: { name: 'String' } }, value_in_current_slot: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.valueInCurrentSlot', type: { name: 'String' } }, value_in_target_slot: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.valueInTargetSlot', type: { name: 'String' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', type: { name: 'String' } } } } } end end end end