Klasse GetAvatarImageByIDOperationSpec

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

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

Specification for the GetAvatarImageByID operation.

Get avatar image by ID

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetAvatarImageByIDOperationSpec

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

      @Internal public GetAvatarImageByIDOperationSpec(String type, Long id, String size, String format)
      Constructs a validated instance of GetAvatarImageByIDOperationSpec.

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

      Parameter:
      type - The icon type of the avatar.
      id - The ID of the avatar.
      size - The size of the avatar image. If not provided the default size is returned.
      format - The format to return the avatar image in. If not provided the original content format is returned.
    • GetAvatarImageByIDOperationSpec

      protected GetAvatarImageByIDOperationSpec()
  • Methodendetails

    • validate

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

    • type

      @NotNull public @NotNull String type()
      The icon type of the avatar.
    • id

      @NotNull public @NotNull Long id()
      The ID of the avatar.
    • size

      @Nullable public @Nullable String size()
      The size of the avatar image. If not provided the default size is returned.
    • format

      @Nullable public @Nullable String format()
      The format to return the avatar image in. If not provided the original content format is returned.
    • type

      public GetAvatarImageByIDOperationSpec type(@NotNull @NotNull String type)
      The icon type of the avatar.
      Gibt zurück:
      this.
    • id

      public GetAvatarImageByIDOperationSpec id(@NotNull @NotNull Long id)
      The ID of the avatar.
      Gibt zurück:
      this.
    • size

      public GetAvatarImageByIDOperationSpec size(@Nullable @Nullable String size)
      The size of the avatar image. If not provided the default size is returned.
      Gibt zurück:
      this.
    • format

      public GetAvatarImageByIDOperationSpec format(@Nullable @Nullable String format)
      The format to return the avatar image in. If not provided the original content format is returned.
      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