Class MediaItem

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class MediaItem
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Offering Media information.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MediaItem.Builder
      Builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String caption()
      Gets the caption.
      MediaItem.Builder newBuilder()
      New builder.
      java.lang.String thumbnailUrl()
      Gets the thumbnailUrl.
      java.lang.String type()
      Gets the type.
      java.lang.String url()
      Gets the url.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • newBuilder

        public MediaItem.Builder newBuilder()
        New builder.
        Returns:
        a MediaItem builder
      • url

        public java.lang.String url()
        Gets the url. URL of the specified media item.
        Returns:
        the url
      • caption

        public java.lang.String caption()
        Gets the caption. Caption for this media item.
        Returns:
        the caption
      • type

        public java.lang.String type()
        Gets the type. Type of this media item.
        Returns:
        the type
      • thumbnailUrl

        public java.lang.String thumbnailUrl()
        Gets the thumbnailUrl. Thumbnail URL for this media item.
        Returns:
        the thumbnailUrl