@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class UpdateOfferDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The information to be updated.
Note: Objects should always be created or deserialized using the UpdateOfferDetails.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 UpdateOfferDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateOfferDetails.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 |
UpdateOfferDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateOfferDetails(String displayName,
String buyerCompartmentId,
String description,
String internalNotes,
Date timeStartDate,
String duration,
Date timeAcceptBy,
Pricing pricing,
BuyerInformation buyerInformation,
SellerInformation sellerInformation,
List<ResourceBundle> resourceBundles,
List<CustomField> customFields,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateOfferDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBuyerCompartmentId()
OCID of the buyer’s tenancy (root compartment).
|
BuyerInformation |
getBuyerInformation() |
List<CustomField> |
getCustomFields()
A list of key value pairs specified by the seller
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
Description of the Offer
|
String |
getDisplayName()
Offers Identifier
|
String |
getDuration()
Duration the Offer will be active after its start date.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getInternalNotes()
Internal notes of the Offer
|
Pricing |
getPricing() |
List<ResourceBundle> |
getResourceBundles()
A list of Resource Bundles associated with an Offer.
|
SellerInformation |
getSellerInformation() |
Date |
getTimeAcceptBy()
The time the Offer must be accepted by the Buyer before the Offer becomes invalid.
|
Date |
getTimeStartDate()
The time the Offer will become active after it has been accepted by the Buyer.
|
int |
hashCode() |
UpdateOfferDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","buyerCompartmentId","description","internalNotes","timeStartDate","duration","timeAcceptBy","pricing","buyerInformation","sellerInformation","resourceBundles","customFields","freeformTags","definedTags"}) public UpdateOfferDetails(String displayName, String buyerCompartmentId, String description, String internalNotes, Date timeStartDate, String duration, Date timeAcceptBy, Pricing pricing, BuyerInformation buyerInformation, SellerInformation sellerInformation, List<ResourceBundle> resourceBundles, List<CustomField> customFields, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static UpdateOfferDetails.Builder builder()
Create a new builder.
public UpdateOfferDetails.Builder toBuilder()
public String getDisplayName()
Offers Identifier
public String getBuyerCompartmentId()
OCID of the buyer’s tenancy (root compartment).
public String getDescription()
Description of the Offer
public String getInternalNotes()
Internal notes of the Offer
public Date getTimeStartDate()
The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
public String getDuration()
Duration the Offer will be active after its start date. An ISO8601 extended formatted string.
public Date getTimeAcceptBy()
The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
public Pricing getPricing()
public BuyerInformation getBuyerInformation()
public SellerInformation getSellerInformation()
public List<ResourceBundle> getResourceBundles()
A list of Resource Bundles associated with an Offer.
public List<CustomField> getCustomFields()
A list of key value pairs specified by the seller
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
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.