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