Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
object_storage
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: commit_multipart_upload_details.py
# coding: utf-8 # Copyright (c) 2016, 2024, 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. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class CommitMultipartUploadDetails(object): """ To 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`__. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm """ def __init__(self, **kwargs): """ Initializes a new CommitMultipartUploadDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param parts_to_commit: The value to assign to the parts_to_commit property of this CommitMultipartUploadDetails. :type parts_to_commit: list[oci.object_storage.models.CommitMultipartUploadPartDetails] :param parts_to_exclude: The value to assign to the parts_to_exclude property of this CommitMultipartUploadDetails. :type parts_to_exclude: list[int] """ self.swagger_types = { 'parts_to_commit': 'list[CommitMultipartUploadPartDetails]', 'parts_to_exclude': 'list[int]' } self.attribute_map = { 'parts_to_commit': 'partsToCommit', 'parts_to_exclude': 'partsToExclude' } self._parts_to_commit = None self._parts_to_exclude = None @property def parts_to_commit(self): """ **[Required]** Gets the parts_to_commit of this CommitMultipartUploadDetails. The part numbers and entity tags (ETags) for the parts to be committed. :return: The parts_to_commit of this CommitMultipartUploadDetails. :rtype: list[oci.object_storage.models.CommitMultipartUploadPartDetails] """ return self._parts_to_commit @parts_to_commit.setter def parts_to_commit(self, parts_to_commit): """ Sets the parts_to_commit of this CommitMultipartUploadDetails. The part numbers and entity tags (ETags) for the parts to be committed. :param parts_to_commit: The parts_to_commit of this CommitMultipartUploadDetails. :type: list[oci.object_storage.models.CommitMultipartUploadPartDetails] """ self._parts_to_commit = parts_to_commit @property def parts_to_exclude(self): """ Gets the parts_to_exclude of this CommitMultipartUploadDetails. The part numbers for the parts to be excluded from the completed object. Each part created for this upload must be in either partsToExclude or partsToCommit, but cannot be in both. :return: The parts_to_exclude of this CommitMultipartUploadDetails. :rtype: list[int] """ return self._parts_to_exclude @parts_to_exclude.setter def parts_to_exclude(self, parts_to_exclude): """ Sets the parts_to_exclude of this CommitMultipartUploadDetails. The part numbers for the parts to be excluded from the completed object. Each part created for this upload must be in either partsToExclude or partsToCommit, but cannot be in both. :param parts_to_exclude: The parts_to_exclude of this CommitMultipartUploadDetails. :type: list[int] """ self._parts_to_exclude = parts_to_exclude def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other