Class MediaToken

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.MediaToken

@Generated("io.github.primelib.primecodegen") public class MediaToken extends Object
MediaToken
  • Field Details

    • collectionIds

      protected List<String> collectionIds
    • contentId

      protected String contentId
    • expiryDateTime

      protected String expiryDateTime
    • fileIds

      protected List<String> fileIds
    • token

      protected String token
  • Constructor Details

    • MediaToken

      public MediaToken(Consumer<MediaToken> spec)
      Constructs a validated instance of MediaToken.
      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 of MediaToken.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using MediaToken(Consumer) instead.

      Parameters:
      collectionIds - collectionIds
      contentId - contentId
      expiryDateTime - expiryDateTime
      fileIds - fileIds
      token - token
  • Method Details

    • collectionIds

      public List<String> collectionIds()
      Fluent getter for collectionIds.
      Returns:
      collectionIds
    • collectionIds

      public MediaToken collectionIds(List<String> collectionIds)
      Fluent setter for collectionIds.
      Parameters:
      collectionIds - collectionIds
      Returns:
      this
    • getCollectionIds

      public List<String> getCollectionIds()
      Gets the value of collectionIds.
      Returns:
      collectionIds
    • setCollectionIds

      public void setCollectionIds(List<String> collectionIds)
      Sets the value of collectionIds.
      Parameters:
      collectionIds - collectionIds
    • contentId

      public String contentId()
      Fluent getter for contentId.
      Returns:
      contentId
    • contentId

      public MediaToken contentId(String contentId)
      Fluent setter for contentId.
      Parameters:
      contentId - contentId
      Returns:
      this
    • getContentId

      public String getContentId()
      Gets the value of contentId.
      Returns:
      contentId
    • setContentId

      public void setContentId(String contentId)
      Sets the value of contentId.
      Parameters:
      contentId - contentId
    • expiryDateTime

      public String expiryDateTime()
      Fluent getter for expiryDateTime.
      Returns:
      expiryDateTime
    • expiryDateTime

      public MediaToken expiryDateTime(String expiryDateTime)
      Fluent setter for expiryDateTime.
      Parameters:
      expiryDateTime - expiryDateTime
      Returns:
      this
    • getExpiryDateTime

      public String getExpiryDateTime()
      Gets the value of expiryDateTime.
      Returns:
      expiryDateTime
    • setExpiryDateTime

      public void setExpiryDateTime(String expiryDateTime)
      Sets the value of expiryDateTime.
      Parameters:
      expiryDateTime - expiryDateTime
    • fileIds

      public List<String> fileIds()
      Fluent getter for fileIds.
      Returns:
      fileIds
    • fileIds

      public MediaToken fileIds(List<String> fileIds)
      Fluent setter for fileIds.
      Parameters:
      fileIds - fileIds
      Returns:
      this
    • getFileIds

      public List<String> getFileIds()
      Gets the value of fileIds.
      Returns:
      fileIds
    • setFileIds

      public void setFileIds(List<String> fileIds)
      Sets the value of fileIds.
      Parameters:
      fileIds - fileIds
    • token

      public String token()
      Fluent getter for token.
      Returns:
      token
    • token

      public MediaToken token(String token)
      Fluent setter for token.
      Parameters:
      token - token
      Returns:
      this
    • getToken

      public String getToken()
      Gets the value of token.
      Returns:
      token
    • setToken

      public void setToken(String token)
      Sets the value of token.
      Parameters:
      token - token
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object