Package com.sap.ai.sdk.grounding.model
Class MetadataOperation
java.lang.Object
com.sap.ai.sdk.grounding.model.MetadataOperation
MetadataOperation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetadataOperation. -
Method Summary
Modifier and TypeMethodDescriptionaddValuesItem(String valuesItem) Add one values instance to thisMetadataOperation.static MetadataOperation.Buildercreate()Create a type-safe, fluent-api builder object to construct a newMetadataOperationinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetadataOperation.getOp()Get opList of values to update.inthashCode()Set the op of thisMetadataOperationinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetadataOperationinstance.voidSet the op of thisMetadataOperationinstance.voidSet the values of thisMetadataOperationinstance.toMap()Get the value of all properties of thisMetadataOperationinstance including unrecognized properties.toString()Set the values of thisMetadataOperationinstance and return the same instance.
-
Constructor Details
-
MetadataOperation
protected MetadataOperation()Default constructor for MetadataOperation.
-
-
Method Details
-
op
Set the op of thisMetadataOperationinstance and return the same instance.- Parameters:
op- The op of thisMetadataOperation- Returns:
- The same instance of this
MetadataOperationclass
-
getOp
Get op- Returns:
- op The op of this
MetadataOperationinstance.
-
setOp
Set the op of thisMetadataOperationinstance.- Parameters:
op- The op of thisMetadataOperation
-
values
Set the values of thisMetadataOperationinstance and return the same instance.- Parameters:
values- List of values to update.- Returns:
- The same instance of this
MetadataOperationclass
-
addValuesItem
Add one values instance to thisMetadataOperation.- Parameters:
valuesItem- The values that should be added- Returns:
- The same instance of type
MetadataOperation
-
getValues
List of values to update.- Returns:
- values The values of this
MetadataOperationinstance.
-
setValues
Set the values of thisMetadataOperationinstance.- Parameters:
values- List of values to update.
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetadataOperation.- 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 thisMetadataOperationinstance.- 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 thisMetadataOperationinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetadataOperationinstance. 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 newMetadataOperationinstance with all required arguments.
-
toMap()instead.