1// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2// Code generated. DO NOT EDIT.
3
4// Object Storage Service API
5//
6// Common set of Object Storage and Archive Storage APIs for managing buckets, objects, and related resources.
7//
8
9package objectstorage
10
11import (
12	"github.com/oracle/oci-go-sdk/common"
13)
14
15// CreateMultipartUploadDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized,
16// talk to an administrator. If you are an administrator who needs to write policies to give users access, see
17// Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
18type CreateMultipartUploadDetails struct {
19
20	// The name of the object to which this multi-part upload is targeted. Avoid entering confidential information.
21	// Example: test/object1.log
22	Object *string `mandatory:"true" json:"object"`
23
24	// The content type of the object to upload.
25	ContentType *string `mandatory:"false" json:"contentType"`
26
27	// The content language of the object to upload.
28	ContentLanguage *string `mandatory:"false" json:"contentLanguage"`
29
30	// The content encoding of the object to upload.
31	ContentEncoding *string `mandatory:"false" json:"contentEncoding"`
32
33	// Arbitrary string keys and values for the user-defined metadata for the object.
34	// Keys must be in "opc-meta-*" format. Avoid entering confidential information.
35	Metadata map[string]string `mandatory:"false" json:"metadata"`
36}
37
38func (m CreateMultipartUploadDetails) String() string {
39	return common.PointerString(m)
40}
41