Class EmbeddedContent
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.EmbeddedContent
EmbeddedContent
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofEmbeddedContent.Constructs a validated instance ofEmbeddedContent. -
Method Summary
Modifier and TypeMethodDescriptionentity()Fluent getter for entity.Fluent setter for entity.entityId()Fluent getter for entityId.Fluent setter for entityId.Fluent getter for entityType.entityType(String entityType) Fluent setter for entityType.booleanGets the value of entity.Gets the value of entityId.Gets the value of entityType.inthashCode()voidSets the value of entity.voidsetEntityId(Long entityId) Sets the value of entityId.voidsetEntityType(String entityType) Sets the value of entityType.toString()
-
Field Details
-
entityId
-
entityType
-
entity
-
-
Constructor Details
-
EmbeddedContent
Constructs a validated instance ofEmbeddedContent.- Parameters:
spec- the specification to process
-
EmbeddedContent
@Internal protected EmbeddedContent()Protected no-args constructor for use by serialization frameworks. -
EmbeddedContent
Constructs a validated instance ofEmbeddedContent.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
EmbeddedContent(Consumer)instead.- Parameters:
entityId- entityIdentityType- entityTypeentity- entity
-
-
Method Details
-
entityId
-
entityId
Fluent setter for entityId.- Parameters:
entityId- entityId- Returns:
- this
-
getEntityId
-
setEntityId
-
entityType
-
entityType
Fluent setter for entityType.- Parameters:
entityType- entityType- Returns:
- this
-
getEntityType
-
setEntityType
Sets the value of entityType.- Parameters:
entityType- entityType
-
entity
-
entity
Fluent setter for entity.- Parameters:
entity- entity- Returns:
- this
-
getEntity
-
setEntity
-
equals
-
hashCode
-
toString
-