Package com.sap.ai.sdk.core.model
Class BckndDeploymentResourceQuotaResponse
java.lang.Object
com.sap.ai.sdk.core.model.BckndDeploymentResourceQuotaResponse
BckndDeploymentResourceQuotaResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndDeploymentResourceQuotaResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddQuotasItem(BckndDeploymentQuotaItem quotasItem) Add one quotas instance to thisBckndDeploymentResourceQuotaResponse.create()Create a type-safe, fluent-api builder object to construct a newBckndDeploymentResourceQuotaResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndDeploymentResourceQuotaResponse.Get quotasgetUsage()Get usageinthashCode()quotas(List<BckndDeploymentQuotaItem> quotas) Set the quotas of thisBckndDeploymentResourceQuotaResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndDeploymentResourceQuotaResponseinstance.voidsetQuotas(List<BckndDeploymentQuotaItem> quotas) Set the quotas of thisBckndDeploymentResourceQuotaResponseinstance.voidsetUsage(BckndDeploymentUsage usage) Set the usage of thisBckndDeploymentResourceQuotaResponseinstance.toMap()Get the value of all properties of thisBckndDeploymentResourceQuotaResponseinstance including unrecognized properties.toString()usage(BckndDeploymentUsage usage) Set the usage of thisBckndDeploymentResourceQuotaResponseinstance and return the same instance.
-
Constructor Details
-
BckndDeploymentResourceQuotaResponse
protected BckndDeploymentResourceQuotaResponse()Default constructor for BckndDeploymentResourceQuotaResponse.
-
-
Method Details
-
usage
Set the usage of thisBckndDeploymentResourceQuotaResponseinstance and return the same instance.- Parameters:
usage- The usage of thisBckndDeploymentResourceQuotaResponse- Returns:
- The same instance of this
BckndDeploymentResourceQuotaResponseclass
-
getUsage
Get usage- Returns:
- usage The usage of this
BckndDeploymentResourceQuotaResponseinstance.
-
setUsage
Set the usage of thisBckndDeploymentResourceQuotaResponseinstance.- Parameters:
usage- The usage of thisBckndDeploymentResourceQuotaResponse
-
quotas
@Nonnull public BckndDeploymentResourceQuotaResponse quotas(@Nonnull List<BckndDeploymentQuotaItem> quotas) Set the quotas of thisBckndDeploymentResourceQuotaResponseinstance and return the same instance.- Parameters:
quotas- The quotas of thisBckndDeploymentResourceQuotaResponse- Returns:
- The same instance of this
BckndDeploymentResourceQuotaResponseclass
-
addQuotasItem
@Nonnull public BckndDeploymentResourceQuotaResponse addQuotasItem(@Nonnull BckndDeploymentQuotaItem quotasItem) Add one quotas instance to thisBckndDeploymentResourceQuotaResponse.- Parameters:
quotasItem- The quotas that should be added- Returns:
- The same instance of type
BckndDeploymentResourceQuotaResponse
-
getQuotas
Get quotas- Returns:
- quotas The quotas of this
BckndDeploymentResourceQuotaResponseinstance.
-
setQuotas
Set the quotas of thisBckndDeploymentResourceQuotaResponseinstance.- Parameters:
quotas- The quotas of thisBckndDeploymentResourceQuotaResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndDeploymentResourceQuotaResponse.- 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 thisBckndDeploymentResourceQuotaResponseinstance.- 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 thisBckndDeploymentResourceQuotaResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndDeploymentResourceQuotaResponseinstance. 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 newBckndDeploymentResourceQuotaResponseinstance with all required arguments.
-
toMap()instead.