# encoding: utf-8
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
  module Models
    #
    # Extended information about the Item Level Recovery (ILR) provision
    # action, operation status.
    #
    class OperationStatusProvisionILRExtendedInfo < OperationStatusExtendedInfo

      include MsRestAzure


      def initialize
        @objectType = "OperationStatusProvisionILRExtendedInfo"
      end

      attr_accessor :objectType

      # @return [InstantItemRecoveryTarget] Target details for the file or
      # folder restore.
      attr_accessor :recovery_target


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