Class GetWorklogOperationSpec

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

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

Specification for the GetWorklog operation.

Get worklog

  • Field Details

    • VALIDATION_ENABLED

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

    • GetWorklogOperationSpec

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

      @Internal public GetWorklogOperationSpec(String issueIdOrKey, String id, String expand)
      Constructs a validated instance of GetWorklogOperationSpec.

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

      Parameters:
      issueIdOrKey - The ID or key of the issue.
      id - The ID of the worklog.
      expand - Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts properties, which returns worklog properties.
    • GetWorklogOperationSpec

      protected GetWorklogOperationSpec()
  • Method Details

    • validate

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

    • issueIdOrKey

      @NotNull public @NotNull String issueIdOrKey()
      The ID or key of the issue.
    • id

      @NotNull public @NotNull String id()
      The ID of the worklog.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts properties, which returns worklog properties.
    • issueIdOrKey

      public GetWorklogOperationSpec issueIdOrKey(@NotNull @NotNull String issueIdOrKey)
      The ID or key of the issue.
      Returns:
      this.
    • id

      public GetWorklogOperationSpec id(@NotNull @NotNull String id)
      The ID of the worklog.
      Returns:
      this.
    • expand

      public GetWorklogOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about work logs in the response. This parameter accepts properties, which returns worklog properties.
      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