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// ObjectSummary 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 ObjectSummary struct { 19 20 // The name of the object. Avoid entering confidential information. 21 // Example: test/object1.log 22 Name *string `mandatory:"true" json:"name"` 23 24 // Size of the object in bytes. 25 Size *int64 `mandatory:"false" json:"size"` 26 27 // Base64-encoded MD5 hash of the object data. 28 Md5 *string `mandatory:"false" json:"md5"` 29 30 // The date and time the object was created, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29. 31 TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` 32} 33 34func (m ObjectSummary) String() string { 35 return common.PointerString(m) 36} 37