Package com.sap.ai.sdk.core.model
Class BckndCommonResourceQuotaResponseQuota
java.lang.Object
com.sap.ai.sdk.core.model.BckndCommonResourceQuotaResponseQuota
BckndCommonResourceQuotaResponseQuota
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndCommonResourceQuotaResponseQuota. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newBckndCommonResourceQuotaResponseQuotainstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndCommonResourceQuotaResponseQuota.The value can be 0(disabled) or a positive integer defining the maximum allowed numberinthashCode()Set the maxCount of thisBckndCommonResourceQuotaResponseQuotainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndCommonResourceQuotaResponseQuotainstance.voidsetMaxCount(Integer maxCount) Set the maxCount of thisBckndCommonResourceQuotaResponseQuotainstance.toMap()Get the value of all properties of thisBckndCommonResourceQuotaResponseQuotainstance including unrecognized properties.toString()
-
Constructor Details
-
BckndCommonResourceQuotaResponseQuota
protected BckndCommonResourceQuotaResponseQuota()Default constructor for BckndCommonResourceQuotaResponseQuota.
-
-
Method Details
-
maxCount
Set the maxCount of thisBckndCommonResourceQuotaResponseQuotainstance and return the same instance.- Parameters:
maxCount- The value can be 0(disabled) or a positive integer defining the maximum allowed number- Returns:
- The same instance of this
BckndCommonResourceQuotaResponseQuotaclass
-
getMaxCount
The value can be 0(disabled) or a positive integer defining the maximum allowed number- Returns:
- maxCount The maxCount of this
BckndCommonResourceQuotaResponseQuotainstance.
-
setMaxCount
Set the maxCount of thisBckndCommonResourceQuotaResponseQuotainstance.- Parameters:
maxCount- The value can be 0(disabled) or a positive integer defining the maximum allowed number
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndCommonResourceQuotaResponseQuota.- 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 thisBckndCommonResourceQuotaResponseQuotainstance.- 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 thisBckndCommonResourceQuotaResponseQuotainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndCommonResourceQuotaResponseQuotainstance. 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 newBckndCommonResourceQuotaResponseQuotainstance. No arguments are required.
-
toMap()instead.