Package com.sap.ai.sdk.core.model
Class AiDeploymentBulkModificationResponse
java.lang.Object
com.sap.ai.sdk.core.model.AiDeploymentBulkModificationResponse
Response object with array of deployments
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiDeploymentBulkModificationResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddDeploymentsItem(AiDeploymentModificationResponseListInner deploymentsItem) Add one deployments instance to thisAiDeploymentBulkModificationResponse.create()Create a newAiDeploymentBulkModificationResponseinstance.deployments(List<AiDeploymentModificationResponseListInner> deployments) Set the deployments of thisAiDeploymentBulkModificationResponseinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiDeploymentBulkModificationResponse.Get deploymentsinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiDeploymentBulkModificationResponseinstance.voidsetDeployments(List<AiDeploymentModificationResponseListInner> deployments) Set the deployments of thisAiDeploymentBulkModificationResponseinstance.toMap()Get the value of all properties of thisAiDeploymentBulkModificationResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
AiDeploymentBulkModificationResponse
protected AiDeploymentBulkModificationResponse()Default constructor for AiDeploymentBulkModificationResponse.
-
-
Method Details
-
deployments
@Nonnull public AiDeploymentBulkModificationResponse deployments(@Nullable List<AiDeploymentModificationResponseListInner> deployments) Set the deployments of thisAiDeploymentBulkModificationResponseinstance and return the same instance.- Parameters:
deployments- The deployments of thisAiDeploymentBulkModificationResponse- Returns:
- The same instance of this
AiDeploymentBulkModificationResponseclass
-
addDeploymentsItem
@Nonnull public AiDeploymentBulkModificationResponse addDeploymentsItem(@Nonnull AiDeploymentModificationResponseListInner deploymentsItem) Add one deployments instance to thisAiDeploymentBulkModificationResponse.- Parameters:
deploymentsItem- The deployments that should be added- Returns:
- The same instance of type
AiDeploymentBulkModificationResponse
-
getDeployments
Get deployments- Returns:
- deployments The deployments of this
AiDeploymentBulkModificationResponseinstance.
-
setDeployments
Set the deployments of thisAiDeploymentBulkModificationResponseinstance.- Parameters:
deployments- The deployments of thisAiDeploymentBulkModificationResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiDeploymentBulkModificationResponse.- 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 thisAiDeploymentBulkModificationResponseinstance.- 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 thisAiDeploymentBulkModificationResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiDeploymentBulkModificationResponseinstance. 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 newAiDeploymentBulkModificationResponseinstance. No arguments are required.
-
toMap()instead.