Class OEmbedResponse

java.lang.Object
io.goobi.viewer.servlets.oembed.OEmbedResponse
Direct Known Subclasses:
PhotoOEmbedResponse, RichOEmbedResponse

public abstract class OEmbedResponse extends Object

Abstract OEmbedResponse class.

  • Field Details

    • version

      protected String version
    • type

      protected String type
    • width

      protected Integer width
    • height

      protected Integer height
    • title

      protected String title
    • authorName

      protected String authorName
    • authorUrl

      protected String authorUrl
    • providerName

      protected String providerName
    • providerUrl

      protected String providerUrl
    • cacheAge

      protected Integer cacheAge
    • thumbnailUrl

      protected String thumbnailUrl
    • thumbnailWidth

      protected Integer thumbnailWidth
    • thumbnailHeight

      protected Integer thumbnailHeight
  • Constructor Details

    • OEmbedResponse

      public OEmbedResponse()
  • Method Details

    • getVersion

      public String getVersion()

      Getter for the field version.

      Returns:
      the version
    • setVersion

      public void setVersion(String version)

      Setter for the field version.

      Parameters:
      version - the version to set
    • getType

      public String getType()

      Getter for the field type.

      Returns:
      the type
    • setType

      public void setType(String type)

      Setter for the field type.

      Parameters:
      type - the type to set
    • getWidth

      public Integer getWidth()

      Getter for the field width.

      Returns:
      the width
    • setWidth

      public void setWidth(Integer width)

      Setter for the field width.

      Parameters:
      width - the width to set
    • getHeight

      public Integer getHeight()

      Getter for the field height.

      Returns:
      the height
    • setHeight

      public void setHeight(Integer height)

      Setter for the field height.

      Parameters:
      height - the height to set
    • getTitle

      public String getTitle()

      Getter for the field title.

      Returns:
      the title
    • setTitle

      public void setTitle(String title)

      Setter for the field title.

      Parameters:
      title - the title to set
    • getAuthorName

      public String getAuthorName()

      Getter for the field authorName.

      Returns:
      the authorName
    • setAuthorName

      public void setAuthorName(String authorName)

      Setter for the field authorName.

      Parameters:
      authorName - the authorName to set
    • getAuthorUrl

      public String getAuthorUrl()

      Getter for the field authorUrl.

      Returns:
      the authorUrl
    • setAuthorUrl

      public void setAuthorUrl(String authorUrl)

      Setter for the field authorUrl.

      Parameters:
      authorUrl - the authorUrl to set
    • getProviderName

      public String getProviderName()

      Getter for the field providerName.

      Returns:
      the providerName
    • setProviderName

      public void setProviderName(String providerName)

      Setter for the field providerName.

      Parameters:
      providerName - the providerName to set
    • getProviderUrl

      public String getProviderUrl()

      Getter for the field providerUrl.

      Returns:
      the providerUrl
    • setProviderUrl

      public void setProviderUrl(String providerUrl)

      Setter for the field providerUrl.

      Parameters:
      providerUrl - the providerUrl to set
    • getCacheAge

      public Integer getCacheAge()

      Getter for the field cacheAge.

      Returns:
      the cacheAge
    • setCacheAge

      public void setCacheAge(Integer cacheAge)

      Setter for the field cacheAge.

      Parameters:
      cacheAge - the cacheAge to set
    • getThumbnailUrl

      public String getThumbnailUrl()

      Getter for the field thumbnailUrl.

      Returns:
      the thumbnailUrl
    • setThumbnailUrl

      public void setThumbnailUrl(String thumbnailUrl)

      Setter for the field thumbnailUrl.

      Parameters:
      thumbnailUrl - the thumbnailUrl to set
    • getThumbnailWidth

      public Integer getThumbnailWidth()

      Getter for the field thumbnailWidth.

      Returns:
      the thumbnailWidth
    • setThumbnailWidth

      public void setThumbnailWidth(Integer thumbnailWidth)

      Setter for the field thumbnailWidth.

      Parameters:
      thumbnailWidth - the thumbnailWidth to set
    • getThumbnailHeight

      public Integer getThumbnailHeight()

      Getter for the field thumbnailHeight.

      Returns:
      the thumbnailHeight
    • setThumbnailHeight

      public void setThumbnailHeight(Integer thumbnailHeight)

      Setter for the field thumbnailHeight.

      Parameters:
      thumbnailHeight - the thumbnailHeight to set