class Azure::KeyVault::V7_2_preview::Models::RestoreOperation

Restore operation

Attributes

end_time[RW]

@return The end time of the restore operation

error[RW]

@return [Error] Error encountered, if any, during the restore operation.

job_id[RW]

@return [String] Identifier for the restore operation.

start_time[RW]

@return The start time of the restore operation

status[RW]

@return [String] Status of the restore operation.

status_details[RW]

@return [String] The status details of restore operation.

Private Class Methods

mapper() click to toggle source

Mapper for RestoreOperation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.2-preview/generated/azure_key_vault/models/restore_operation.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestoreOperation',
    type: {
      name: 'Composite',
      class_name: 'RestoreOperation',
      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