Package com.sap.ai.sdk.core.model
Class AiDeploymentBulkModificationRequest
java.lang.Object
com.sap.ai.sdk.core.model.AiDeploymentBulkModificationRequest
Request object for changing the target status of multiple deployments
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiDeploymentBulkModificationRequest. -
Method Summary
Modifier and TypeMethodDescriptionaddDeploymentsItem(AiDeploymentModificationRequestWithIdentifier deploymentsItem) Add one deployments instance to thisAiDeploymentBulkModificationRequest.create()Create a newAiDeploymentBulkModificationRequestinstance.deployments(Set<AiDeploymentModificationRequestWithIdentifier> deployments) Set the deployments of thisAiDeploymentBulkModificationRequestinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiDeploymentBulkModificationRequest.Get deploymentsinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiDeploymentBulkModificationRequestinstance.voidsetDeployments(Set<AiDeploymentModificationRequestWithIdentifier> deployments) Set the deployments of thisAiDeploymentBulkModificationRequestinstance.toMap()Get the value of all properties of thisAiDeploymentBulkModificationRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
AiDeploymentBulkModificationRequest
protected AiDeploymentBulkModificationRequest()Default constructor for AiDeploymentBulkModificationRequest.
-
-
Method Details
-
deployments
@Nonnull public AiDeploymentBulkModificationRequest deployments(@Nullable Set<AiDeploymentModificationRequestWithIdentifier> deployments) Set the deployments of thisAiDeploymentBulkModificationRequestinstance and return the same instance.- Parameters:
deployments- The deployments of thisAiDeploymentBulkModificationRequest- Returns:
- The same instance of this
AiDeploymentBulkModificationRequestclass
-
addDeploymentsItem
@Nonnull public AiDeploymentBulkModificationRequest addDeploymentsItem(@Nonnull AiDeploymentModificationRequestWithIdentifier deploymentsItem) Add one deployments instance to thisAiDeploymentBulkModificationRequest.- Parameters:
deploymentsItem- The deployments that should be added- Returns:
- The same instance of type
AiDeploymentBulkModificationRequest
-
getDeployments
Get deployments- Returns:
- deployments The deployments of this
AiDeploymentBulkModificationRequestinstance.
-
setDeployments
public void setDeployments(@Nullable Set<AiDeploymentModificationRequestWithIdentifier> deployments) Set the deployments of thisAiDeploymentBulkModificationRequestinstance.- Parameters:
deployments- The deployments of thisAiDeploymentBulkModificationRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiDeploymentBulkModificationRequest.- 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 thisAiDeploymentBulkModificationRequestinstance.- 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 thisAiDeploymentBulkModificationRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiDeploymentBulkModificationRequestinstance. 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 newAiDeploymentBulkModificationRequestinstance. No arguments are required.
-
toMap()instead.