Klasse DownloadAttatchmentOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.DownloadAttatchmentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DownloadAttatchmentOperationSpec
extends Object
DownloadAttatchmentSpec
Specification for the DownloadAttatchment operation.
Get URI to download attachment
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDownloadAttatchmentOperationSpec(String id, String attachmentId, Integer version) Constructs a validated instance ofDownloadAttatchmentOperationSpec.Constructs a validated instance ofDownloadAttatchmentOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull StringThe ID of the attachment to download.attachmentId(@NotNull String attachmentId) The ID of the attachment to download.builder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content that the attachment is attached to.The ID of the content that the attachment is attached to.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable Integerversion()The version of the attachment.The version of the attachment.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
DownloadAttatchmentOperationSpec
Constructs a validated instance ofDownloadAttatchmentOperationSpec.- Parameter:
spec- the specification to process
-
DownloadAttatchmentOperationSpec
Constructs a validated instance ofDownloadAttatchmentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content that the attachment is attached to.attachmentId- The ID of the attachment to download.version- The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
-
DownloadAttatchmentOperationSpec
protected DownloadAttatchmentOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the content that the attachment is attached to. -
attachmentId
The ID of the attachment to download. -
version
The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment. -
id
The ID of the content that the attachment is attached to.- Gibt zurück:
this.
-
attachmentId
The ID of the attachment to download.- Gibt zurück:
this.
-
version
The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-