@Generated(value="org.jsonschema2pojo") public class ImageParent extends Object implements Serializable
Visual representation of an object in the form of an image, video or embedded HTML fragments
Constructor and Description |
---|
ImageParent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Double |
getDuration()
duration
|
Long |
getHeight()
height
|
String |
getUrl()
The IRI of the media resource being linked.
|
Long |
getWidth()
width
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setDuration(Double duration)
duration
|
void |
setHeight(Long height)
height
|
void |
setUrl(String url)
The IRI of the media resource being linked.
|
void |
setWidth(Long width)
width
|
String |
toString() |
ImageParent |
withAdditionalProperty(String name,
Object value) |
ImageParent |
withDuration(Double duration) |
ImageParent |
withHeight(Long height) |
ImageParent |
withUrl(String url) |
ImageParent |
withWidth(Long width) |
@BeanProperty(value="duration") public Double getDuration()
A hint to the consumer about the length, in seconds, of the media resource identified by the url property. A media link MAY contain a "duration" property when the target resource is a time-based media item such as an audio or video.
@BeanProperty(value="duration") public void setDuration(Double duration)
A hint to the consumer about the length, in seconds, of the media resource identified by the url property. A media link MAY contain a "duration" property when the target resource is a time-based media item such as an audio or video.
duration
- The durationpublic ImageParent withDuration(Double duration)
@BeanProperty(value="height") public Long getHeight()
A hint to the consumer about the height, in pixels, of the media resource identified by the url property. A media link MAY contain a height property when the target resource is a visual media item such as an image, video or embeddable HTML page.
@BeanProperty(value="height") public void setHeight(Long height)
A hint to the consumer about the height, in pixels, of the media resource identified by the url property. A media link MAY contain a height property when the target resource is a visual media item such as an image, video or embeddable HTML page.
height
- The heightpublic ImageParent withHeight(Long height)
@BeanProperty(value="width") public Long getWidth()
A hint to the consumer about the width, in pixels, of the media resource identified by the url property. A media link MAY contain a width property when the target resource is a visual media item such as an image, video or embeddable HTML page.
@BeanProperty(value="width") public void setWidth(Long width)
A hint to the consumer about the width, in pixels, of the media resource identified by the url property. A media link MAY contain a width property when the target resource is a visual media item such as an image, video or embeddable HTML page.
width
- The widthpublic ImageParent withWidth(Long width)
@BeanProperty(value="url") public String getUrl()
@BeanProperty(value="url") public void setUrl(String url)
url
- The urlpublic ImageParent withUrl(String url)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public ImageParent withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.