|
| 1 | +/** |
| 2 | + * WebLogic Management Service API |
| 3 | + * WebLogic Management Service is an OCI service that enables a unified view and management of WebLogic domains |
| 4 | +in Oracle Cloud Infrastructure. Features include on-demand patching of WebLogic domains, rollback of the |
| 5 | +last applied patch, discovery and management of WebLogic instances on a compute host. |
| 6 | +
|
| 7 | + * OpenAPI spec version: 20241101 |
| 8 | + * |
| 9 | + * |
| 10 | + * NOTE: This class is auto generated by OracleSDKGenerator. |
| 11 | + * Do not edit the class manually. |
| 12 | + * |
| 13 | + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. |
| 14 | + * 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. |
| 15 | + */ |
| 16 | + |
| 17 | +import * as model from "../model"; |
| 18 | +import common = require("oci-common"); |
| 19 | + |
| 20 | +/** |
| 21 | + * The information of a backup for the server. |
| 22 | + * |
| 23 | + */ |
| 24 | +export interface BackupSummary { |
| 25 | + /** |
| 26 | + * The unique identifier of the backup. |
| 27 | + * <p> |
| 28 | + **Note:** Not an [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). |
| 29 | + * |
| 30 | + */ |
| 31 | + "id": string; |
| 32 | + /** |
| 33 | + * The type of the backup. |
| 34 | + */ |
| 35 | + "type": model.BackupType; |
| 36 | + /** |
| 37 | + * The managed instance ID of the server for which the backup was created. |
| 38 | + */ |
| 39 | + "managedInstanceId"?: string; |
| 40 | + /** |
| 41 | + * The location of the backup. For backups of type LOCAL_FILE this is the absolute path of the backup file. |
| 42 | + */ |
| 43 | + "backupLocation": string; |
| 44 | + /** |
| 45 | + * The type of content of the backup. |
| 46 | + */ |
| 47 | + "contentType"?: model.BackupContentType; |
| 48 | + /** |
| 49 | + * The date and time when the backup was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format). |
| 50 | +* <p> |
| 51 | +Example: {@code 2016-08-25T21:10:29.600Z} |
| 52 | +* |
| 53 | + */ |
| 54 | + "timeCreated"?: Date; |
| 55 | +} |
| 56 | + |
| 57 | +export namespace BackupSummary { |
| 58 | + export function getJsonObj(obj: BackupSummary): object { |
| 59 | + const jsonObj = { ...obj, ...{} }; |
| 60 | + |
| 61 | + return jsonObj; |
| 62 | + } |
| 63 | + export function getDeserializedJsonObj(obj: BackupSummary): object { |
| 64 | + const jsonObj = { ...obj, ...{} }; |
| 65 | + |
| 66 | + return jsonObj; |
| 67 | + } |
| 68 | +} |
0 commit comments