Class RemoveGroupOperationSpec

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

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

Specification for the RemoveGroup operation.

Remove group

  • Field Details

    • VALIDATION_ENABLED

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

    • RemoveGroupOperationSpec

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

      @Internal public RemoveGroupOperationSpec(String groupname, String groupId, String swapGroup, String swapGroupId)
      Constructs a validated instance of RemoveGroupOperationSpec.

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

      Parameters:
      groupname -
      groupId - The ID of the group. This parameter cannot be used with the groupname parameter.
      swapGroup - As a group's name can change, use of swapGroupId is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroupId parameter.
      swapGroupId - The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroup parameter.
    • RemoveGroupOperationSpec

      protected RemoveGroupOperationSpec()
  • 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()
    • groupId

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

      @Nullable public @Nullable String swapGroup()
      As a group's name can change, use of swapGroupId is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroupId parameter.
    • swapGroupId

      @Nullable public @Nullable String swapGroupId()
      The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroup parameter.
    • groupname

      public RemoveGroupOperationSpec groupname(@Nullable @Nullable String groupname)
      Returns:
      this.
    • groupId

      public RemoveGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupname parameter.
      Returns:
      this.
    • swapGroup

      public RemoveGroupOperationSpec swapGroup(@Nullable @Nullable String swapGroup)
      As a group's name can change, use of swapGroupId is recommended to identify a group. The group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroupId parameter.
      Returns:
      this.
    • swapGroupId

      public RemoveGroupOperationSpec swapGroupId(@Nullable @Nullable String swapGroupId)
      The ID of the group to transfer restrictions to. Only comments and worklogs are transferred. If restrictions are not transferred, comments and worklogs are inaccessible after the deletion. This parameter cannot be used with the swapGroup parameter.
      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