Class WorkItemDecideParams.Body.Builder
-
- All Implemented Interfaces:
public final class WorkItemDecideParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
decision
final WorkItemDecideParams.Body.Builder decision(WorkItemDecideParams.Decision decision)
-
decision
final WorkItemDecideParams.Body.Builder decision(JsonField<WorkItemDecideParams.Decision> decision)
Sets Builder.decision to an arbitrary JSON value.
You should usually call Builder.decision with a well-typed Decision value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
agentTypeId
final WorkItemDecideParams.Body.Builder agentTypeId(String agentTypeId)
-
agentTypeId
final WorkItemDecideParams.Body.Builder agentTypeId(Optional<String> agentTypeId)
Alias for calling Builder.agentTypeId with
agentTypeId.orElse(null).
-
agentTypeId
final WorkItemDecideParams.Body.Builder agentTypeId(JsonField<String> agentTypeId)
Sets Builder.agentTypeId to an arbitrary JSON value.
You should usually call Builder.agentTypeId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final WorkItemDecideParams.Body.Builder metadata(WorkItemDecideParams.Metadata metadata)
-
metadata
final WorkItemDecideParams.Body.Builder metadata(JsonField<WorkItemDecideParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reason
final WorkItemDecideParams.Body.Builder reason(String reason)
-
reason
final WorkItemDecideParams.Body.Builder reason(Optional<String> reason)
Alias for calling Builder.reason with
reason.orElse(null).
-
reason
final WorkItemDecideParams.Body.Builder reason(JsonField<String> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WorkItemDecideParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WorkItemDecideParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WorkItemDecideParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WorkItemDecideParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WorkItemDecideParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WorkItemDecideParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.decision()
-
-
-
-