Klasse DeleteActorOperationSpec

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

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

Specification for the DeleteActor operation.

Delete actors from project role

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeleteActorOperationSpec

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

      @Internal public DeleteActorOperationSpec(String projectIdOrKey, Long id, String user, String group, String groupId)
      Constructs a validated instance of DeleteActorOperationSpec.

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

      Parameter:
      projectIdOrKey - The project ID or project key (case sensitive).
      id - The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.
      user - The user account ID of the user to remove from the project role.
      group - The name of the group to remove from the project role. This parameter cannot be used with the groupId parameter. As a group's name can change, use of groupId is recommended.
      groupId - The ID of the group to remove from the project role. This parameter cannot be used with the group parameter.
    • DeleteActorOperationSpec

      protected DeleteActorOperationSpec()
  • Methodendetails

    • validate

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

    • projectIdOrKey

      @NotNull public @NotNull String projectIdOrKey()
      The project ID or project key (case sensitive).
    • id

      @NotNull public @NotNull Long id()
      The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.
    • user

      @Nullable public @Nullable String user()
      The user account ID of the user to remove from the project role.
    • group

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

      @Nullable public @Nullable String groupId()
      The ID of the group to remove from the project role. This parameter cannot be used with the group parameter.
    • projectIdOrKey

      public DeleteActorOperationSpec projectIdOrKey(@NotNull @NotNull String projectIdOrKey)
      The project ID or project key (case sensitive).
      Gibt zurück:
      this.
    • id

      public DeleteActorOperationSpec id(@NotNull @NotNull Long id)
      The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.
      Gibt zurück:
      this.
    • user

      public DeleteActorOperationSpec user(@Nullable @Nullable String user)
      The user account ID of the user to remove from the project role.
      Gibt zurück:
      this.
    • group

      public DeleteActorOperationSpec group(@Nullable @Nullable String group)
      The name of the group to remove from the project role. This parameter cannot be used with the groupId parameter. As a group's name can change, use of groupId is recommended.
      Gibt zurück:
      this.
    • groupId

      public DeleteActorOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group to remove from the project role. This parameter cannot be used with the group 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