Class FindAssignableUsersOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFindAssignableUsersOperationSpec(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 StringA query string that is matched exactly against useraccountId.A query string that is matched exactly against useraccountId.@Nullable IntegerThe ID of the transition.actionDescriptorId(@Nullable Integer actionDescriptorId) The ID of the transition.builder()protected booleanbooleaninthashCode()@Nullable StringissueKey()The key of the issue.The key of the issue.@Nullable IntegerThe maximum number of items to return.maxResults(@Nullable Integer maxResults) The maximum number of items to return.@Nullable Stringproject()The project ID or project key (case sensitive).The project ID or project key (case sensitive).@Nullable Stringquery()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 StringThe sessionId of this request.The sessionId of this request.@Nullable IntegerstartAt()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 Stringusername()This parameter is no longer available.This parameter is no longer available.voidvalidate()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 adisplayNameof *John Smith* and a user with anemailAddressof *[email protected]*. Required, unlessusernameoraccountIdis 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, unlessqueryis specified.project- The project ID or project key (case sensitive). Required, unlessissueKeyis specified.issueKey- The key of the issue. Required, unlessprojectis 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 adisplayNameof *John Smith* and a user with anemailAddressof *[email protected]*. Required, unlessusernameoraccountIdis 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, unlessqueryis specified. -
project
The project ID or project key (case sensitive). Required, unlessissueKeyis specified. -
issueKey
The key of the issue. Required, unlessprojectis 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 adisplayNameof *John Smith* and a user with anemailAddressof *[email protected]*. Required, unlessusernameoraccountIdis 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, unlessqueryis specified.- Returns:
this.
-
project
The project ID or project key (case sensitive). Required, unlessissueKeyis specified.- Returns:
this.
-
issueKey
The key of the issue. Required, unlessprojectis 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
-