@Generated(value="OracleSDKGenerator", comments="API Version: 1.0.017") public final class TransferPackage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
TransferPackage.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 TransferPackage.Builder
, which maintain a
set of all explicitly set fields called TransferPackage.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 |
TransferPackage.Builder |
static class |
TransferPackage.LifecycleState |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TransferPackage(String label,
TransferPackage.LifecycleState lifecycleState,
String transferJobId,
Date creationTime,
String originalPackageDeliveryTrackingNumber,
String returnPackageDeliveryTrackingNumber,
String packageDeliveryVendor,
String transferSiteShippingAddress,
List<String> attachedTransferDeviceLabels)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TransferPackage.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getAttachedTransferDeviceLabels()
Transfer Devices attached to this Transfer Package
|
Date |
getCreationTime() |
String |
getLabel() |
TransferPackage.LifecycleState |
getLifecycleState() |
String |
getOriginalPackageDeliveryTrackingNumber() |
String |
getPackageDeliveryVendor() |
String |
getReturnPackageDeliveryTrackingNumber() |
String |
getTransferJobId() |
String |
getTransferSiteShippingAddress() |
int |
hashCode() |
TransferPackage.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"label","lifecycleState","transferJobId","creationTime","originalPackageDeliveryTrackingNumber","returnPackageDeliveryTrackingNumber","packageDeliveryVendor","transferSiteShippingAddress","attachedTransferDeviceLabels"}) public TransferPackage(String label, TransferPackage.LifecycleState lifecycleState, String transferJobId, Date creationTime, String originalPackageDeliveryTrackingNumber, String returnPackageDeliveryTrackingNumber, String packageDeliveryVendor, String transferSiteShippingAddress, List<String> attachedTransferDeviceLabels)
public static TransferPackage.Builder builder()
Create a new builder.
public TransferPackage.Builder toBuilder()
public String getLabel()
public TransferPackage.LifecycleState getLifecycleState()
public String getTransferJobId()
public Date getCreationTime()
public String getOriginalPackageDeliveryTrackingNumber()
public String getReturnPackageDeliveryTrackingNumber()
public String getPackageDeliveryVendor()
public String getTransferSiteShippingAddress()
public List<String> getAttachedTransferDeviceLabels()
Transfer Devices attached to this Transfer Package
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.