@Generated(value="org.jsonschema2pojo") public class Media extends Object
Constructor and Description |
---|
Media() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Audio |
getAudio() |
String |
getCaption() |
String |
getDuration() |
Image |
getImage() |
String |
getMimeType() |
String |
getUrl() |
Video |
getVideo() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAudio(Audio audio) |
void |
setCaption(String caption) |
void |
setDuration(String duration) |
void |
setImage(Image image) |
void |
setMimeType(String mimeType) |
void |
setUrl(String url) |
void |
setVideo(Video video) |
String |
toString() |
Media |
withAdditionalProperty(String name,
Object value) |
Media |
withAudio(Audio audio) |
Media |
withCaption(String caption) |
Media |
withDuration(String duration) |
Media |
withImage(Image image) |
Media |
withMimeType(String mimeType) |
Media |
withUrl(String url) |
Media |
withVideo(Video video) |
@BeanProperty(value="duration") public String getDuration()
@BeanProperty(value="duration") public void setDuration(String duration)
duration
- The duration@BeanProperty(value="audio") public Audio getAudio()
@BeanProperty(value="audio") public void setAudio(Audio audio)
audio
- The audio@BeanProperty(value="image") public Image getImage()
@BeanProperty(value="image") public void setImage(Image image)
image
- The image@BeanProperty(value="caption") public String getCaption()
@BeanProperty(value="caption") public void setCaption(String caption)
caption
- The caption@BeanProperty(value="video") public Video getVideo()
@BeanProperty(value="video") public void setVideo(Video video)
video
- The video@BeanProperty(value="url") public String getUrl()
@BeanProperty(value="url") public void setUrl(String url)
url
- The url@BeanProperty(value="mimeType") public String getMimeType()
@BeanProperty(value="mimeType") public void setMimeType(String mimeType)
mimeType
- The mimeType@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.