Class FindAssignableUsersOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.FindAssignableUsersOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindAssignableUsersOperationSpec
extends Object
FindAssignableUsersSpec
Specification for the FindAssignableUsers operation.
Find users assignable to issues
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FindAssignableUsersOperationSpec
(String query, String sessionId, String username, String accountId, String project, String issueKey, Integer startAt, Integer maxResults, Integer actionDescriptorId, Boolean recommend) Constructs a validated instance ofFindAssignableUsersOperationSpec
.Constructs a validated instance ofFindAssignableUsersOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
A query string that is matched exactly against useraccountId
.A query string that is matched exactly against useraccountId
.@Nullable Integer
The ID of the transition.actionDescriptorId
(@Nullable Integer actionDescriptorId) The ID of the transition.builder()
protected boolean
boolean
int
hashCode()
@Nullable String
issueKey()
The key of the issue.The key of the issue.@Nullable Integer
The maximum number of items to return.maxResults
(@Nullable Integer maxResults) The maximum number of items to return.@Nullable String
project()
The project ID or project key (case sensitive).The project ID or project key (case sensitive).@Nullable String
query()
A query string that is matched against user attributes, such asdisplayName
, andemailAddress
, to find relevant users.A query string that is matched against user attributes, such asdisplayName
, andemailAddress
, to find relevant users.@Nullable Boolean
@Nullable String
The sessionId of this request.The sessionId of this request.@Nullable Integer
startAt()
The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).toString()
@Nullable String
username()
This parameter is no longer available.This parameter is no longer available.void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
FindAssignableUsersOperationSpec
Constructs a validated instance ofFindAssignableUsersOperationSpec
.- Parameters:
spec
- the specification to process
-
FindAssignableUsersOperationSpec
@Internal public FindAssignableUsersOperationSpec(String query, String sessionId, String username, String accountId, String project, String issueKey, Integer startAt, Integer maxResults, Integer actionDescriptorId, Boolean recommend) Constructs a validated instance ofFindAssignableUsersOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
query
- A query string that is matched against user attributes, such asdisplayName
, andemailAddress
, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with adisplayName
of *John Smith* and a user with anemailAddress
of *[email protected]*. Required, unlessusername
oraccountId
is specified.sessionId
- The sessionId of this request. SessionId is the same until the assignee is set.username
- This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.accountId
- A query string that is matched exactly against useraccountId
. Required, unlessquery
is specified.project
- The project ID or project key (case sensitive). Required, unlessissueKey
is specified.issueKey
- The key of the issue. Required, unlessproject
is specified.startAt
- The index of the first item to return in a page of results (page offset).maxResults
- The maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.actionDescriptorId
- The ID of the transition.recommend
-
-
FindAssignableUsersOperationSpec
protected FindAssignableUsersOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
query
A query string that is matched against user attributes, such asdisplayName
, andemailAddress
, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with adisplayName
of *John Smith* and a user with anemailAddress
of *[email protected]*. Required, unlessusername
oraccountId
is specified. -
sessionId
The sessionId of this request. SessionId is the same until the assignee is set. -
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
A query string that is matched exactly against useraccountId
. Required, unlessquery
is specified. -
project
The project ID or project key (case sensitive). Required, unlessissueKey
is specified. -
issueKey
The key of the issue. Required, unlessproject
is specified. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue. -
actionDescriptorId
The ID of the transition. -
recommend
-
query
A query string that is matched against user attributes, such asdisplayName
, andemailAddress
, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with adisplayName
of *John Smith* and a user with anemailAddress
of *[email protected]*. Required, unlessusername
oraccountId
is specified.- Returns:
this
.
-
sessionId
The sessionId of this request. SessionId is the same until the assignee is set.- Returns:
this
.
-
username
This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this
.
-
accountId
A query string that is matched exactly against useraccountId
. Required, unlessquery
is specified.- Returns:
this
.
-
project
The project ID or project key (case sensitive). Required, unlessissueKey
is specified.- Returns:
this
.
-
issueKey
The key of the issue. Required, unlessproject
is specified.- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
The maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.- Returns:
this
.
-
actionDescriptorId
public FindAssignableUsersOperationSpec actionDescriptorId(@Nullable @Nullable Integer actionDescriptorId) The ID of the transition.- Returns:
this
.
-
recommend
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-