Class FindUsersForPickerOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.FindUsersForPickerOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindUsersForPickerOperationSpec
extends Object
FindUsersForPickerSpec
Specification for the FindUsersForPicker operation.
Find users for picker
-
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
FindUsersForPickerOperationSpec
(String query, Integer maxResults, Boolean showAvatar, List<String> exclude, List<String> excludeAccountIds, String avatarSize, Boolean excludeConnectUsers) Constructs a validated instance ofFindUsersForPickerOperationSpec
.Constructs a validated instance ofFindUsersForPickerOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
avatarSize
(@Nullable String avatarSize) builder()
protected boolean
boolean
exclude()
This parameter is no longer available.This parameter is no longer available.A list of account IDs to exclude from the search results.excludeAccountIds
(@Nullable List<String> excludeAccountIds) A list of account IDs to exclude from the search results.@Nullable Boolean
excludeConnectUsers
(@Nullable Boolean excludeConnectUsers) int
hashCode()
@Nullable Integer
The maximum number of items to return.maxResults
(@Nullable Integer maxResults) The maximum number of items to return.@NotNull 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
Include the URI to the user's avatar.showAvatar
(@Nullable Boolean showAvatar) Include the URI to the user's avatar.toString()
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
-
FindUsersForPickerOperationSpec
Constructs a validated instance ofFindUsersForPickerOperationSpec
.- Parameters:
spec
- the specification to process
-
FindUsersForPickerOperationSpec
@Internal public FindUsersForPickerOperationSpec(String query, Integer maxResults, Boolean showAvatar, List<String> exclude, List<String> excludeAccountIds, String avatarSize, Boolean excludeConnectUsers) Constructs a validated instance ofFindUsersForPickerOperationSpec
.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]*.maxResults
- The maximum number of items to return. The total number of matched users is returned intotal
.showAvatar
- Include the URI to the user's avatar.exclude
- 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.excludeAccountIds
- A list of account IDs to exclude from the search results. This parameter accepts a comma-separated list. Multiple account IDs can also be provided using an ampersand-separated list. For example,excludeAccountIds=5b10a2844c20165700ede21g,5b10a0effa615349cb016cd8&excludeAccountIds=5b10ac8d82e05b22cc7d4ef5
. Cannot be provided withexclude
.avatarSize
-excludeConnectUsers
-
-
FindUsersForPickerOperationSpec
protected FindUsersForPickerOperationSpec()
-
-
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]*. -
maxResults
The maximum number of items to return. The total number of matched users is returned intotal
. -
showAvatar
Include the URI to the user's avatar. -
exclude
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. -
excludeAccountIds
A list of account IDs to exclude from the search results. This parameter accepts a comma-separated list. Multiple account IDs can also be provided using an ampersand-separated list. For example,excludeAccountIds=5b10a2844c20165700ede21g,5b10a0effa615349cb016cd8&excludeAccountIds=5b10ac8d82e05b22cc7d4ef5
. Cannot be provided withexclude
. -
avatarSize
-
excludeConnectUsers
-
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]*.- Returns:
this
.
-
maxResults
The maximum number of items to return. The total number of matched users is returned intotal
.- Returns:
this
.
-
showAvatar
Include the URI to the user's avatar.- Returns:
this
.
-
exclude
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
.
-
excludeAccountIds
public FindUsersForPickerOperationSpec excludeAccountIds(@Nullable @Nullable List<String> excludeAccountIds) A list of account IDs to exclude from the search results. This parameter accepts a comma-separated list. Multiple account IDs can also be provided using an ampersand-separated list. For example,excludeAccountIds=5b10a2844c20165700ede21g,5b10a0effa615349cb016cd8&excludeAccountIds=5b10ac8d82e05b22cc7d4ef5
. Cannot be provided withexclude
.- Returns:
this
.
-
avatarSize
- Returns:
this
.
-
excludeConnectUsers
public FindUsersForPickerOperationSpec excludeConnectUsers(@Nullable @Nullable Boolean excludeConnectUsers) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-