Klasse GetOptionsForContextOperationSpec

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

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

Specification for the GetOptionsForContext operation.

Get custom field options (context)

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetOptionsForContextOperationSpec

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

      @Internal public GetOptionsForContextOperationSpec(String fieldId, Long contextId, Long optionId, Boolean onlyOptions, Long startAt, Integer maxResults)
      Constructs a validated instance of GetOptionsForContextOperationSpec.

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

      Parameter:
      fieldId - The ID of the custom field.
      contextId - The ID of the context.
      optionId - The ID of the option.
      onlyOptions - Whether only options are returned.
      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.
    • GetOptionsForContextOperationSpec

      protected GetOptionsForContextOperationSpec()
  • 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.
    • contextId

      @NotNull public @NotNull Long contextId()
      The ID of the context.
    • optionId

      @Nullable public @Nullable Long optionId()
      The ID of the option.
    • onlyOptions

      @Nullable public @Nullable Boolean onlyOptions()
      Whether only options are returned.
    • 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 GetOptionsForContextOperationSpec fieldId(@NotNull @NotNull String fieldId)
      The ID of the custom field.
      Gibt zurück:
      this.
    • contextId

      public GetOptionsForContextOperationSpec contextId(@NotNull @NotNull Long contextId)
      The ID of the context.
      Gibt zurück:
      this.
    • optionId

      public GetOptionsForContextOperationSpec optionId(@Nullable @Nullable Long optionId)
      The ID of the option.
      Gibt zurück:
      this.
    • onlyOptions

      public GetOptionsForContextOperationSpec onlyOptions(@Nullable @Nullable Boolean onlyOptions)
      Whether only options are returned.
      Gibt zurück:
      this.
    • startAt

      public GetOptionsForContextOperationSpec 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 GetOptionsForContextOperationSpec 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