# 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::DevTestLabs::Mgmt::V2018_09_15
  module Models
    #
    # This represents the payload required to import a virtual machine from a
    # different lab into the current one
    #
    class ImportLabVirtualMachineRequest

      include MsRestAzure

      # @return [String] The full resource ID of the virtual machine to be
      # imported.
      attr_accessor :source_virtual_machine_resource_id

      # @return [String] The name of the virtual machine in the destination lab
      attr_accessor :destination_virtual_machine_name


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