Class GetStatusesByIdOperationSpec

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

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

Specification for the GetStatusesById operation.

Bulk get statuses

  • Field Details

    • VALIDATION_ENABLED

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

    • GetStatusesByIdOperationSpec

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

      @Internal public GetStatusesByIdOperationSpec(List<String> id, String expand)
      Constructs a validated instance of GetStatusesByIdOperationSpec.

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

      Parameters:
      id - The list of status IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&id=10001. Min items 1, Max items 50
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
    • GetStatusesByIdOperationSpec

      protected GetStatusesByIdOperationSpec()
  • Method Details

    • validate

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

    • id

      @NotNull public @NotNull List<String> id()
      The list of status IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&id=10001. Min items 1, Max items 50
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
    • id

      public GetStatusesByIdOperationSpec id(@NotNull @NotNull List<String> id)
      The list of status IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=10000&id=10001. Min items 1, Max items 50
      Returns:
      this.
    • expand

      public GetStatusesByIdOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
      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