Klasse RemoveGroupOperationSpec

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

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

Specification for the RemoveGroup operation.

Remove group

  • Felddetails

    • VALIDATION_ENABLED

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

    • RemoveGroupOperationSpec

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

      Parameter:
      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()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      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)
      Gibt zurück:
      this.
    • groupId

      public RemoveGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupname parameter.
      Gibt zurück:
      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.
      Gibt zurück:
      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.
      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