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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFindBulkAssignableUsersOperationSpec(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 StringA query string that is matched exactly against useraccountId.A query string that is matched exactly against useraccountId.builder()protected booleanbooleaninthashCode()@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@NotNull StringA list of project keys (case sensitive).projectKeys(@NotNull String projectKeys) A list of project keys (case sensitive).@Nullable Stringquery()A query string that is matched against user attributes, such asdisplayNameandemailAddress, to find relevant users.A query string that is matched against user attributes, such asdisplayNameandemailAddress, to find relevant users.@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
-
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 asdisplayNameandemailAddress, 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, unlessaccountIdis 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, unlessqueryis 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 asdisplayNameandemailAddress, 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, unlessaccountIdis 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, unlessqueryis 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 asdisplayNameandemailAddress, 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, unlessaccountIdis 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, unlessqueryis 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
-