Klasse DeleteProjectRoleActorsFromRoleOperationSpec

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

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

Specification for the DeleteProjectRoleActorsFromRole operation.

Delete default actors from project role

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeleteProjectRoleActorsFromRoleOperationSpec

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

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

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

      Parameter:
      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 as a default actor.
      groupId - The group ID of the group to be removed as a default actor. This parameter cannot be used with the group parameter.
      group - The group name of the group to be removed as a default actor.This parameter cannot be used with the groupId parameter. As a group's name can change, use of groupId is recommended.
    • DeleteProjectRoleActorsFromRoleOperationSpec

      protected DeleteProjectRoleActorsFromRoleOperationSpec()
  • Methodendetails

    • validate

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

    • 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 as a default actor.
    • groupId

      @Nullable public @Nullable String groupId()
      The group ID of the group to be removed as a default actor. This parameter cannot be used with the group parameter.
    • group

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

      public DeleteProjectRoleActorsFromRoleOperationSpec 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 DeleteProjectRoleActorsFromRoleOperationSpec user(@Nullable @Nullable String user)
      The user account ID of the user to remove as a default actor.
      Gibt zurück:
      this.
    • groupId

      public DeleteProjectRoleActorsFromRoleOperationSpec groupId(@Nullable @Nullable String groupId)
      The group ID of the group to be removed as a default actor. This parameter cannot be used with the group parameter.
      Gibt zurück:
      this.
    • group

      public DeleteProjectRoleActorsFromRoleOperationSpec group(@Nullable @Nullable String group)
      The group name of the group to be removed as a default actor.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.
    • 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