# 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::Resources::Mgmt::V2019_07_01
  module Models
    #
    # Deployment What-If operation settings.
    #
    class DeploymentWhatIfSettings

      include MsRestAzure

      # @return [WhatIfResultFormat] The format of the What-If results.
      # Possible values include: 'ResourceIdOnly', 'FullResourcePayloads'
      attr_accessor :result_format


      #
      # Mapper for DeploymentWhatIfSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeploymentWhatIfSettings',
          type: {
            name: 'Composite',
            class_name: 'DeploymentWhatIfSettings',
            model_properties: {
              result_format: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resultFormat',
                type: {
                  name: 'Enum',
                  module: 'WhatIfResultFormat'
                }
              }
            }
          }
        }
      end
    end
  end
end
