/** * * * OpenAPI spec version: 20190101 * * * 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/datascience/CreateModelCustomMetadatumArtifact.ts.html |here} to see how to use CreateModelCustomMetadatumArtifactRequest. */ export interface CreateModelCustomMetadatumArtifactRequest extends common.BaseRequest { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. */ "modelId": string; /** * The name of the model metadatum in the metadata. */ "metadatumKeyName": string; /** * The content length of the body. */ "contentLength"?: number; /** * The model custom metadata artifact to upload. */ "modelCustomMetadatumArtifact": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string; /** * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. * */ "opcRequestId"?: string; /** * This header allows you to specify a filename during upload. This file name is used to dispose of the file contents * while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file * name when downloading. * Example: {@code {\"Content-Disposition\": \"attachment\" * \"filename\"=\"model.tar.gz\" * \"Content-Length\": \"2347\" * \"Content-Type\": \"application/gzip\"}} * */ "contentDisposition"?: 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 is updated or deleted only if the {@code etag} you * provide matches the resource's current {@code etag} value. * */ "ifMatch"?: string; }