Class DigitalAssetRendition.RenditionFormat

java.lang.Object
com.oracle.content.sdk.model.AssetObject
com.oracle.content.sdk.model.AssetLinksObject
com.oracle.content.sdk.model.digital.DigitalAssetRendition.RenditionFormat
All Implemented Interfaces:
Serializable
Enclosing class:
DigitalAssetRendition

public static class DigitalAssetRendition.RenditionFormat extends AssetLinksObject
A format for a specific rendition. Generally, these are different images types such as webp or jpg.
See Also:
  • Constructor Details

    • RenditionFormat

      public RenditionFormat()
  • Method Details

    • getFormatName

      public String getFormatName()
      This will be a value such as "jpg" or "webp"
      Returns:
      the rendition format string
    • getRenditionName

      public String getRenditionName()
    • getSize

      public Integer getSize()
    • getMimeType

      public String getMimeType()
    • getMetadata

      public DigitalAssetMetadata getMetadata()
    • getWidth

      public Integer getWidth()
      Get width value (or null if not set).
      Returns:
      width if set
    • getHeight

      public Integer getHeight()
      Get height value (or null if not set).
      Returns:
      width if set
    • getDownloadUrl

      public String getDownloadUrl()
      Get the download url, which is first url in the "links" structure.
      Returns:
      download url, or null if not set.