@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CopyObjectRequestSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copy metadata object response summary.
Note: Objects should always be created or deserialized using the CopyObjectRequestSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CopyObjectRequestSummary.Builder
, which maintain a
set of all explicitly set fields called CopyObjectRequestSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CopyObjectRequestSummary.Builder |
static class |
CopyObjectRequestSummary.CopyMetadataObjectRequestStatus
Copy Object request status.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CopyObjectRequestSummary(String key,
String sourceWorkspaceId,
List<String> objectKeys,
CopyConflictResolution copyConflictResolution,
CopyObjectRequestSummary.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus,
String createdBy,
String createdByName,
Integer totalSourceObjectCount,
Integer totalObjectsCopiedIntoTarget,
Long timeStartedInMillis,
Long timeEndedInMillis,
List<CopyObjectMetadataSummary> copiedItems,
List<CopyObjectMetadataSummary> referencedItems,
String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CopyObjectRequestSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<CopyObjectMetadataSummary> |
getCopiedItems()
The array of copy object details.
|
CopyConflictResolution |
getCopyConflictResolution() |
CopyObjectRequestSummary.CopyMetadataObjectRequestStatus |
getCopyMetadataObjectRequestStatus()
Copy Object request status.
|
String |
getCreatedBy()
OCID of the user who initiated copy request.
|
String |
getCreatedByName()
Name of the user who created the copy object request.
|
String |
getKey()
Copy object request key.
|
String |
getName()
Name of the copy object request.
|
List<String> |
getObjectKeys()
The list of the objects to be copied.
|
List<CopyObjectMetadataSummary> |
getReferencedItems()
The array of copied referenced objects.
|
String |
getSourceWorkspaceId()
The workspace id of the source from where we need to copy object.
|
Long |
getTimeEndedInMillis()
Time at which the request was completely processed.
|
Long |
getTimeStartedInMillis()
Time at which the request started getting processed.
|
Integer |
getTotalObjectsCopiedIntoTarget()
Number of objects copied into the target.
|
Integer |
getTotalSourceObjectCount()
Number of source objects to be copied.
|
int |
hashCode() |
CopyObjectRequestSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","sourceWorkspaceId","objectKeys","copyConflictResolution","copyMetadataObjectRequestStatus","createdBy","createdByName","totalSourceObjectCount","totalObjectsCopiedIntoTarget","timeStartedInMillis","timeEndedInMillis","copiedItems","referencedItems","name"}) public CopyObjectRequestSummary(String key, String sourceWorkspaceId, List<String> objectKeys, CopyConflictResolution copyConflictResolution, CopyObjectRequestSummary.CopyMetadataObjectRequestStatus copyMetadataObjectRequestStatus, String createdBy, String createdByName, Integer totalSourceObjectCount, Integer totalObjectsCopiedIntoTarget, Long timeStartedInMillis, Long timeEndedInMillis, List<CopyObjectMetadataSummary> copiedItems, List<CopyObjectMetadataSummary> referencedItems, String name)
public static CopyObjectRequestSummary.Builder builder()
Create a new builder.
public CopyObjectRequestSummary.Builder toBuilder()
public String getKey()
Copy object request key.
public String getSourceWorkspaceId()
The workspace id of the source from where we need to copy object.
public List<String> getObjectKeys()
The list of the objects to be copied.
public CopyConflictResolution getCopyConflictResolution()
public CopyObjectRequestSummary.CopyMetadataObjectRequestStatus getCopyMetadataObjectRequestStatus()
Copy Object request status.
public String getCreatedBy()
OCID of the user who initiated copy request.
public String getCreatedByName()
Name of the user who created the copy object request.
public Integer getTotalSourceObjectCount()
Number of source objects to be copied.
public Integer getTotalObjectsCopiedIntoTarget()
Number of objects copied into the target.
public Long getTimeStartedInMillis()
Time at which the request started getting processed.
public Long getTimeEndedInMillis()
Time at which the request was completely processed.
public List<CopyObjectMetadataSummary> getCopiedItems()
The array of copy object details.
public List<CopyObjectMetadataSummary> getReferencedItems()
The array of copied referenced objects.
public String getName()
Name of the copy object request.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.