# 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
    #
    # A2A provider specific recovery point details.
    #
    class A2ARecoveryPointDetails < ProviderSpecificRecoveryPointDetails

      include MsRestAzure


      def initialize
        @instanceType = "A2A"
      end

      attr_accessor :instanceType

      # @return [RecoveryPointSyncType] A value indicating whether the recovery
      # point is multi VM consistent. Possible values include:
      # 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint'
      attr_accessor :recovery_point_sync_type


      #
      # Mapper for A2ARecoveryPointDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'A2A',
          type: {
            name: 'Composite',
            class_name: 'A2ARecoveryPointDetails',
            model_properties: {
              instanceType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'instanceType',
                type: {
                  name: 'String'
                }
              },
              recovery_point_sync_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'recoveryPointSyncType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
