Klasse GetProjectContextMappingOperationSpec

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

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

Specification for the GetProjectContextMapping operation.

Get project mappings for custom field context

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetProjectContextMappingOperationSpec

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

      @Internal public GetProjectContextMappingOperationSpec(String fieldId, Set<Long> contextId, Long startAt, Integer maxResults)
      Constructs a validated instance of GetProjectContextMappingOperationSpec.

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

      Parameter:
      fieldId - The ID of the custom field, for example customfield\\_10000.
      contextId - The list of context IDs. To include multiple context, separate IDs with ampersand: contextId=10000&amp;contextId=10001.
      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.
    • GetProjectContextMappingOperationSpec

      protected GetProjectContextMappingOperationSpec()
  • Methodendetails

    • validate

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

    • fieldId

      @NotNull public @NotNull String fieldId()
      The ID of the custom field, for example customfield\\_10000.
    • contextId

      @Nullable public @Nullable Set<Long> contextId()
      The list of context IDs. To include multiple context, separate IDs with ampersand: contextId=10000&amp;contextId=10001.
    • startAt

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

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

      public GetProjectContextMappingOperationSpec fieldId(@NotNull @NotNull String fieldId)
      The ID of the custom field, for example customfield\\_10000.
      Gibt zurück:
      this.
    • contextId

      public GetProjectContextMappingOperationSpec contextId(@Nullable @Nullable Set<Long> contextId)
      The list of context IDs. To include multiple context, separate IDs with ampersand: contextId=10000&amp;contextId=10001.
      Gibt zurück:
      this.
    • startAt

      public GetProjectContextMappingOperationSpec startAt(@Nullable @Nullable Long startAt)
      The index of the first item to return in a page of results (page offset).
      Gibt zurück:
      this.
    • maxResults

      public GetProjectContextMappingOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      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