# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # Describes the run profile.
    #
    class RunProfile

      include MsRestAzure

      # @return [String] The run profile Id.
      attr_accessor :id

      # @return [String] The run profile name
      attr_accessor :name

      # @return [Array<RunStep>] The run steps of the run profile.
      attr_accessor :run_steps


      #
      # Mapper for RunProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RunProfile',
          type: {
            name: 'Composite',
            class_name: 'RunProfile',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              run_steps: {
                client_side_validation: true,
                required: false,
                serialized_name: 'runSteps',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'RunStepElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'RunStep'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
