# 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::V2018_01_10
  module Models
    #
    # Query parameter to enumerate protected items.
    #
    class ProtectedItemsQueryParameter

      include MsRestAzure

      # @return [String] The source fabric name filter.
      attr_accessor :source_fabric_name

      # @return [String] The recovery plan filter.
      attr_accessor :recovery_plan_name

      # @return [String] The vCenter name filter.
      attr_accessor :v_center_name

      # @return [String] The replication provider type.
      attr_accessor :instance_type

      # @return [MultiVmGroupCreateOption] Whether Multi VM group is auto
      # created or specified by user. Possible values include: 'AutoCreated',
      # 'UserSpecified'
      attr_accessor :multi_vm_group_create_option


      #
      # Mapper for ProtectedItemsQueryParameter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ProtectedItemsQueryParameter',
          type: {
            name: 'Composite',
            class_name: 'ProtectedItemsQueryParameter',
            model_properties: {
              source_fabric_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sourceFabricName',
                type: {
                  name: 'String'
                }
              },
              recovery_plan_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'recoveryPlanName',
                type: {
                  name: 'String'
                }
              },
              v_center_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vCenterName',
                type: {
                  name: 'String'
                }
              },
              instance_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              multi_vm_group_create_option: {
                client_side_validation: true,
                required: false,
                serialized_name: 'multiVmGroupCreateOption',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
