/** * Oracle Cloud Migrations API * A description of the Oracle Cloud Migrations API. * OpenAPI spec version: 20220919 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * A summary of the status of a work request. */ export interface WorkRequestSummary { /** * The type of work request. */ "operationType": model.OperationType; /** * Status of the current work request. */ "status": model.OperationStatus; /** * The ID of the work request. */ "id": string; /** * The OCID of the compartment that contains the work request. Work requests should be scoped to * the same compartment as the resource that is affected by the work request. If the work request affects multiple resources, * and these resources are not in the same compartment, the service team can choose the primary * resource of the compartment to be used. * */ "compartmentId": string; /** * The resources affected by this work request. */ "resources": Array; /** * The percentage of request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "percentComplete": number; /** * The date and time when the request was created, as described in * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. * */ "timeAccepted": Date; /** * The date and time when the request started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), * section 14.29. * */ "timeStarted"?: Date; /** * The date and time when the object was complete, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). * */ "timeFinished"?: Date; /** * Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. * Example: {@code {\"bar-key\": \"value\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace WorkRequestSummary { function getJsonObj(obj: WorkRequestSummary): object; function getDeserializedJsonObj(obj: WorkRequestSummary): object; }