Klasse CreateAttachmentOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.CreateAttachmentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateAttachmentOperationSpec
extends Object
CreateAttachmentSpec
Specification for the CreateAttachment operation.
Create 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofCreateAttachmentOperationSpec.Constructs a validated instance ofCreateAttachmentOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull File_file()The relative location and name of the attachment to be added to the content.The relative location and name of the attachment to be added to the content.builder()protected boolean@Nullable Filecomment()The comment for the attachment that is being added.The comment for the attachment that is being added.booleaninthashCode()@NotNull Stringid()The ID of the content to add the attachment to.The ID of the content to add the attachment to.@NotNull FileIfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.@Nullable Stringstatus()The status of the content that the attachment is being added to.The status of the content that the attachment is being added to.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
CreateAttachmentOperationSpec
Constructs a validated instance ofCreateAttachmentOperationSpec.- Parameter:
spec- the specification to process
-
CreateAttachmentOperationSpec
@Internal public CreateAttachmentOperationSpec(String id, File _file, File minorEdit, String status, File comment) Constructs a validated instance ofCreateAttachmentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to add the attachment to._file- The relative location and name of the attachment to be added to the content.minorEdit- IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.status- The status of the content that the attachment is being added to.comment- The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.
-
CreateAttachmentOperationSpec
protected CreateAttachmentOperationSpec()
-
-
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 to add the attachment to. -
_file
The relative location and name of the attachment to be added to the content. -
minorEdit
IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content. -
status
The status of the content that the attachment is being added to. -
comment
The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments. -
id
The ID of the content to add the attachment to.- Gibt zurück:
this.
-
_file
The relative location and name of the attachment to be added to the content.- Gibt zurück:
this.
-
minorEdit
IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.- Gibt zurück:
this.
-
status
The status of the content that the attachment is being added to.- Gibt zurück:
this.
-
comment
The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-