@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class CreateLimitItemDetails extends CreateItemDetails
Details of Limit Item
Note: Objects should always be created or deserialized using the CreateLimitItemDetails.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 CreateLimitItemDetails.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateLimitItemDetails.Builder |
static class |
CreateLimitItemDetails.LimitStatus
Status of the Limit
|
| Constructor and Description |
|---|
CreateLimitItemDetails(CreateCategoryDetails category,
CreateSubCategoryDetails subCategory,
CreateIssueTypeDetails issueType,
String name,
Integer currentLimit,
Integer currentUsage,
Integer requestedLimit,
CreateLimitItemDetails.LimitStatus limitStatus)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateLimitItemDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getCurrentLimit()
Current available limit of the resource
|
Integer |
getCurrentUsage()
Current used limit of the resource
|
CreateLimitItemDetails.LimitStatus |
getLimitStatus()
Status of the Limit
|
Integer |
getRequestedLimit()
Requested limit for the resource
|
int |
hashCode() |
String |
toString() |
getCategory, getIssueType, getName, getSubCategory@Deprecated public CreateLimitItemDetails(CreateCategoryDetails category, CreateSubCategoryDetails subCategory, CreateIssueTypeDetails issueType, String name, Integer currentLimit, Integer currentUsage, Integer requestedLimit, CreateLimitItemDetails.LimitStatus limitStatus)
public static CreateLimitItemDetails.Builder builder()
Create a new builder.
public Integer getCurrentLimit()
Current available limit of the resource
public Integer getCurrentUsage()
Current used limit of the resource
public Integer getRequestedLimit()
Requested limit for the resource
public CreateLimitItemDetails.LimitStatus getLimitStatus()
Status of the Limit
public String toString()
toString in class CreateItemDetailspublic boolean equals(Object o)
equals in class CreateItemDetailsprotected boolean canEqual(Object other)
canEqual in class CreateItemDetailspublic int hashCode()
hashCode in class CreateItemDetailsCopyright © 2016–2020. All rights reserved.