Class GetSecurityLevelsOperationSpec

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

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

Specification for the GetSecurityLevels operation.

Get issue security levels

  • Field Details

    • VALIDATION_ENABLED

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

    • GetSecurityLevelsOperationSpec

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

      @Internal public GetSecurityLevelsOperationSpec(String startAt, String maxResults, Set<String> id, Set<String> schemeId, Boolean onlyDefault)
      Constructs a validated instance of GetSecurityLevelsOperationSpec.

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

      Parameters:
      startAt - The index of the first item to return in a page of results (page offset).
      maxResults - The maximum number of items to return per page.
      id - The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand: id=10000&amp;id=10001.
      schemeId - The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand: schemeId=10000&amp;schemeId=10001.
      onlyDefault - When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.
    • GetSecurityLevelsOperationSpec

      protected GetSecurityLevelsOperationSpec()
  • Method Details

    • validate

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

    • startAt

      @Nullable public @Nullable String startAt()
      The index of the first item to return in a page of results (page offset).
    • maxResults

      @Nullable public @Nullable String maxResults()
      The maximum number of items to return per page.
    • id

      @Nullable public @Nullable Set<String> id()
      The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand: id=10000&amp;id=10001.
    • schemeId

      @Nullable public @Nullable Set<String> schemeId()
      The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand: schemeId=10000&amp;schemeId=10001.
    • onlyDefault

      @Nullable public @Nullable Boolean onlyDefault()
      When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.
    • startAt

      public GetSecurityLevelsOperationSpec startAt(@Nullable @Nullable String startAt)
      The index of the first item to return in a page of results (page offset).
      Returns:
      this.
    • maxResults

      public GetSecurityLevelsOperationSpec maxResults(@Nullable @Nullable String maxResults)
      The maximum number of items to return per page.
      Returns:
      this.
    • id

      public GetSecurityLevelsOperationSpec id(@Nullable @Nullable Set<String> id)
      The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand: id=10000&amp;id=10001.
      Returns:
      this.
    • schemeId

      public GetSecurityLevelsOperationSpec schemeId(@Nullable @Nullable Set<String> schemeId)
      The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand: schemeId=10000&amp;schemeId=10001.
      Returns:
      this.
    • onlyDefault

      public GetSecurityLevelsOperationSpec onlyDefault(@Nullable @Nullable Boolean onlyDefault)
      When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.
      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