Klasse FindAssignableUsersOperationSpec

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

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

Specification for the FindAssignableUsers operation.

Find users assignable to issues

  • Felddetails

    • VALIDATION_ENABLED

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

    • FindAssignableUsersOperationSpec

      @Internal public FindAssignableUsersOperationSpec(Consumer<FindAssignableUsersOperationSpec> spec)
      Constructs a validated instance of FindAssignableUsersOperationSpec.
      Parameter:
      spec - the specification to process
    • FindAssignableUsersOperationSpec

      @Internal public FindAssignableUsersOperationSpec(String query, String sessionId, String username, String accountId, String project, String issueKey, Integer startAt, Integer maxResults, Integer actionDescriptorId, Boolean recommend)
      Constructs a validated instance of FindAssignableUsersOperationSpec.

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

      Parameter:
      query - A query string that is matched against user attributes, such as displayName, and emailAddress, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with a displayName of *John Smith* and a user with an emailAddress of *[email protected]*. Required, unless username or accountId is specified.
      sessionId - The sessionId of this request. SessionId is the same until the assignee is set.
      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 user accountId. Required, unless query is specified.
      project - The project ID or project key (case sensitive). Required, unless issueKey is specified.
      issueKey - The key of the issue. Required, unless project is 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. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.
      actionDescriptorId - The ID of the transition.
      recommend -
    • FindAssignableUsersOperationSpec

      protected FindAssignableUsersOperationSpec()
  • Methodendetails

    • validate

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

    • query

      @Nullable public @Nullable String query()
      A query string that is matched against user attributes, such as displayName, and emailAddress, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with a displayName of *John Smith* and a user with an emailAddress of *[email protected]*. Required, unless username or accountId is specified.
    • sessionId

      @Nullable public @Nullable String sessionId()
      The sessionId of this request. SessionId is the same until the assignee is set.
    • 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

      @Nullable public @Nullable String accountId()
      A query string that is matched exactly against user accountId. Required, unless query is specified.
    • project

      @Nullable public @Nullable String project()
      The project ID or project key (case sensitive). Required, unless issueKey is specified.
    • issueKey

      @Nullable public @Nullable String issueKey()
      The key of the issue. Required, unless project is specified.
    • startAt

      @Nullable public @Nullable Integer startAt()
      The index of the first item to return in a page of results (page offset).
    • maxResults

      @Nullable public @Nullable Integer maxResults()
      The maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.
    • actionDescriptorId

      @Nullable public @Nullable Integer actionDescriptorId()
      The ID of the transition.
    • recommend

      @Nullable public @Nullable Boolean recommend()
    • query

      public FindAssignableUsersOperationSpec query(@Nullable @Nullable String query)
      A query string that is matched against user attributes, such as displayName, and emailAddress, to find relevant users. The string can match the prefix of the attribute's value. For example, *query=john* matches a user with a displayName of *John Smith* and a user with an emailAddress of *[email protected]*. Required, unless username or accountId is specified.
      Gibt zurück:
      this.
    • sessionId

      public FindAssignableUsersOperationSpec sessionId(@Nullable @Nullable String sessionId)
      The sessionId of this request. SessionId is the same until the assignee is set.
      Gibt zurück:
      this.
    • username

      public FindAssignableUsersOperationSpec 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.
    • accountId

      public FindAssignableUsersOperationSpec accountId(@Nullable @Nullable String accountId)
      A query string that is matched exactly against user accountId. Required, unless query is specified.
      Gibt zurück:
      this.
    • project

      public FindAssignableUsersOperationSpec project(@Nullable @Nullable String project)
      The project ID or project key (case sensitive). Required, unless issueKey is specified.
      Gibt zurück:
      this.
    • issueKey

      public FindAssignableUsersOperationSpec issueKey(@Nullable @Nullable String issueKey)
      The key of the issue. Required, unless project is specified.
      Gibt zurück:
      this.
    • startAt

      public FindAssignableUsersOperationSpec startAt(@Nullable @Nullable Integer startAt)
      The index of the first item to return in a page of results (page offset).
      Gibt zurück:
      this.
    • maxResults

      public FindAssignableUsersOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.
      Gibt zurück:
      this.
    • actionDescriptorId

      public FindAssignableUsersOperationSpec actionDescriptorId(@Nullable @Nullable Integer actionDescriptorId)
      The ID of the transition.
      Gibt zurück:
      this.
    • recommend

      public FindAssignableUsersOperationSpec recommend(@Nullable @Nullable Boolean recommend)
      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