Klasse StoreAvatarOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
StoreAvatarOperationSpec
(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 Object
body()
builder()
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()
@NotNull Integer
size()
The length of each side of the crop region.The length of each side of the crop region.toString()
@NotNull String
type()
The avatar type.The avatar type.void
validate()
Validates the Spec, will throw a exception if required parameters are missing@Nullable Integer
x()
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 Integer
y()
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
-