# 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::DeploymentManager::Mgmt::V2019_11_01_preview
  module Models
    #
    # The properties of a step resource.
    #
    class StepProperties

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HealthCheck"] = "HealthCheckStepProperties"
      @@discriminatorMap["Wait"] = "WaitStepProperties"

      def initialize
        @stepType = "StepProperties"
      end

      attr_accessor :stepType


      #
      # Mapper for StepProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StepProperties',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'stepType',
            uber_parent: 'StepProperties',
            class_name: 'StepProperties',
            model_properties: {
            }
          }
        }
      end
    end
  end
end
