# 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
  module Models
    #
    # The properties of the Failover Process Server request.
    #
    class FailoverProcessServerRequestProperties

      include MsRestAzure

      # @return [String] The container identifier.
      attr_accessor :container_name

      # @return [String] The source process server.
      attr_accessor :source_process_server_id

      # @return [String] The new process server.
      attr_accessor :target_process_server_id

      # @return [Array<String>] The VMS to migrate.
      attr_accessor :vms_to_migrate

      # @return [String] A value for failover type. It can be
      # systemlevel/serverlevel
      attr_accessor :update_type


      #
      # Mapper for FailoverProcessServerRequestProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FailoverProcessServerRequestProperties',
          type: {
            name: 'Composite',
            class_name: 'FailoverProcessServerRequestProperties',
            model_properties: {
              container_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'containerName',
                type: {
                  name: 'String'
                }
              },
              source_process_server_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sourceProcessServerId',
                type: {
                  name: 'String'
                }
              },
              target_process_server_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'targetProcessServerId',
                type: {
                  name: 'String'
                }
              },
              vms_to_migrate: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vmsToMigrate',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              update_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'updateType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
