Class GetUsersFromGroupOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetUsersFromGroupOperationSpec

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

Specification for the GetUsersFromGroup operation.

Get users from group

  • Field Details

    • VALIDATION_ENABLED

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

    • GetUsersFromGroupOperationSpec

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

      @Internal public GetUsersFromGroupOperationSpec(String groupname, String groupId, Boolean includeInactiveUsers, Long startAt, Integer maxResults)
      Constructs a validated instance of GetUsersFromGroupOperationSpec.

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

      Parameters:
      groupname - As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
      groupId - The ID of the group. This parameter cannot be used with the groupName parameter.
      includeInactiveUsers - Include inactive users.
      startAt - The index of the first item to return in a page of results (page offset).
      maxResults - The maximum number of items to return per page.
    • GetUsersFromGroupOperationSpec

      protected GetUsersFromGroupOperationSpec()
  • Method Details

    • validate

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

    • groupname

      @Nullable public @Nullable String groupname()
      As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
    • groupId

      @Nullable public @Nullable String groupId()
      The ID of the group. This parameter cannot be used with the groupName parameter.
    • includeInactiveUsers

      @Nullable public @Nullable Boolean includeInactiveUsers()
      Include inactive users.
    • startAt

      @Nullable public @Nullable Long 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 per page.
    • groupname

      public GetUsersFromGroupOperationSpec groupname(@Nullable @Nullable String groupname)
      As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
      Returns:
      this.
    • groupId

      public GetUsersFromGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupName parameter.
      Returns:
      this.
    • includeInactiveUsers

      public GetUsersFromGroupOperationSpec includeInactiveUsers(@Nullable @Nullable Boolean includeInactiveUsers)
      Include inactive users.
      Returns:
      this.
    • startAt

      public GetUsersFromGroupOperationSpec startAt(@Nullable @Nullable Long startAt)
      The index of the first item to return in a page of results (page offset).
      Returns:
      this.
    • maxResults

      public GetUsersFromGroupOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object