Klasse FindGroupsOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.FindGroupsOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class FindGroupsOperationSpec extends Object
FindGroupsSpec

Specification for the FindGroups operation.

Find groups

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • FindGroupsOperationSpec

      @Internal public FindGroupsOperationSpec(Consumer<FindGroupsOperationSpec> spec)
      Constructs a validated instance of FindGroupsOperationSpec.
      Parameter:
      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 of FindGroupsOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      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-2-user-groups-get).
      query - The string to find in group names.
      exclude - As a group's name can change, use of excludeGroupIds is 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&amp;exclude=group2. This parameter cannot be used with the excludeGroupIds parameter.
      excludeId - A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example, excludeId=group1-id&amp;excludeId=group2-id. This parameter cannot be used with the excludeGroups parameter.
      maxResults - The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system property jira.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()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • accountId

      @Nullable public @Nullable String 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-2-user-groups-get).
    • query

      @Nullable public @Nullable String query()
      The string to find in group names.
    • exclude

      @Nullable public @Nullable List<String> exclude()
      As a group's name can change, use of excludeGroupIds is 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&amp;exclude=group2. This parameter cannot be used with the excludeGroupIds parameter.
    • excludeId

      @Nullable public @Nullable List<String> excludeId()
      A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example, excludeId=group1-id&amp;excludeId=group2-id. This parameter cannot be used with the excludeGroups parameter.
    • maxResults

      @Nullable public @Nullable Integer maxResults()
      The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system property jira.ajax.autocomplete.limit.
    • caseInsensitive

      @Nullable public @Nullable Boolean caseInsensitive()
      Whether the search for groups should be case insensitive.
    • userName

      @Nullable public @Nullable String 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

      public FindGroupsOperationSpec accountId(@Nullable @Nullable String 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-2-user-groups-get).
      Gibt zurück:
      this.
    • query

      public FindGroupsOperationSpec query(@Nullable @Nullable String query)
      The string to find in group names.
      Gibt zurück:
      this.
    • exclude

      public FindGroupsOperationSpec exclude(@Nullable @Nullable List<String> exclude)
      As a group's name can change, use of excludeGroupIds is 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&amp;exclude=group2. This parameter cannot be used with the excludeGroupIds parameter.
      Gibt zurück:
      this.
    • excludeId

      public FindGroupsOperationSpec excludeId(@Nullable @Nullable List<String> excludeId)
      A group ID to exclude from the result. To exclude multiple groups, provide an ampersand-separated list. For example, excludeId=group1-id&amp;excludeId=group2-id. This parameter cannot be used with the excludeGroups parameter.
      Gibt zurück:
      this.
    • maxResults

      public FindGroupsOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of groups to return. The maximum number of groups that can be returned is limited by the system property jira.ajax.autocomplete.limit.
      Gibt zurück:
      this.
    • caseInsensitive

      public FindGroupsOperationSpec caseInsensitive(@Nullable @Nullable Boolean caseInsensitive)
      Whether the search for groups should be case insensitive.
      Gibt zurück:
      this.
    • userName

      public FindGroupsOperationSpec userName(@Nullable @Nullable String 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.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object