@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class LimitItem extends Item
Reserved for future use.
Note: Objects should always be created or deserialized using the LimitItem.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 LimitItem.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 |
LimitItem.Builder |
static class |
LimitItem.LimitStatus
The status of the request.
|
Constructor and Description |
---|
LimitItem(String itemKey,
String name,
Category category,
SubCategory subCategory,
IssueType issueType,
Integer currentLimit,
Integer currentUsage,
Integer requestedLimit,
LimitItem.LimitStatus limitStatus)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LimitItem.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getCurrentLimit()
The currently available limit of the resource.
|
Integer |
getCurrentUsage()
The current usage of the resource.
|
LimitItem.LimitStatus |
getLimitStatus()
The status of the request.
|
Integer |
getRequestedLimit()
The requested limit for the resource.
|
int |
hashCode() |
LimitItem.Builder |
toBuilder() |
String |
toString() |
getCategory, getIssueType, getItemKey, getName, getSubCategory
@Deprecated public LimitItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, Integer currentLimit, Integer currentUsage, Integer requestedLimit, LimitItem.LimitStatus limitStatus)
public static LimitItem.Builder builder()
Create a new builder.
public LimitItem.Builder toBuilder()
public Integer getCurrentLimit()
The currently available limit of the resource.
public Integer getCurrentUsage()
The current usage of the resource.
public Integer getRequestedLimit()
The requested limit for the resource.
public LimitItem.LimitStatus getLimitStatus()
The status of the request.
Copyright © 2016–2022. All rights reserved.