Class GetAvatarImageByOwnerOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetAvatarImageByOwnerOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAvatarImageByOwnerOperationSpec
extends Object
GetAvatarImageByOwnerSpec
Specification for the GetAvatarImageByOwner operation.
Get avatar image by owner
-
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
ConstructorsModifierConstructorDescriptionprotectedGetAvatarImageByOwnerOperationSpec(String type, String entityId, String size, String format) Constructs a validated instance ofGetAvatarImageByOwnerOperationSpec.Constructs a validated instance ofGetAvatarImageByOwnerOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull StringentityId()The ID of the project or issue type the avatar belongs to.The ID of the project or issue type the avatar belongs to.boolean@Nullable Stringformat()The format to return the avatar image in.The format to return the avatar image in.inthashCode()@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
-
GetAvatarImageByOwnerOperationSpec
@Internal public GetAvatarImageByOwnerOperationSpec(Consumer<GetAvatarImageByOwnerOperationSpec> spec) Constructs a validated instance ofGetAvatarImageByOwnerOperationSpec.- Parameters:
spec- the specification to process
-
GetAvatarImageByOwnerOperationSpec
@Internal public GetAvatarImageByOwnerOperationSpec(String type, String entityId, String size, String format) Constructs a validated instance ofGetAvatarImageByOwnerOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
type- The icon type of the avatar.entityId- The ID of the project or issue type the avatar belongs to.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.
-
GetAvatarImageByOwnerOperationSpec
protected GetAvatarImageByOwnerOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetAvatarImageByOwnerOperationSpec.GetAvatarImageByOwnerOperationSpecBuilder builder() -
type
The icon type of the avatar. -
entityId
The ID of the project or issue type the avatar belongs to. -
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.
-
entityId
The ID of the project or issue type the avatar belongs to.- 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
-