Klasse GetAttachmentThumbnailOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetAttachmentThumbnailOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAttachmentThumbnailOperationSpec
extends Object
GetAttachmentThumbnailSpec
Specification for the GetAttachmentThumbnail operation.
Get attachment thumbnail
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetAttachmentThumbnailOperationSpec(String id, Boolean redirect, Boolean fallbackToDefault, Integer width, Integer height) Constructs a validated instance ofGetAttachmentThumbnailOperationSpec.Constructs a validated instance ofGetAttachmentThumbnailOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanboolean@Nullable BooleanWhether a default thumbnail is returned when the requested thumbnail is not found.fallbackToDefault(@Nullable Boolean fallbackToDefault) Whether a default thumbnail is returned when the requested thumbnail is not found.inthashCode()@Nullable Integerheight()The maximum height to scale the thumbnail to.The maximum height to scale the thumbnail to.@NotNull Stringid()The ID of the attachment.The ID of the attachment.@Nullable Booleanredirect()Whether a redirect is provided for the attachment download.Whether a redirect is provided for the attachment download.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable Integerwidth()The maximum width to scale the thumbnail to.The maximum width to scale the thumbnail to.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetAttachmentThumbnailOperationSpec
@Internal public GetAttachmentThumbnailOperationSpec(Consumer<GetAttachmentThumbnailOperationSpec> spec) Constructs a validated instance ofGetAttachmentThumbnailOperationSpec.- Parameter:
spec- the specification to process
-
GetAttachmentThumbnailOperationSpec
@Internal public GetAttachmentThumbnailOperationSpec(String id, Boolean redirect, Boolean fallbackToDefault, Integer width, Integer height) Constructs a validated instance ofGetAttachmentThumbnailOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the attachment.redirect- Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this tofalseto avoid making multiple requests to download the attachment.fallbackToDefault- Whether a default thumbnail is returned when the requested thumbnail is not found.width- The maximum width to scale the thumbnail to.height- The maximum height to scale the thumbnail to.
-
GetAttachmentThumbnailOperationSpec
protected GetAttachmentThumbnailOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static GetAttachmentThumbnailOperationSpec.GetAttachmentThumbnailOperationSpecBuilder builder() -
id
The ID of the attachment. -
redirect
Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this tofalseto avoid making multiple requests to download the attachment. -
fallbackToDefault
Whether a default thumbnail is returned when the requested thumbnail is not found. -
width
The maximum width to scale the thumbnail to. -
height
The maximum height to scale the thumbnail to. -
id
The ID of the attachment.- Gibt zurück:
this.
-
redirect
Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this tofalseto avoid making multiple requests to download the attachment.- Gibt zurück:
this.
-
fallbackToDefault
public GetAttachmentThumbnailOperationSpec fallbackToDefault(@Nullable @Nullable Boolean fallbackToDefault) Whether a default thumbnail is returned when the requested thumbnail is not found.- Gibt zurück:
this.
-
width
The maximum width to scale the thumbnail to.- Gibt zurück:
this.
-
height
The maximum height to scale the thumbnail to.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-