# 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 # # Network Mapping Properties. # class NetworkMappingProperties include MsRestAzure # @return [String] The pairing state for network mapping. attr_accessor :state # @return [String] The primary network friendly name. attr_accessor :primary_network_friendly_name # @return [String] The primary network id for network mapping. attr_accessor :primary_network_id # @return [String] The primary fabric friendly name. attr_accessor :primary_fabric_friendly_name # @return [String] The recovery network friendly name. attr_accessor :recovery_network_friendly_name # @return [String] The recovery network id for network mapping. attr_accessor :recovery_network_id # @return [String] The recovery fabric ARM id. attr_accessor :recovery_fabric_arm_id # @return [String] The recovery fabric friendly name. attr_accessor :recovery_fabric_friendly_name # @return [NetworkMappingFabricSpecificSettings] The fabric specific # settings. attr_accessor :fabric_specific_settings # # Mapper for NetworkMappingProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'NetworkMappingProperties', type: { name: 'Composite', class_name: 'NetworkMappingProperties', model_properties: { state: { required: false, serialized_name: 'state', type: { name: 'String' } }, primary_network_friendly_name: { required: false, serialized_name: 'primaryNetworkFriendlyName', type: { name: 'String' } }, primary_network_id: { required: false, serialized_name: 'primaryNetworkId', type: { name: 'String' } }, primary_fabric_friendly_name: { required: false, serialized_name: 'primaryFabricFriendlyName', type: { name: 'String' } }, recovery_network_friendly_name: { required: false, serialized_name: 'recoveryNetworkFriendlyName', type: { name: 'String' } }, recovery_network_id: { required: false, serialized_name: 'recoveryNetworkId', type: { name: 'String' } }, recovery_fabric_arm_id: { required: false, serialized_name: 'recoveryFabricArmId', type: { name: 'String' } }, recovery_fabric_friendly_name: { required: false, serialized_name: 'recoveryFabricFriendlyName', type: { name: 'String' } }, fabric_specific_settings: { required: false, serialized_name: 'fabricSpecificSettings', type: { name: 'Composite', polymorphic_discriminator: 'instanceType', uber_parent: 'NetworkMappingFabricSpecificSettings', class_name: 'NetworkMappingFabricSpecificSettings' } } } } } end end end end