# 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 # # Input definition for planned failover input properties. # class UnplannedFailoverInputProperties include MsRestAzure # @return [String] Failover direction. attr_accessor :failover_direction # @return [String] Source site operations status attr_accessor :source_site_operations # @return [ProviderSpecificFailoverInput] Provider specific settings attr_accessor :provider_specific_details # # Mapper for UnplannedFailoverInputProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UnplannedFailoverInputProperties', type: { name: 'Composite', class_name: 'UnplannedFailoverInputProperties', model_properties: { failover_direction: { client_side_validation: true, required: false, serialized_name: 'failoverDirection', type: { name: 'String' } }, source_site_operations: { client_side_validation: true, required: false, serialized_name: 'sourceSiteOperations', type: { name: 'String' } }, provider_specific_details: { client_side_validation: true, required: false, serialized_name: 'providerSpecificDetails', type: { name: 'Composite', polymorphic_discriminator: 'instanceType', uber_parent: 'ProviderSpecificFailoverInput', class_name: 'ProviderSpecificFailoverInput' } } } } } end end end end