Class ReasoningBlock
java.lang.Object
com.sap.ai.sdk.orchestration.model.ReasoningBlock
ReasoningBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the content of thisReasoningBlockinstance and return the same instance.static ReasoningBlockcreate()Create a newReasoningBlockinstance.booleanGet contentgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theReasoningBlock.Get signatureinthashCode()voidsetContent(String content) Set the content of thisReasoningBlockinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisReasoningBlockinstance.voidsetSignature(String signature) Set the signature of thisReasoningBlockinstance.Set the signature of thisReasoningBlockinstance and return the same instance.toMap()Get the value of all properties of thisReasoningBlockinstance including unrecognized properties.toString()
-
Constructor Details
-
ReasoningBlock
protected ReasoningBlock()Default constructor for ReasoningBlock.
-
-
Method Details
-
content
Set the content of thisReasoningBlockinstance and return the same instance.- Parameters:
content- The content of thisReasoningBlock- Returns:
- The same instance of this
ReasoningBlockclass
-
getContent
Get content- Returns:
- content The content of this
ReasoningBlockinstance.
-
setContent
Set the content of thisReasoningBlockinstance.- Parameters:
content- The content of thisReasoningBlock
-
signature
Set the signature of thisReasoningBlockinstance and return the same instance.- Parameters:
signature- The signature of thisReasoningBlock- Returns:
- The same instance of this
ReasoningBlockclass
-
getSignature
Get signature- Returns:
- signature The signature of this
ReasoningBlockinstance.
-
setSignature
Set the signature of thisReasoningBlockinstance.- Parameters:
signature- The signature of thisReasoningBlock
-
getCustomFieldNames
Get the names of the unrecognizable properties of theReasoningBlock.- 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 thisReasoningBlockinstance.- 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 thisReasoningBlockinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisReasoningBlockinstance. 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 newReasoningBlockinstance. No arguments are required.
-
toMap()instead.