Class MacroInstance
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.MacroInstance
MacroInstance
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofMacroInstance.MacroInstance(Consumer<MacroInstance> spec) Constructs a validated instance ofMacroInstance. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.body()Fluent getter for body.Fluent setter for body.booleanGets the value of additionalLinks.getBody()Gets the value of body.getName()Gets the value of name.Gets the value of parameters.inthashCode()name()Fluent getter for name.Fluent setter for name.Fluent getter for parameters.parameters(Object parameters) Fluent setter for parameters.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of body.voidSets the value of name.voidsetParameters(Object parameters) Sets the value of parameters.toString()
-
Field Details
-
name
-
body
-
parameters
-
additionalLinks
-
-
Constructor Details
-
MacroInstance
Constructs a validated instance ofMacroInstance.- Parameters:
spec- the specification to process
-
MacroInstance
@Internal protected MacroInstance()Protected no-args constructor for use by serialization frameworks. -
MacroInstance
@Internal public MacroInstance(String name, String body, Object parameters, Map<String, Object> additionalLinks) Constructs a validated instance ofMacroInstance.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
MacroInstance(Consumer)instead.- Parameters:
name- namebody- bodyparameters- parametersadditionalLinks- additionalLinks
-
-
Method Details
-
name
-
name
Fluent setter for name.- Parameters:
name- name- Returns:
- this
-
getName
-
setName
-
body
-
body
Fluent setter for body.- Parameters:
body- body- Returns:
- this
-
getBody
-
setBody
-
parameters
-
parameters
Fluent setter for parameters.- Parameters:
parameters- parameters- Returns:
- this
-
getParameters
-
setParameters
Sets the value of parameters.- Parameters:
parameters- parameters
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-