Class RemoveUserFromGroupOperationSpec

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

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

Specification for the RemoveUserFromGroup operation.

Remove user from group

  • Field Details

    • VALIDATION_ENABLED

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

    • RemoveUserFromGroupOperationSpec

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

      @Internal public RemoveUserFromGroupOperationSpec(String accountId, String groupname, String groupId, String username)
      Constructs a validated instance of RemoveUserFromGroupOperationSpec.

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

      Parameters:
      accountId - The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
      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.
      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.
    • RemoveUserFromGroupOperationSpec

      protected RemoveUserFromGroupOperationSpec()
  • Method Details

    • validate

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

    • accountId

      @NotNull public @NotNull String accountId()
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
    • 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.
    • 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 RemoveUserFromGroupOperationSpec accountId(@NotNull @NotNull String accountId)
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
      Returns:
      this.
    • groupname

      public RemoveUserFromGroupOperationSpec 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 RemoveUserFromGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupName parameter.
      Returns:
      this.
    • username

      public RemoveUserFromGroupOperationSpec 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.
      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