# 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::Compute::Mgmt::V2020_06_01
  module Models
    #
    # The input for OrchestrationServiceState
    #
    class OrchestrationServiceStateInput

      include MsRestAzure

      # @return [OrchestrationServiceNames] The name of the service. Possible
      # values include: 'AutomaticRepairs'
      attr_accessor :service_name

      # @return [OrchestrationServiceStateAction] The action to be performed.
      # Possible values include: 'Resume', 'Suspend'
      attr_accessor :action


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