Class FindUsersAndGroupsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.FindUsersAndGroupsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindUsersAndGroupsOperationSpec
extends Object
FindUsersAndGroupsSpec
Specification for the FindUsersAndGroups operation.
Find users and groups
-
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
FindUsersAndGroupsOperationSpec
(String query, Integer maxResults, Boolean showAvatar, String fieldId, List<String> projectId, List<String> issueTypeId, String avatarSize, Boolean caseInsensitive, Boolean excludeConnectAddons) Constructs a validated instance ofFindUsersAndGroupsOperationSpec
.Constructs a validated instance ofFindUsersAndGroupsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
The size of the avatar to return.avatarSize
(@Nullable String avatarSize) The size of the avatar to return.builder()
protected boolean
@Nullable Boolean
Whether the search for groups should be case insensitive.caseInsensitive
(@Nullable Boolean caseInsensitive) Whether the search for groups should be case insensitive.boolean
@Nullable Boolean
Whether Connect app users and groups should be excluded from the search results.excludeConnectAddons
(@Nullable Boolean excludeConnectAddons) Whether Connect app users and groups should be excluded from the search results.@Nullable String
fieldId()
The custom field ID of the field this request is for.The custom field ID of the field this request is for.int
hashCode()
The ID of an issue type that returned users and groups must have permission to view.issueTypeId
(@Nullable List<String> issueTypeId) The ID of an issue type that returned users and groups must have permission to view.@Nullable Integer
The maximum number of items to return in each list.maxResults
(@Nullable Integer maxResults) The maximum number of items to return in each list.The ID of a project that returned users and groups must have permission to view.The ID of a project that returned users and groups must have permission to view.@NotNull String
query()
The search string.The search string.@Nullable Boolean
Whether the user avatar should be returned.showAvatar
(@Nullable Boolean showAvatar) Whether the user avatar should be returned.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
-
FindUsersAndGroupsOperationSpec
Constructs a validated instance ofFindUsersAndGroupsOperationSpec
.- Parameters:
spec
- the specification to process
-
FindUsersAndGroupsOperationSpec
@Internal public FindUsersAndGroupsOperationSpec(String query, Integer maxResults, Boolean showAvatar, String fieldId, List<String> projectId, List<String> issueTypeId, String avatarSize, Boolean caseInsensitive, Boolean excludeConnectAddons) Constructs a validated instance ofFindUsersAndGroupsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
query
- The search string.maxResults
- The maximum number of items to return in each list.showAvatar
- Whether the user avatar should be returned. If an invalid value is provided, the default value is used.fieldId
- The custom field ID of the field this request is for.projectId
- The ID of a project that returned users and groups must have permission to view. To include multiple projects, provide an ampersand-separated list. For example,projectId=10000&projectId=10001
. This parameter is only used whenfieldId
is present.issueTypeId
- The ID of an issue type that returned users and groups must have permission to view. To include multiple issue types, provide an ampersand-separated list. For example,issueTypeId=10000&issueTypeId=10001
. Special values, such as-1
(all standard issue types) and-2
(all subtask issue types), are supported. This parameter is only used whenfieldId
is present.avatarSize
- The size of the avatar to return. If an invalid value is provided, the default value is used.caseInsensitive
- Whether the search for groups should be case insensitive.excludeConnectAddons
- Whether Connect app users and groups should be excluded from the search results. If an invalid value is provided, the default value is used.
-
FindUsersAndGroupsOperationSpec
protected FindUsersAndGroupsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
query
The search string. -
maxResults
The maximum number of items to return in each list. -
showAvatar
Whether the user avatar should be returned. If an invalid value is provided, the default value is used. -
fieldId
The custom field ID of the field this request is for. -
projectId
The ID of a project that returned users and groups must have permission to view. To include multiple projects, provide an ampersand-separated list. For example,projectId=10000&projectId=10001
. This parameter is only used whenfieldId
is present. -
issueTypeId
The ID of an issue type that returned users and groups must have permission to view. To include multiple issue types, provide an ampersand-separated list. For example,issueTypeId=10000&issueTypeId=10001
. Special values, such as-1
(all standard issue types) and-2
(all subtask issue types), are supported. This parameter is only used whenfieldId
is present. -
avatarSize
The size of the avatar to return. If an invalid value is provided, the default value is used. -
caseInsensitive
Whether the search for groups should be case insensitive. -
excludeConnectAddons
Whether Connect app users and groups should be excluded from the search results. If an invalid value is provided, the default value is used. -
query
The search string.- Returns:
this
.
-
maxResults
The maximum number of items to return in each list.- Returns:
this
.
-
showAvatar
Whether the user avatar should be returned. If an invalid value is provided, the default value is used.- Returns:
this
.
-
fieldId
The custom field ID of the field this request is for.- Returns:
this
.
-
projectId
The ID of a project that returned users and groups must have permission to view. To include multiple projects, provide an ampersand-separated list. For example,projectId=10000&projectId=10001
. This parameter is only used whenfieldId
is present.- Returns:
this
.
-
issueTypeId
The ID of an issue type that returned users and groups must have permission to view. To include multiple issue types, provide an ampersand-separated list. For example,issueTypeId=10000&issueTypeId=10001
. Special values, such as-1
(all standard issue types) and-2
(all subtask issue types), are supported. This parameter is only used whenfieldId
is present.- Returns:
this
.
-
avatarSize
The size of the avatar to return. If an invalid value is provided, the default value is used.- Returns:
this
.
-
caseInsensitive
Whether the search for groups should be case insensitive.- Returns:
this
.
-
excludeConnectAddons
public FindUsersAndGroupsOperationSpec excludeConnectAddons(@Nullable @Nullable Boolean excludeConnectAddons) Whether Connect app users and groups should be excluded from the search results. If an invalid value is provided, the default value is used.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-