# 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::RecoveryServicesBackup::Mgmt::V2019_05_13
  module Models
    #
    # Disk configuration
    #
    class RecoveryPointDiskConfiguration

      include MsRestAzure

      # @return [Integer] Number of disks included in backup
      attr_accessor :number_of_disks_included_in_backup

      # @return [Integer] Number of disks attached to the VM
      attr_accessor :number_of_disks_attached_to_vm

      # @return [Array<DiskInformation>] Information of disks included in
      # backup
      attr_accessor :included_disk_list

      # @return [Array<DiskInformation>] Information of disks excluded from
      # backup
      attr_accessor :excluded_disk_list


      #
      # Mapper for RecoveryPointDiskConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RecoveryPointDiskConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RecoveryPointDiskConfiguration',
            model_properties: {
              number_of_disks_included_in_backup: {
                client_side_validation: true,
                required: false,
                serialized_name: 'numberOfDisksIncludedInBackup',
                type: {
                  name: 'Number'
                }
              },
              number_of_disks_attached_to_vm: {
                client_side_validation: true,
                required: false,
                serialized_name: 'numberOfDisksAttachedToVm',
                type: {
                  name: 'Number'
                }
              },
              included_disk_list: {
                client_side_validation: true,
                required: false,
                serialized_name: 'includedDiskList',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DiskInformationElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DiskInformation'
                      }
                  }
                }
              },
              excluded_disk_list: {
                client_side_validation: true,
                required: false,
                serialized_name: 'excludedDiskList',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DiskInformationElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DiskInformation'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
