Package com.sap.ai.sdk.core.model
Class BckndCommonResourceQuotaResponse
java.lang.Object
com.sap.ai.sdk.core.model.BckndCommonResourceQuotaResponse
BckndCommonResourceQuotaResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndCommonResourceQuotaResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newBckndCommonResourceQuotaResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndCommonResourceQuotaResponse.getQuota()Get quotagetUsage()Get usageinthashCode()Set the quota of thisBckndCommonResourceQuotaResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndCommonResourceQuotaResponseinstance.voidSet the quota of thisBckndCommonResourceQuotaResponseinstance.voidSet the usage of thisBckndCommonResourceQuotaResponseinstance.toMap()Get the value of all properties of thisBckndCommonResourceQuotaResponseinstance including unrecognized properties.toString()Set the usage of thisBckndCommonResourceQuotaResponseinstance and return the same instance.
-
Constructor Details
-
BckndCommonResourceQuotaResponse
protected BckndCommonResourceQuotaResponse()Default constructor for BckndCommonResourceQuotaResponse.
-
-
Method Details
-
usage
@Nonnull public BckndCommonResourceQuotaResponse usage(@Nullable BckndCommonResourceQuotaResponseUsage usage) Set the usage of thisBckndCommonResourceQuotaResponseinstance and return the same instance.- Parameters:
usage- The usage of thisBckndCommonResourceQuotaResponse- Returns:
- The same instance of this
BckndCommonResourceQuotaResponseclass
-
getUsage
Get usage- Returns:
- usage The usage of this
BckndCommonResourceQuotaResponseinstance.
-
setUsage
Set the usage of thisBckndCommonResourceQuotaResponseinstance.- Parameters:
usage- The usage of thisBckndCommonResourceQuotaResponse
-
quota
@Nonnull public BckndCommonResourceQuotaResponse quota(@Nonnull BckndCommonResourceQuotaResponseQuota quota) Set the quota of thisBckndCommonResourceQuotaResponseinstance and return the same instance.- Parameters:
quota- The quota of thisBckndCommonResourceQuotaResponse- Returns:
- The same instance of this
BckndCommonResourceQuotaResponseclass
-
getQuota
Get quota- Returns:
- quota The quota of this
BckndCommonResourceQuotaResponseinstance.
-
setQuota
Set the quota of thisBckndCommonResourceQuotaResponseinstance.- Parameters:
quota- The quota of thisBckndCommonResourceQuotaResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndCommonResourceQuotaResponse.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisBckndCommonResourceQuotaResponseinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisBckndCommonResourceQuotaResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndCommonResourceQuotaResponseinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newBckndCommonResourceQuotaResponseinstance with all required arguments.
-
toMap()instead.