Class GetAvatarImageByIDOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetAvatarImageByIDOperationSpec(String type, Long id, String size, String format) Constructs a validated instance ofGetAvatarImageByIDOperationSpec.Constructs a validated instance ofGetAvatarImageByIDOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringformat()The format to return the avatar image in.The format to return the avatar image in.inthashCode()@NotNull Longid()The ID of the avatar.The ID of the avatar.@Nullable Stringsize()The size of the avatar image.The size of the avatar image.toString()@NotNull Stringtype()The icon type of the avatar.The icon type of the avatar.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetAvatarImageByIDOperationSpec
Constructs a validated instance ofGetAvatarImageByIDOperationSpec.- Parameters:
spec- the specification to process
-
GetAvatarImageByIDOperationSpec
Constructs a validated instance ofGetAvatarImageByIDOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
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. -
type
The icon type of the avatar.- Returns:
this.
-
id
The ID of the avatar.- Returns:
this.
-
size
The size of the avatar image. If not provided the default size is returned.- Returns:
this.
-
format
The format to return the avatar image in. If not provided the original content format is returned.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-