@Generated(value="OracleSDKGenerator", comments="API Version: 20200801") 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 ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionSku.Builder |
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-time when the SKU ended.
|
String |
getGsiOrderLineId()
Sales order line identifier.
|
Boolean |
getIsAdditionalInstance()
Denotes if an additional test instance can be provisioned by the SAAS application.
|
Boolean |
getIsBaseServiceComponent()
Denotes 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 ID.
|
Date |
getStartDate()
Date-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 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()
Denotes if the SKU is considered as a parent or child.
public Boolean getIsAdditionalInstance()
Denotes if an additional test instance can be provisioned by the SAAS application.
public Date getStartDate()
Date-time when the SKU was created.
public Date getEndDate()
Date-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–2023. All rights reserved.