public class Image extends ResourceBase
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
contentType(String contentType) |
boolean |
equals(Object o) |
String |
getContentType()
Get or sets the content type of an image.
|
Integer |
getHeight()
Get or sets the height of an image.
|
Integer |
getWidth()
Get or sets the width of an image.
|
int |
hashCode() |
Image |
height(Integer height) |
void |
setContentType(String contentType) |
void |
setHeight(Integer height) |
void |
setWidth(Integer width) |
String |
toString() |
Image |
width(Integer width) |
addAlternateLinksItem, alternateLinks, getAlternateLinks, getSelfUri, selfUri, setAlternateLinks, setSelfUri
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public String getContentType()
public void setContentType(String contentType)
public boolean equals(Object o)
equals
in class ResourceBase
public int hashCode()
hashCode
in class ResourceBase
public String toString()
toString
in class ResourceBase
Copyright © 2021. All rights reserved.