Klasse RestoreOperationSpec

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

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

Specification for the Restore operation.

Restore deleted or archived project

  • Felddetails

    • VALIDATION_ENABLED

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

    • RestoreOperationSpec

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

      @Internal public RestoreOperationSpec(String projectIdOrKey)
      Constructs a validated instance of RestoreOperationSpec.

      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).
    • RestoreOperationSpec

      protected RestoreOperationSpec()
  • 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).
    • projectIdOrKey

      public RestoreOperationSpec projectIdOrKey(@NotNull @NotNull String projectIdOrKey)
      The project ID or project key (case sensitive).
      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