Package com.sap.ai.sdk.core.model
Class MetaAiApiLimits
java.lang.Object
com.sap.ai.sdk.core.model.MetaAiApiLimits
MetaAiApiLimits
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaAiApiLimits. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaAiApiLimitscreate()Create a newMetaAiApiLimitsinstance.deployments(MetaAiApiLimitsDeployments deployments) Set the deployments of thisMetaAiApiLimitsinstance and return the same instance.booleanexecutions(MetaAiApiLimitsExecutions executions) Set the executions of thisMetaAiApiLimitsinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaAiApiLimits.Get deploymentsGet executionsGet timeToLiveDeploymentsinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaAiApiLimitsinstance.voidsetDeployments(MetaAiApiLimitsDeployments deployments) Set the deployments of thisMetaAiApiLimitsinstance.voidsetExecutions(MetaAiApiLimitsExecutions executions) Set the executions of thisMetaAiApiLimitsinstance.voidsetTimeToLiveDeployments(MetaAiApiLimitsTimeToLiveDeployments timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiLimitsinstance.timeToLiveDeployments(MetaAiApiLimitsTimeToLiveDeployments timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiLimitsinstance and return the same instance.toMap()Get the value of all properties of thisMetaAiApiLimitsinstance including unrecognized properties.toString()
-
Constructor Details
-
MetaAiApiLimits
protected MetaAiApiLimits()Default constructor for MetaAiApiLimits.
-
-
Method Details
-
executions
Set the executions of thisMetaAiApiLimitsinstance and return the same instance.- Parameters:
executions- The executions of thisMetaAiApiLimits- Returns:
- The same instance of this
MetaAiApiLimitsclass
-
getExecutions
Get executions- Returns:
- executions The executions of this
MetaAiApiLimitsinstance.
-
setExecutions
Set the executions of thisMetaAiApiLimitsinstance.- Parameters:
executions- The executions of thisMetaAiApiLimits
-
deployments
Set the deployments of thisMetaAiApiLimitsinstance and return the same instance.- Parameters:
deployments- The deployments of thisMetaAiApiLimits- Returns:
- The same instance of this
MetaAiApiLimitsclass
-
getDeployments
Get deployments- Returns:
- deployments The deployments of this
MetaAiApiLimitsinstance.
-
setDeployments
Set the deployments of thisMetaAiApiLimitsinstance.- Parameters:
deployments- The deployments of thisMetaAiApiLimits
-
timeToLiveDeployments
@Nonnull public MetaAiApiLimits timeToLiveDeployments(@Nullable MetaAiApiLimitsTimeToLiveDeployments timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiLimitsinstance and return the same instance.- Parameters:
timeToLiveDeployments- The timeToLiveDeployments of thisMetaAiApiLimits- Returns:
- The same instance of this
MetaAiApiLimitsclass
-
getTimeToLiveDeployments
Get timeToLiveDeployments- Returns:
- timeToLiveDeployments The timeToLiveDeployments of this
MetaAiApiLimitsinstance.
-
setTimeToLiveDeployments
public void setTimeToLiveDeployments(@Nullable MetaAiApiLimitsTimeToLiveDeployments timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiLimitsinstance.- Parameters:
timeToLiveDeployments- The timeToLiveDeployments of thisMetaAiApiLimits
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaAiApiLimits.- 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 thisMetaAiApiLimitsinstance.- 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 thisMetaAiApiLimitsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaAiApiLimitsinstance. 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 newMetaAiApiLimitsinstance. No arguments are required.
-
toMap()instead.