Klasse GetMacroBodyByMacroIdOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetMacroBodyByMacroIdOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetMacroBodyByMacroIdOperationSpec
extends Object
GetMacroBodyByMacroIdSpec
Specification for the GetMacroBodyByMacroId operation.
Get macro body by macro ID
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetMacroBodyByMacroIdOperationSpec(String id, Integer version, String macroId) Constructs a validated instance ofGetMacroBodyByMacroIdOperationSpec.Constructs a validated instance ofGetMacroBodyByMacroIdOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID for the content that contains the macro.The ID for the content that contains the macro.@NotNull StringmacroId()The ID of the macro.The ID of the macro.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull Integerversion()The version of the content that contains the macro.The version of the content that contains the macro.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetMacroBodyByMacroIdOperationSpec
@Internal public GetMacroBodyByMacroIdOperationSpec(Consumer<GetMacroBodyByMacroIdOperationSpec> spec) Constructs a validated instance ofGetMacroBodyByMacroIdOperationSpec.- Parameter:
spec- the specification to process
-
GetMacroBodyByMacroIdOperationSpec
Constructs a validated instance ofGetMacroBodyByMacroIdOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID for the content that contains the macro.version- The version of the content that contains the macro. Specifying0as theversionwill return the macro body for the latest content version.macroId- The ID of the macro. This is usually passed by the app that the macro is in. Otherwise, find the macro ID by querying the desired content and version, then expanding the body in storage format. For example, '/content/196611/version/7?expand=content.body.storage'.
-
GetMacroBodyByMacroIdOperationSpec
protected GetMacroBodyByMacroIdOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static GetMacroBodyByMacroIdOperationSpec.GetMacroBodyByMacroIdOperationSpecBuilder builder() -
id
The ID for the content that contains the macro. -
version
The version of the content that contains the macro. Specifying0as theversionwill return the macro body for the latest content version. -
macroId
The ID of the macro. This is usually passed by the app that the macro is in. Otherwise, find the macro ID by querying the desired content and version, then expanding the body in storage format. For example, '/content/196611/version/7?expand=content.body.storage'. -
id
The ID for the content that contains the macro.- Gibt zurück:
this.
-
version
The version of the content that contains the macro. Specifying0as theversionwill return the macro body for the latest content version.- Gibt zurück:
this.
-
macroId
The ID of the macro. This is usually passed by the app that the macro is in. Otherwise, find the macro ID by querying the desired content and version, then expanding the body in storage format. For example, '/content/196611/version/7?expand=content.body.storage'.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-