@Generated(value="OracleSDKGenerator", comments="API Version: 20230401") public final class SubscriptionSku extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
SKU information.
Note: Objects should always be created or deserialized using the SubscriptionSku.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 SubscriptionSku.Builder
, which maintain a
set of all explicitly set fields called SubscriptionSku.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 |
SubscriptionSku.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SubscriptionSku(String sku,
Integer quantity,
String description,
String gsiOrderLineId,
String licensePartDescription,
String metricName,
Boolean isBaseServiceComponent,
Boolean isAdditionalInstance,
Date startDate,
Date endDate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionSku.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
Description of the stock units.
|
Date |
getEndDate()
Date and time when the SKU ended.
|
String |
getGsiOrderLineId()
Sales order line identifier.
|
Boolean |
getIsAdditionalInstance()
Specifies if an additional test instance can be provisioned by the SaaS application.
|
Boolean |
getIsBaseServiceComponent()
Specifies if the SKU is considered as a parent or child.
|
String |
getLicensePartDescription()
Description of the covered product belonging to this SKU.
|
String |
getMetricName()
Base metric for billing the service.
|
Integer |
getQuantity()
Quantity of the stock units.
|
String |
getSku()
Stock Keeping Unit (SKU) ID.
|
Date |
getStartDate()
Date and time when the SKU was created.
|
int |
hashCode() |
SubscriptionSku.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"sku","quantity","description","gsiOrderLineId","licensePartDescription","metricName","isBaseServiceComponent","isAdditionalInstance","startDate","endDate"}) public SubscriptionSku(String sku, Integer quantity, String description, String gsiOrderLineId, String licensePartDescription, String metricName, Boolean isBaseServiceComponent, Boolean isAdditionalInstance, Date startDate, Date endDate)
public static SubscriptionSku.Builder builder()
Create a new builder.
public SubscriptionSku.Builder toBuilder()
public String getSku()
Stock Keeping Unit (SKU) ID.
public Integer getQuantity()
Quantity of the stock units.
public String getDescription()
Description of the stock units.
public String getGsiOrderLineId()
Sales order line identifier.
public String getLicensePartDescription()
Description of the covered product belonging to this SKU.
public String getMetricName()
Base metric for billing the service.
public Boolean getIsBaseServiceComponent()
Specifies if the SKU is considered as a parent or child.
public Boolean getIsAdditionalInstance()
Specifies if an additional test instance can be provisioned by the SaaS application.
public Date getStartDate()
Date and time when the SKU was created.
public Date getEndDate()
Date and time when the SKU ended.
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.