Klasse StoreAvatarOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.StoreAvatarOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class StoreAvatarOperationSpec
extends Object
StoreAvatarSpec
Specification for the StoreAvatar operation.
Load avatar
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedStoreAvatarOperationSpec(String type, String entityId, Integer size, Object body, Integer x, Integer y) Constructs a validated instance ofStoreAvatarOperationSpec.Constructs a validated instance ofStoreAvatarOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull Objectbody()builder()protected boolean@NotNull StringentityId()The ID of the item the avatar is associated with.The ID of the item the avatar is associated with.booleaninthashCode()@NotNull Integersize()The length of each side of the crop region.The length of each side of the crop region.toString()@NotNull Stringtype()The avatar type.The avatar type.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable Integerx()The X coordinate of the top-left corner of the crop region.The X coordinate of the top-left corner of the crop region.@Nullable Integery()The Y coordinate of the top-left corner of the crop region.The Y coordinate of the top-left corner of the crop region.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
StoreAvatarOperationSpec
Constructs a validated instance ofStoreAvatarOperationSpec.- Parameter:
spec- the specification to process
-
StoreAvatarOperationSpec
@Internal public StoreAvatarOperationSpec(String type, String entityId, Integer size, Object body, Integer x, Integer y) Constructs a validated instance ofStoreAvatarOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
type- The avatar type.entityId- The ID of the item the avatar is associated with.size- The length of each side of the crop region.body-x- The X coordinate of the top-left corner of the crop region.y- The Y coordinate of the top-left corner of the crop region.
-
StoreAvatarOperationSpec
protected StoreAvatarOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
type
The avatar type. -
entityId
The ID of the item the avatar is associated with. -
size
The length of each side of the crop region. -
body
-
x
The X coordinate of the top-left corner of the crop region. -
y
The Y coordinate of the top-left corner of the crop region. -
type
The avatar type.- Gibt zurück:
this.
-
entityId
The ID of the item the avatar is associated with.- Gibt zurück:
this.
-
size
The length of each side of the crop region.- Gibt zurück:
this.
-
body
- Gibt zurück:
this.
-
x
The X coordinate of the top-left corner of the crop region.- Gibt zurück:
this.
-
y
The Y coordinate of the top-left corner of the crop region.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-