# 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::KeyVault::V7_2_preview module Models # # Selective Key Restore operation # class SelectiveKeyRestoreOperation include MsRestAzure # @return [String] Status of the restore operation. attr_accessor :status # @return [String] The status details of restore operation. attr_accessor :status_details # @return [Error] Error encountered, if any, during the selective key # restore operation. attr_accessor :error # @return [String] Identifier for the selective key restore operation. attr_accessor :job_id # @return The start time of the restore operation attr_accessor :start_time # @return The end time of the restore operation attr_accessor :end_time # # Mapper for SelectiveKeyRestoreOperation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SelectiveKeyRestoreOperation', type: { name: 'Composite', class_name: 'SelectiveKeyRestoreOperation', model_properties: { status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } }, status_details: { client_side_validation: true, required: false, serialized_name: 'statusDetails', type: { name: 'String' } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'Error' } }, job_id: { client_side_validation: true, required: false, serialized_name: 'jobId', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'UnixTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'UnixTime' } } } } } end end end end