Class MediaItem
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.MediaItem
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class MediaItem extends com.ibm.cloud.sdk.core.service.model.GenericModelOffering Media information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaItem.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcaption()Gets the caption.MediaItem.BuildernewBuilder()New builder.java.lang.StringthumbnailUrl()Gets the thumbnailUrl.java.lang.Stringtype()Gets the type.java.lang.Stringurl()Gets the url.
-
-
-
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
-
-