Class OrchestrationConfigPostRequest
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.OrchestrationConfigPostRequest
OrchestrationConfigPostRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for OrchestrationConfigPostRequest. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newOrchestrationConfigPostRequestinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theOrchestrationConfigPostRequest.getName()Get nameGet scenariogetSpec()Get specGet versioninthashCode()Set the name of thisOrchestrationConfigPostRequestinstance and return the same instance.Set the scenario of thisOrchestrationConfigPostRequestinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisOrchestrationConfigPostRequestinstance.voidSet the name of thisOrchestrationConfigPostRequestinstance.voidsetScenario(String scenario) Set the scenario of thisOrchestrationConfigPostRequestinstance.voidsetSpec(OrchestrationConfig spec) Set the spec of thisOrchestrationConfigPostRequestinstance.voidsetVersion(String version) Set the version of thisOrchestrationConfigPostRequestinstance.spec(OrchestrationConfig spec) Set the spec of thisOrchestrationConfigPostRequestinstance and return the same instance.toMap()Get the value of all properties of thisOrchestrationConfigPostRequestinstance including unrecognized properties.toString()Set the version of thisOrchestrationConfigPostRequestinstance and return the same instance.
-
Constructor Details
-
OrchestrationConfigPostRequest
protected OrchestrationConfigPostRequest()Default constructor for OrchestrationConfigPostRequest.
-
-
Method Details
-
name
Set the name of thisOrchestrationConfigPostRequestinstance and return the same instance.- Parameters:
name- The name of thisOrchestrationConfigPostRequest- Returns:
- The same instance of this
OrchestrationConfigPostRequestclass
-
getName
Get name- Returns:
- name The name of this
OrchestrationConfigPostRequestinstance.
-
setName
Set the name of thisOrchestrationConfigPostRequestinstance.- Parameters:
name- The name of thisOrchestrationConfigPostRequest
-
version
Set the version of thisOrchestrationConfigPostRequestinstance and return the same instance.- Parameters:
version- The version of thisOrchestrationConfigPostRequest- Returns:
- The same instance of this
OrchestrationConfigPostRequestclass
-
getVersion
Get version- Returns:
- version The version of this
OrchestrationConfigPostRequestinstance.
-
setVersion
Set the version of thisOrchestrationConfigPostRequestinstance.- Parameters:
version- The version of thisOrchestrationConfigPostRequest
-
scenario
Set the scenario of thisOrchestrationConfigPostRequestinstance and return the same instance.- Parameters:
scenario- The scenario of thisOrchestrationConfigPostRequest- Returns:
- The same instance of this
OrchestrationConfigPostRequestclass
-
getScenario
Get scenario- Returns:
- scenario The scenario of this
OrchestrationConfigPostRequestinstance.
-
setScenario
Set the scenario of thisOrchestrationConfigPostRequestinstance.- Parameters:
scenario- The scenario of thisOrchestrationConfigPostRequest
-
spec
Set the spec of thisOrchestrationConfigPostRequestinstance and return the same instance.- Parameters:
spec- The spec of thisOrchestrationConfigPostRequest- Returns:
- The same instance of this
OrchestrationConfigPostRequestclass
-
getSpec
Get spec- Returns:
- spec The spec of this
OrchestrationConfigPostRequestinstance.
-
setSpec
Set the spec of thisOrchestrationConfigPostRequestinstance.- Parameters:
spec- The spec of thisOrchestrationConfigPostRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theOrchestrationConfigPostRequest.- 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 thisOrchestrationConfigPostRequestinstance.- 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 thisOrchestrationConfigPostRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisOrchestrationConfigPostRequestinstance. 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 newOrchestrationConfigPostRequestinstance with all required arguments.
-
toMap()instead.