Class FindGroupsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.FindGroupsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindGroupsOperationSpec
extends Object
FindGroupsSpec
Specification for the FindGroups operation.
Find groups
-
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
ConstructorsModifierConstructorDescriptionprotectedFindGroupsOperationSpec(String accountId, String query, List<String> exclude, List<String> excludeId, Integer maxResults, Boolean caseInsensitive, String userName) Constructs a validated instance ofFindGroupsOperationSpec.Constructs a validated instance ofFindGroupsOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThis parameter is deprecated, setting it does not affect the results.This parameter is deprecated, setting it does not affect the results.builder()protected boolean@Nullable BooleanWhether the search for groups should be case insensitive.caseInsensitive(@Nullable Boolean caseInsensitive) Whether the search for groups should be case insensitive.booleanexclude()As a group's name can change, use ofexcludeGroupIdsis recommended to identify a group.As a group's name can change, use ofexcludeGroupIdsis recommended to identify a group.A group ID to exclude from the result.A group ID to exclude from the result.inthashCode()@Nullable IntegerThe maximum number of groups to return.maxResults(@Nullable Integer maxResults) The maximum number of groups to return.@Nullable Stringquery()The string to find in group names.The string to find in group names.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
-
FindGroupsOperationSpec
Constructs a validated instance ofFindGroupsOperationSpec.- Parameters:
spec- the specification to process
-
FindGroupsOperationSpec
@Internal public FindGroupsOperationSpec(String accountId, String query, List<String> exclude, List<String> excludeId, Integer maxResults, Boolean caseInsensitive, String userName) Constructs a validated instance ofFindGroupsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
accountId- This parameter is deprecated, setting it does not affect the results. To find groups containing a particular user, use [Get user groups](#api-rest-api-3-user-groups-get).query- The string to find in group names.exclude- As a group's name can change, use ofexcludeGroupIdsis recommended to identify a group. A group to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,exclude=group1&exclude=group2. This parameter cannot be used with theexcludeGroupIdsparameter.excludeId- A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,excludeId=group1-id&excludeId=group2-id. This parameter cannot be used with theexcludeGroupsparameter.maxResults- The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system propertyjira.ajax.autocomplete.limit.caseInsensitive- Whether the search for groups should be case insensitive.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.
-
FindGroupsOperationSpec
protected FindGroupsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
accountId
This parameter is deprecated, setting it does not affect the results. To find groups containing a particular user, use [Get user groups](#api-rest-api-3-user-groups-get). -
query
The string to find in group names. -
exclude
As a group's name can change, use ofexcludeGroupIdsis recommended to identify a group. A group to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,exclude=group1&exclude=group2. This parameter cannot be used with theexcludeGroupIdsparameter. -
excludeId
A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,excludeId=group1-id&excludeId=group2-id. This parameter cannot be used with theexcludeGroupsparameter. -
maxResults
The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system propertyjira.ajax.autocomplete.limit. -
caseInsensitive
Whether the search for groups should be case insensitive. -
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
This parameter is deprecated, setting it does not affect the results. To find groups containing a particular user, use [Get user groups](#api-rest-api-3-user-groups-get).- Returns:
this.
-
query
The string to find in group names.- Returns:
this.
-
exclude
As a group's name can change, use ofexcludeGroupIdsis recommended to identify a group. A group to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,exclude=group1&exclude=group2. This parameter cannot be used with theexcludeGroupIdsparameter.- Returns:
this.
-
excludeId
A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example,excludeId=group1-id&excludeId=group2-id. This parameter cannot be used with theexcludeGroupsparameter.- Returns:
this.
-
maxResults
The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system propertyjira.ajax.autocomplete.limit.- Returns:
this.
-
caseInsensitive
Whether the search for groups should be case insensitive.- 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.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-