Package com.sap.ai.sdk.core.model
Class RTAArtifactLabel
java.lang.Object
com.sap.ai.sdk.core.model.RTAArtifactLabel
RTAArtifactLabel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTAArtifactLabel. -
Method Summary
Modifier and TypeMethodDescriptionstatic RTAArtifactLabel.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAArtifactLabelinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAArtifactLabel.getKey()Get keygetValue()Get valueinthashCode()Set the key of thisRTAArtifactLabelinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAArtifactLabelinstance.voidSet the key of thisRTAArtifactLabelinstance.voidSet the value of thisRTAArtifactLabelinstance.toMap()Get the value of all properties of thisRTAArtifactLabelinstance including unrecognized properties.toString()Set the value of thisRTAArtifactLabelinstance and return the same instance.
-
Constructor Details
-
RTAArtifactLabel
protected RTAArtifactLabel()Default constructor for RTAArtifactLabel.
-
-
Method Details
-
key
Set the key of thisRTAArtifactLabelinstance and return the same instance.- Parameters:
key- The key of thisRTAArtifactLabel- Returns:
- The same instance of this
RTAArtifactLabelclass
-
getKey
Get key- Returns:
- key The key of this
RTAArtifactLabelinstance.
-
setKey
Set the key of thisRTAArtifactLabelinstance.- Parameters:
key- The key of thisRTAArtifactLabel
-
value
Set the value of thisRTAArtifactLabelinstance and return the same instance.- Parameters:
value- The value of thisRTAArtifactLabel- Returns:
- The same instance of this
RTAArtifactLabelclass
-
getValue
Get value- Returns:
- value The value of this
RTAArtifactLabelinstance.
-
setValue
Set the value of thisRTAArtifactLabelinstance.- Parameters:
value- The value of thisRTAArtifactLabel
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAArtifactLabel.- 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 thisRTAArtifactLabelinstance.- 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 thisRTAArtifactLabelinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAArtifactLabelinstance. 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 newRTAArtifactLabelinstance with all required arguments.
-
toMap()instead.