Class DeleteProjectAvatarOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteProjectAvatarOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteProjectAvatarOperationSpec
extends Object
DeleteProjectAvatarSpec
Specification for the DeleteProjectAvatar operation.
Delete project 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
DeleteProjectAvatarOperationSpec
(String projectIdOrKey, Long id) Constructs a validated instance ofDeleteProjectAvatarOperationSpec
.Constructs a validated instance ofDeleteProjectAvatarOperationSpec
. -
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 project ID or (case-sensitive) key.projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or (case-sensitive) key.toString()
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
-
DeleteProjectAvatarOperationSpec
Constructs a validated instance ofDeleteProjectAvatarOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteProjectAvatarOperationSpec
Constructs a validated instance ofDeleteProjectAvatarOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey
- The project ID or (case-sensitive) key.id
- The ID of the avatar.
-
DeleteProjectAvatarOperationSpec
protected DeleteProjectAvatarOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectIdOrKey
The project ID or (case-sensitive) key. -
id
The ID of the avatar. -
projectIdOrKey
The project ID or (case-sensitive) key.- Returns:
this
.
-
id
The ID of the avatar.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-