Class DeleteAvatarOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteAvatarOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteAvatarOperationSpec
extends Object
DeleteAvatarSpec
Specification for the DeleteAvatar operation.
Delete avatar
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DeleteAvatarOperationSpec
(String type, String owningObjectId, Long id) Constructs a validated instance ofDeleteAvatarOperationSpec
.Constructs a validated instance ofDeleteAvatarOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the avatar.The ID of the avatar.@NotNull String
The ID of the item the avatar is associated with.owningObjectId
(@NotNull String owningObjectId) The ID of the item the avatar is associated with.toString()
@NotNull String
type()
The avatar type.The avatar type.void
validate()
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
-
DeleteAvatarOperationSpec
Constructs a validated instance ofDeleteAvatarOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteAvatarOperationSpec
Constructs a validated instance ofDeleteAvatarOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
type
- The avatar type.owningObjectId
- The ID of the item the avatar is associated with.id
- The ID of the avatar.
-
DeleteAvatarOperationSpec
protected DeleteAvatarOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
type
The avatar type. -
owningObjectId
The ID of the item the avatar is associated with. -
id
The ID of the avatar. -
type
The avatar type.- Returns:
this
.
-
owningObjectId
The ID of the item the avatar is associated with.- Returns:
this
.
-
id
The ID of the avatar.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-