Class MediaToken
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.MediaToken
MediaToken
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.MediaToken(Consumer<MediaToken> spec) Constructs a validated instance ofMediaToken.MediaToken(List<String> collectionIds, String contentId, String expiryDateTime, List<String> fileIds, String token) Constructs a validated instance ofMediaToken. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for collectionIds.collectionIds(List<String> collectionIds) Fluent setter for collectionIds.Fluent getter for contentId.Fluent setter for contentId.booleanFluent getter for expiryDateTime.expiryDateTime(String expiryDateTime) Fluent setter for expiryDateTime.fileIds()Fluent getter for fileIds.Fluent setter for fileIds.Gets the value of collectionIds.Gets the value of contentId.Gets the value of expiryDateTime.Gets the value of fileIds.getToken()Gets the value of token.inthashCode()voidsetCollectionIds(List<String> collectionIds) Sets the value of collectionIds.voidsetContentId(String contentId) Sets the value of contentId.voidsetExpiryDateTime(String expiryDateTime) Sets the value of expiryDateTime.voidsetFileIds(List<String> fileIds) Sets the value of fileIds.voidSets the value of token.token()Fluent getter for token.Fluent setter for token.toString()
-
Field Details
-
collectionIds
-
contentId
-
expiryDateTime
-
fileIds
-
token
-
-
Constructor Details
-
MediaToken
Constructs a validated instance ofMediaToken.- Parameters:
spec- the specification to process
-
MediaToken
@Internal protected MediaToken()Protected no-args constructor for use by serialization frameworks. -
MediaToken
@Internal public MediaToken(List<String> collectionIds, String contentId, String expiryDateTime, List<String> fileIds, String token) Constructs a validated instance ofMediaToken.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
MediaToken(Consumer)instead.- Parameters:
collectionIds- collectionIdscontentId- contentIdexpiryDateTime- expiryDateTimefileIds- fileIdstoken- token
-
-
Method Details
-
collectionIds
-
collectionIds
Fluent setter for collectionIds.- Parameters:
collectionIds- collectionIds- Returns:
- this
-
getCollectionIds
-
setCollectionIds
-
contentId
-
contentId
Fluent setter for contentId.- Parameters:
contentId- contentId- Returns:
- this
-
getContentId
-
setContentId
Sets the value of contentId.- Parameters:
contentId- contentId
-
expiryDateTime
-
expiryDateTime
Fluent setter for expiryDateTime.- Parameters:
expiryDateTime- expiryDateTime- Returns:
- this
-
getExpiryDateTime
-
setExpiryDateTime
Sets the value of expiryDateTime.- Parameters:
expiryDateTime- expiryDateTime
-
fileIds
-
fileIds
Fluent setter for fileIds.- Parameters:
fileIds- fileIds- Returns:
- this
-
getFileIds
-
setFileIds
-
token
-
token
Fluent setter for token.- Parameters:
token- token- Returns:
- this
-
getToken
-
setToken
-
equals
-
hashCode
-
toString
-