# 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::NetApp::Mgmt::V2019_11_01 module Models # # Replication status # class ReplicationStatus include MsRestAzure # @return [Boolean] Replication health check attr_accessor :healthy # @return [RelationshipStatus] Status of the mirror relationship. # Possible values include: 'Idle', 'Transferring' attr_accessor :relationship_status # @return [MirrorState] The status of the replication. Possible values # include: 'Uninitialized', 'Mirrored', 'Broken' attr_accessor :mirror_state # @return [String] The progress of the replication attr_accessor :total_progress # @return [String] Displays error message if the replication is in an # error state attr_accessor :error_message # # Mapper for ReplicationStatus class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'replicationStatus', type: { name: 'Composite', class_name: 'ReplicationStatus', model_properties: { healthy: { client_side_validation: true, required: false, serialized_name: 'healthy', type: { name: 'Boolean' } }, relationship_status: { client_side_validation: true, required: false, serialized_name: 'relationshipStatus', type: { name: 'String' } }, mirror_state: { client_side_validation: true, required: false, serialized_name: 'mirrorState', type: { name: 'String' } }, total_progress: { client_side_validation: true, required: false, serialized_name: 'totalProgress', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { name: 'String' } } } } } end end end end