Class GetAvatarsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetAvatarsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAvatarsOperationSpec
extends Object
GetAvatarsSpec
Specification for the GetAvatars operation.
Get avatars
-
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
GetAvatarsOperationSpec
(String type, String entityId) Constructs a validated instance ofGetAvatarsOperationSpec
.Constructs a validated instance ofGetAvatarsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull String
entityId()
The ID of the item the avatar is associated with.The ID of the item the avatar is associated with.boolean
int
hashCode()
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
-
GetAvatarsOperationSpec
Constructs a validated instance ofGetAvatarsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetAvatarsOperationSpec
Constructs a validated instance ofGetAvatarsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
type
- The avatar type.entityId
- The ID of the item the avatar is associated with.
-
GetAvatarsOperationSpec
protected GetAvatarsOperationSpec()
-
-
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. -
entityId
The ID of the item the avatar is associated with. -
type
The avatar type.- Returns:
this
.
-
entityId
The ID of the item the avatar is associated with.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-