ObjectVersionCollection¶
- class oci.object_storage.models.ObjectVersionCollection(**kwargs)¶
Bases:
objectTo use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Methods:
__init__(**kwargs)Initializes a new ObjectVersionCollection object with values from keyword arguments.
Attributes:
[Required] Gets the items of this ObjectVersionCollection.
Gets the prefixes of this ObjectVersionCollection.
- __init__(**kwargs)¶
Initializes a new ObjectVersionCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
items (list[oci.object_storage.models.ObjectVersionSummary]) – The value to assign to the items property of this ObjectVersionCollection.
prefixes (list[str]) – The value to assign to the prefixes property of this ObjectVersionCollection.
- property items¶
[Required] Gets the items of this ObjectVersionCollection. An array of object version summaries.
- Returns
The items of this ObjectVersionCollection.
- Return type
- property prefixes¶
Gets the prefixes of this ObjectVersionCollection. Prefixes that are common to the results returned by the request if the request specified a delimiter.
- Returns
The prefixes of this ObjectVersionCollection.
- Return type
list[str]