Sha256: 455c7fbba0da8b2f922466e8db6040c3619693a70c4a2c5e513889c5e9d9b689

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

# 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::V2016_08_10
  module Models
    #
    # Switch protection input properties.
    #
    class SwitchProtectionInputProperties

      include MsRestAzure

      # @return [String] The unique replication protected item name.
      attr_accessor :replication_protected_item_name

      # @return [SwitchProtectionProviderSpecificInput] Provider specific
      # switch protection input.
      attr_accessor :provider_specific_details


      #
      # Mapper for SwitchProtectionInputProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'SwitchProtectionInputProperties',
          type: {
            name: 'Composite',
            class_name: 'SwitchProtectionInputProperties',
            model_properties: {
              replication_protected_item_name: {
                required: false,
                serialized_name: 'replicationProtectedItemName',
                type: {
                  name: 'String'
                }
              },
              provider_specific_details: {
                required: false,
                serialized_name: 'providerSpecificDetails',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'instanceType',
                  uber_parent: 'SwitchProtectionProviderSpecificInput',
                  class_name: 'SwitchProtectionProviderSpecificInput'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input_properties.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/switch_protection_input_properties.rb