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// ListObjects 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 ListObjects struct {
19
20	// An array of object summaries.
21	Objects []ObjectSummary `mandatory:"true" json:"objects"`
22
23	// Prefixes that are common to the results returned by the request if the request specified a delimiter.
24	Prefixes []string `mandatory:"false" json:"prefixes"`
25
26	// The name of the object to use in the 'startWith' parameter to obtain the next page of
27	// a truncated ListObjects response. Avoid entering confidential information.
28	// Example: test/object1.log
29	NextStartWith *string `mandatory:"false" json:"nextStartWith"`
30}
31
32func (m ListObjects) String() string {
33	return common.PointerString(m)
34}
35