Class AgentResponsesShoppingListSuccessBuilder
- All Implemented Interfaces:
Builder<AgentResponsesShoppingListSuccess>
Example to create an instance using the builder pattern
AgentResponsesShoppingListSuccess agentResponsesShoppingListSuccess = AgentResponsesShoppingListSuccess.builder()
.threadId("{threadId}")
.entity(entityBuilder -> entityBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds AgentResponsesShoppingListSuccess with checking for non-null required valuesbuilds AgentResponsesShoppingListSuccess without checking for non-null required valuesentity(ShoppingList entity) The created ShoppingList in full commercetools REST representation.entity(Function<ShoppingListBuilder, ShoppingListBuilder> builder) The created ShoppingList in full commercetools REST representation.The created ShoppingList in full commercetools REST representation.Identifier of the workflow run that produced this response.Non-fatal issues encountered while processing the request.of()factory method for an instance of AgentResponsesShoppingListSuccessBuilderof(AgentResponsesShoppingListSuccess template) create builder for AgentResponsesShoppingListSuccess instanceplusWarnings(WarningObject... warnings) Non-fatal issues encountered while processing the request.plusWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request.Identifier of the workflow run that produced this response.warnings(WarningObject... warnings) Non-fatal issues encountered while processing the request.warnings(List<WarningObject> warnings) Non-fatal issues encountered while processing the request.withEntity(Function<ShoppingListBuilder, ShoppingList> builder) The created ShoppingList in full commercetools REST representation.withWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request.
-
Constructor Details
-
AgentResponsesShoppingListSuccessBuilder
public AgentResponsesShoppingListSuccessBuilder()
-
-
Method Details
-
warnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
warnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
plusWarnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
warnings- value to be set- Returns:
- Builder
-
plusWarnings
public AgentResponsesShoppingListSuccessBuilder plusWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
builder- function to build the warnings value- Returns:
- Builder
-
withWarnings
public AgentResponsesShoppingListSuccessBuilder withWarnings(Function<WarningObjectBuilder, Builder<? extends WarningObject>> builder) Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Parameters:
builder- function to build the warnings value- Returns:
- Builder
-
threadId
Identifier of the workflow run that produced this response.
- Parameters:
threadId- value to be set- Returns:
- Builder
-
entity
public AgentResponsesShoppingListSuccessBuilder entity(Function<ShoppingListBuilder, ShoppingListBuilder> builder) The created ShoppingList in full commercetools REST representation.
- Parameters:
builder- function to build the entity value- Returns:
- Builder
-
withEntity
public AgentResponsesShoppingListSuccessBuilder withEntity(Function<ShoppingListBuilder, ShoppingList> builder) The created ShoppingList in full commercetools REST representation.
- Parameters:
builder- function to build the entity value- Returns:
- Builder
-
entity
The created ShoppingList in full commercetools REST representation.
- Parameters:
entity- value to be set- Returns:
- Builder
-
getWarnings
Non-fatal issues encountered while processing the request. Present only when at least one warning is returned.
- Returns:
- warnings
-
getThreadId
Identifier of the workflow run that produced this response.
- Returns:
- threadId
-
getEntity
The created ShoppingList in full commercetools REST representation.
- Returns:
- entity
-
build
builds AgentResponsesShoppingListSuccess with checking for non-null required values- Specified by:
buildin interfaceBuilder<AgentResponsesShoppingListSuccess>- Returns:
- AgentResponsesShoppingListSuccess
-
buildUnchecked
builds AgentResponsesShoppingListSuccess without checking for non-null required values- Returns:
- AgentResponsesShoppingListSuccess
-
of
factory method for an instance of AgentResponsesShoppingListSuccessBuilder- Returns:
- builder
-
of
public static AgentResponsesShoppingListSuccessBuilder of(AgentResponsesShoppingListSuccess template) create builder for AgentResponsesShoppingListSuccess instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-