Class SetActorsOperationSpec

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

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

Specification for the SetActors operation.

Set actors for project role

  • Field Details

    • VALIDATION_ENABLED

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

    • SetActorsOperationSpec

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

      @Internal public SetActorsOperationSpec(String projectIdOrKey, Long id, ProjectRoleActorsUpdateBean projectRoleActorsUpdateBean)
      Constructs a validated instance of SetActorsOperationSpec.

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

      Parameters:
      projectIdOrKey - The project ID or project key (case sensitive).
      id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs.
      projectRoleActorsUpdateBean - The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended.
    • SetActorsOperationSpec

      protected SetActorsOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      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-2-role-get) to get a list of project role IDs.
    • projectRoleActorsUpdateBean

      @NotNull public @NotNull ProjectRoleActorsUpdateBean projectRoleActorsUpdateBean()
      The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended.
    • projectIdOrKey

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

      public SetActorsOperationSpec id(@NotNull @NotNull Long id)
      The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs.
      Returns:
      this.
    • projectRoleActorsUpdateBean

      public SetActorsOperationSpec projectRoleActorsUpdateBean(@NotNull @NotNull ProjectRoleActorsUpdateBean projectRoleActorsUpdateBean)
      The groups or users to associate with the project role for this project. Provide the user account ID, group name, or group ID. As a group's name can change, use of group ID is recommended.
      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