Class GetCreateIssueMetaOperationSpec

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

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

Specification for the GetCreateIssueMeta operation.

Get create issue metadata

  • Field Details

    • VALIDATION_ENABLED

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

    • GetCreateIssueMetaOperationSpec

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

      @Internal public GetCreateIssueMetaOperationSpec(List<String> projectIds, List<String> projectKeys, List<String> issuetypeIds, List<String> issuetypeNames, String expand)
      Constructs a validated instance of GetCreateIssueMetaOperationSpec.

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

      Parameters:
      projectIds - List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example, projectIds=10000,10001&amp;projectIds=10020,10021. This parameter may be provided with projectKeys.
      projectKeys - List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example, projectKeys=proj1,proj2&amp;projectKeys=proj3. This parameter may be provided with projectIds.
      issuetypeIds - List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example, issuetypeIds=10000,10001&amp;issuetypeIds=10020,10021. This parameter may be provided with issuetypeNames.
      issuetypeNames - List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example, issuetypeNames=name1,name2&amp;issuetypeNames=name3. This parameter may be provided with issuetypeIds.
      expand - Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter accepts projects.issuetypes.fields, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate the fields and update fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post).
    • GetCreateIssueMetaOperationSpec

      protected GetCreateIssueMetaOperationSpec()
  • Method Details

    • validate

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

    • projectIds

      @Nullable public @Nullable List<String> projectIds()
      List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example, projectIds=10000,10001&amp;projectIds=10020,10021. This parameter may be provided with projectKeys.
    • projectKeys

      @Nullable public @Nullable List<String> projectKeys()
      List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example, projectKeys=proj1,proj2&amp;projectKeys=proj3. This parameter may be provided with projectIds.
    • issuetypeIds

      @Nullable public @Nullable List<String> issuetypeIds()
      List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example, issuetypeIds=10000,10001&amp;issuetypeIds=10020,10021. This parameter may be provided with issuetypeNames.
    • issuetypeNames

      @Nullable public @Nullable List<String> issuetypeNames()
      List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example, issuetypeNames=name1,name2&amp;issuetypeNames=name3. This parameter may be provided with issuetypeIds.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter accepts projects.issuetypes.fields, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate the fields and update fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post).
    • projectIds

      public GetCreateIssueMetaOperationSpec projectIds(@Nullable @Nullable List<String> projectIds)
      List of project IDs. This parameter accepts a comma-separated list. Multiple project IDs can also be provided using an ampersand-separated list. For example, projectIds=10000,10001&amp;projectIds=10020,10021. This parameter may be provided with projectKeys.
      Returns:
      this.
    • projectKeys

      public GetCreateIssueMetaOperationSpec projectKeys(@Nullable @Nullable List<String> projectKeys)
      List of project keys. This parameter accepts a comma-separated list. Multiple project keys can also be provided using an ampersand-separated list. For example, projectKeys=proj1,proj2&amp;projectKeys=proj3. This parameter may be provided with projectIds.
      Returns:
      this.
    • issuetypeIds

      public GetCreateIssueMetaOperationSpec issuetypeIds(@Nullable @Nullable List<String> issuetypeIds)
      List of issue type IDs. This parameter accepts a comma-separated list. Multiple issue type IDs can also be provided using an ampersand-separated list. For example, issuetypeIds=10000,10001&amp;issuetypeIds=10020,10021. This parameter may be provided with issuetypeNames.
      Returns:
      this.
    • issuetypeNames

      public GetCreateIssueMetaOperationSpec issuetypeNames(@Nullable @Nullable List<String> issuetypeNames)
      List of issue type names. This parameter accepts a comma-separated list. Multiple issue type names can also be provided using an ampersand-separated list. For example, issuetypeNames=name1,name2&amp;issuetypeNames=name3. This parameter may be provided with issuetypeIds.
      Returns:
      this.
    • expand

      public GetCreateIssueMetaOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about issue metadata in the response. This parameter accepts projects.issuetypes.fields, which returns information about the fields in the issue creation screen for each issue type. Fields hidden from the screen are not returned. Use the information to populate the fields and update fields in [Create issue](#api-rest-api-2-issue-post) and [Create issues](#api-rest-api-2-issue-bulk-post).
      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