Class FindBulkAssignableUsersOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.FindBulkAssignableUsersOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindBulkAssignableUsersOperationSpec
extends Object
FindBulkAssignableUsersSpec
Specification for the FindBulkAssignableUsers operation.
Find users assignable to projects
-
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
FindBulkAssignableUsersOperationSpec
(String projectKeys, String query, String username, String accountId, Integer startAt, Integer maxResults) Constructs a validated instance ofFindBulkAssignableUsersOperationSpec
.Constructs a validated instance ofFindBulkAssignableUsersOperationSpec
. -
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
.builder()
protected boolean
boolean
int
hashCode()
@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@NotNull String
A list of project keys (case sensitive).projectKeys
(@NotNull String projectKeys) A list of project keys (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 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
-
FindBulkAssignableUsersOperationSpec
@Internal public FindBulkAssignableUsersOperationSpec(Consumer<FindBulkAssignableUsersOperationSpec> spec) Constructs a validated instance ofFindBulkAssignableUsersOperationSpec
.- Parameters:
spec
- the specification to process
-
FindBulkAssignableUsersOperationSpec
@Internal public FindBulkAssignableUsersOperationSpec(String projectKeys, String query, String username, String accountId, Integer startAt, Integer maxResults) Constructs a validated instance ofFindBulkAssignableUsersOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectKeys
- A list of project keys (case sensitive). This parameter accepts a comma-separated list.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, unlessaccountId
is specified.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.startAt
- The index of the first item to return in a page of results (page offset).maxResults
- The maximum number of items to return per page.
-
FindBulkAssignableUsersOperationSpec
protected FindBulkAssignableUsersOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static FindBulkAssignableUsersOperationSpec.FindBulkAssignableUsersOperationSpecBuilder builder() -
projectKeys
A list of project keys (case sensitive). This parameter accepts a comma-separated list. -
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, unlessaccountId
is specified. -
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. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
projectKeys
A list of project keys (case sensitive). This parameter accepts a comma-separated list.- Returns:
this
.
-
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, unlessaccountId
is specified.- 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
.
-
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 per page.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-