Package com.sap.ai.sdk.core.model
Class AiExecutionBulkModificationRequest
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionBulkModificationRequest
Request object to change status of multiple executions
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionBulkModificationRequest. -
Method Summary
Modifier and TypeMethodDescriptionaddExecutionsItem(AiExecutionModificationRequestWithIdentifier executionsItem) Add one executions instance to thisAiExecutionBulkModificationRequest.create()Create a newAiExecutionBulkModificationRequestinstance.booleanexecutions(Set<AiExecutionModificationRequestWithIdentifier> executions) Set the executions of thisAiExecutionBulkModificationRequestinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionBulkModificationRequest.Get executionsinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionBulkModificationRequestinstance.voidsetExecutions(Set<AiExecutionModificationRequestWithIdentifier> executions) Set the executions of thisAiExecutionBulkModificationRequestinstance.toMap()Get the value of all properties of thisAiExecutionBulkModificationRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionBulkModificationRequest
protected AiExecutionBulkModificationRequest()Default constructor for AiExecutionBulkModificationRequest.
-
-
Method Details
-
executions
@Nonnull public AiExecutionBulkModificationRequest executions(@Nullable Set<AiExecutionModificationRequestWithIdentifier> executions) Set the executions of thisAiExecutionBulkModificationRequestinstance and return the same instance.- Parameters:
executions- The executions of thisAiExecutionBulkModificationRequest- Returns:
- The same instance of this
AiExecutionBulkModificationRequestclass
-
addExecutionsItem
@Nonnull public AiExecutionBulkModificationRequest addExecutionsItem(@Nonnull AiExecutionModificationRequestWithIdentifier executionsItem) Add one executions instance to thisAiExecutionBulkModificationRequest.- Parameters:
executionsItem- The executions that should be added- Returns:
- The same instance of type
AiExecutionBulkModificationRequest
-
getExecutions
Get executions- Returns:
- executions The executions of this
AiExecutionBulkModificationRequestinstance.
-
setExecutions
Set the executions of thisAiExecutionBulkModificationRequestinstance.- Parameters:
executions- The executions of thisAiExecutionBulkModificationRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionBulkModificationRequest.- 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 thisAiExecutionBulkModificationRequestinstance.- 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 thisAiExecutionBulkModificationRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionBulkModificationRequestinstance. 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 newAiExecutionBulkModificationRequestinstance. No arguments are required.
-
toMap()instead.