/** * * * OpenAPI spec version: 20181231 * * * 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 common = require("oci-common"); import stream = require("stream"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/cims/PutAttachment.ts.html |here} to see how to use PutAttachmentRequest. */ export interface PutAttachmentRequest extends common.BaseRequest { /** * File to be uploaded as attachment to the Service Request. */ "putAttachmentDetails": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string; /** * Unique identifier for the support request. */ "incidentKey": string; /** * The name of the file to attach to the support request. Avoid entering confidential information. */ "attachmentName": string; /** * The OCID of the tenancy. */ "compartmentId": string; /** * Set to {@code true} when the attachment contains personal information (PI) * or protected health information (PHI). * */ "isRestrictedFlag": boolean; /** * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. */ "opcRequestId"?: string; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. * User OCID is mandatory for OCI Users and optional for Multicloud users. * */ "ocid"?: string; /** * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. */ "ifMatch"?: string; /** * The region of the tenancy. */ "homeregion"?: string; /** * The kind of support request. */ "problemtype"?: string; /** * Token type that determine which cloud provider the request come from. */ "bearertokentype"?: string; /** * Token that provided by multi cloud provider, which help to validate the email. */ "bearertoken"?: string; /** * IdToken that provided by multi cloud provider, which help to validate the email. */ "idtoken"?: string; /** * The OCID of identity domain. * DomainID is mandatory if the user is part of Non Default Identity domain. * */ "domainid"?: string; }