# 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 # # Hyper V replica provider specific settings # class HyperVVirtualMachineDetails < ConfigurationSettings include MsRestAzure def initialize @instanceType = "HyperVVirtualMachine" end attr_accessor :instanceType # @return [String] The source id of the object. attr_accessor :source_item_id # @return [String] The id of the object in fabric. attr_accessor :generation # @return [OSDetails] The Last replication time. attr_accessor :os_details # @return [Array] The Last successful failover time. attr_accessor :disk_details # # Mapper for HyperVVirtualMachineDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'HyperVVirtualMachine', type: { name: 'Composite', class_name: 'HyperVVirtualMachineDetails', model_properties: { instanceType: { required: true, serialized_name: 'instanceType', type: { name: 'String' } }, source_item_id: { required: false, serialized_name: 'sourceItemId', type: { name: 'String' } }, generation: { required: false, serialized_name: 'generation', type: { name: 'String' } }, os_details: { required: false, serialized_name: 'osDetails', type: { name: 'Composite', class_name: 'OSDetails' } }, disk_details: { required: false, serialized_name: 'diskDetails', type: { name: 'Sequence', element: { required: false, serialized_name: 'DiskDetailsElementType', type: { name: 'Composite', class_name: 'DiskDetails' } } } } } } } end end end end