Class UpdateProjectOperationSpec

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

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

Specification for the UpdateProject operation.

Update project

  • Field Details

    • VALIDATION_ENABLED

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

    • UpdateProjectOperationSpec

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

      @Internal public UpdateProjectOperationSpec(String projectIdOrKey, UpdateProjectDetails updateProjectDetails, String expand)
      Constructs a validated instance of UpdateProjectOperationSpec.

      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).
      updateProjectDetails - The project details to be updated.
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: * description The project description. * issueTypes The issue types associated with the project. * lead The project lead. * projectKeys All project keys associated with the project.
    • UpdateProjectOperationSpec

      protected UpdateProjectOperationSpec()
  • 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).
    • updateProjectDetails

      @NotNull public @NotNull UpdateProjectDetails updateProjectDetails()
      The project details to be updated.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: * description The project description. * issueTypes The issue types associated with the project. * lead The project lead. * projectKeys All project keys associated with the project.
    • projectIdOrKey

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

      public UpdateProjectOperationSpec updateProjectDetails(@NotNull @NotNull UpdateProjectDetails updateProjectDetails)
      The project details to be updated.
      Returns:
      this.
    • expand

      public UpdateProjectOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that the project description, issue types, and project lead are included in all responses by default. Expand options include: * description The project description. * issueTypes The issue types associated with the project. * lead The project lead. * projectKeys All project keys associated with the project.
      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