Class OrchestrationConfigListResponse
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.OrchestrationConfigListResponse
OrchestrationConfigListResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for OrchestrationConfigListResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(OrchestrationConfigGetResponse resourcesItem) Add one resources instance to thisOrchestrationConfigListResponse.Set the count of thisOrchestrationConfigListResponseinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newOrchestrationConfigListResponseinstance with all required arguments.booleangetCount()Get countgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theOrchestrationConfigListResponse.Get resourcesinthashCode()resources(List<OrchestrationConfigGetResponse> resources) Set the resources of thisOrchestrationConfigListResponseinstance and return the same instance.voidSet the count of thisOrchestrationConfigListResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisOrchestrationConfigListResponseinstance.voidsetResources(List<OrchestrationConfigGetResponse> resources) Set the resources of thisOrchestrationConfigListResponseinstance.toMap()Get the value of all properties of thisOrchestrationConfigListResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
OrchestrationConfigListResponse
protected OrchestrationConfigListResponse()Default constructor for OrchestrationConfigListResponse.
-
-
Method Details
-
count
Set the count of thisOrchestrationConfigListResponseinstance and return the same instance.- Parameters:
count- The count of thisOrchestrationConfigListResponse- Returns:
- The same instance of this
OrchestrationConfigListResponseclass
-
getCount
Get count- Returns:
- count The count of this
OrchestrationConfigListResponseinstance.
-
setCount
Set the count of thisOrchestrationConfigListResponseinstance.- Parameters:
count- The count of thisOrchestrationConfigListResponse
-
resources
@Nonnull public OrchestrationConfigListResponse resources(@Nonnull List<OrchestrationConfigGetResponse> resources) Set the resources of thisOrchestrationConfigListResponseinstance and return the same instance.- Parameters:
resources- The resources of thisOrchestrationConfigListResponse- Returns:
- The same instance of this
OrchestrationConfigListResponseclass
-
addResourcesItem
@Nonnull public OrchestrationConfigListResponse addResourcesItem(@Nonnull OrchestrationConfigGetResponse resourcesItem) Add one resources instance to thisOrchestrationConfigListResponse.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
OrchestrationConfigListResponse
-
getResources
Get resources- Returns:
- resources The resources of this
OrchestrationConfigListResponseinstance.
-
setResources
Set the resources of thisOrchestrationConfigListResponseinstance.- Parameters:
resources- The resources of thisOrchestrationConfigListResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theOrchestrationConfigListResponse.- 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 thisOrchestrationConfigListResponseinstance.- 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 thisOrchestrationConfigListResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisOrchestrationConfigListResponseinstance. 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 newOrchestrationConfigListResponseinstance with all required arguments.
-
toMap()instead.