Class CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder
- Enclosing class:
- CustomFieldContextDefaultValue
public static class CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the default user.accountIds
(List<String> accountIds) The IDs of the default users.build()
cascadingOptionId
(String cascadingOptionId) The ID of the default cascading option.The ID of the context.The default date in ISO format.The default date-time in ISO format.The ID of the the default group.The IDs of the default groups.The default labels value.The default floating-point number.The default JSON object.The ID of the default option.The list of IDs of the default options.The ID of the default project.The default text.toString()
The default URL.useCurrent
(Boolean useCurrent) Whether to use the current date.userFilter
(UserFilter userFilter) List of string values.The ID of the default version.versionIds
(Set<String> versionIds) The IDs of the default versions.versionOrder
(String versionOrder) The order the pickable versions are displayed in.
-
Method Details
-
cascadingOptionId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder cascadingOptionId(String cascadingOptionId) The ID of the default cascading option.- Returns:
this
.
-
contextId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder contextId(String contextId) The ID of the context.- Returns:
this
.
-
optionId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder optionId(String optionId) The ID of the default option.- Returns:
this
.
-
type
- Returns:
this
.
-
optionIds
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder optionIds(List<String> optionIds) The list of IDs of the default options.- Returns:
this
.
-
accountId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder accountId(String accountId) The ID of the default user.- Returns:
this
.
-
userFilter
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder userFilter(UserFilter userFilter) - Returns:
this
.
-
accountIds
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder accountIds(List<String> accountIds) The IDs of the default users.- Returns:
this
.
-
groupId
The ID of the the default group.- Returns:
this
.
-
groupIds
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder groupIds(Set<String> groupIds) The IDs of the default groups.- Returns:
this
.
-
date
The default date in ISO format. Ignored ifuseCurrent
is true.- Returns:
this
.
-
useCurrent
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder useCurrent(Boolean useCurrent) Whether to use the current date.- Returns:
this
.
-
dateTime
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder dateTime(String dateTime) The default date-time in ISO format. Ignored ifuseCurrent
is true.- Returns:
this
.
-
url
The default URL.- Returns:
this
.
-
projectId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder projectId(String projectId) The ID of the default project.- Returns:
this
.
-
number
The default floating-point number.- Returns:
this
.
-
labels
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder labels(List<String> labels) The default labels value.- Returns:
this
.
-
text
The default text. The maximum length is 254 characters.- Returns:
this
.
-
versionId
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder versionId(String versionId) The ID of the default version.- Returns:
this
.
-
versionOrder
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder versionOrder(String versionOrder) The order the pickable versions are displayed in. If not provided, the released-first order is used. Available version orders are"releasedFirst"
and"unreleasedFirst"
.- Returns:
this
.
-
versionIds
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder versionIds(Set<String> versionIds) The IDs of the default versions.- Returns:
this
.
-
values
public CustomFieldContextDefaultValue.CustomFieldContextDefaultValueBuilder values(List<String> values) List of string values. The maximum length for a value is 254 characters.- Returns:
this
.
-
object
The default JSON object.- Returns:
this
.
-
build
-
toString
-