Class GetAllProjectsOperationSpec

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

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

Specification for the GetAllProjects operation.

Get all projects

  • Field Details

    • VALIDATION_ENABLED

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

    • GetAllProjectsOperationSpec

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

      @Internal public GetAllProjectsOperationSpec(String expand, Integer recent, List<String> properties)
      Constructs a validated instance of GetAllProjectsOperationSpec.

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

      Parameters:
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: * description Returns the project description. * issueTypes Returns all issue types associated with the project. * lead Returns information about the project lead. * projectKeys Returns all project keys associated with the project.
      recent - Returns the user's most recently accessed projects. You may specify the number of results to return up to a maximum of 20. If access is anonymous, then the recently accessed projects are based on the current HTTP session.
      properties - A list of project properties to return for the project. This parameter accepts a comma-separated list.
    • GetAllProjectsOperationSpec

      protected GetAllProjectsOperationSpec()
  • Method Details

    • validate

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

    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: * description Returns the project description. * issueTypes Returns all issue types associated with the project. * lead Returns information about the project lead. * projectKeys Returns all project keys associated with the project.
    • recent

      @Nullable public @Nullable Integer recent()
      Returns the user's most recently accessed projects. You may specify the number of results to return up to a maximum of 20. If access is anonymous, then the recently accessed projects are based on the current HTTP session.
    • properties

      @Nullable public @Nullable List<String> properties()
      A list of project properties to return for the project. This parameter accepts a comma-separated list.
    • expand

      public GetAllProjectsOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: * description Returns the project description. * issueTypes Returns all issue types associated with the project. * lead Returns information about the project lead. * projectKeys Returns all project keys associated with the project.
      Returns:
      this.
    • recent

      public GetAllProjectsOperationSpec recent(@Nullable @Nullable Integer recent)
      Returns the user's most recently accessed projects. You may specify the number of results to return up to a maximum of 20. If access is anonymous, then the recently accessed projects are based on the current HTTP session.
      Returns:
      this.
    • properties

      public GetAllProjectsOperationSpec properties(@Nullable @Nullable List<String> properties)
      A list of project properties to return for the project. This parameter accepts a comma-separated list.
      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