Image

public final class Image

An individual image. See our image categories reference for current known caption and category values.

Parameters

heroImage

Whether this image is a hero image or not.

category

The category of the image.

caption

The image caption.

links

Contains urls for all of the image sizes available. Sizes may include: 70 px, 200px, 350 px, and 1,000 px

Constructors

Link copied to clipboard
public Image Image(Boolean heroImage, BigDecimal category, String caption, Map<String, Link> links)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String caption
Link copied to clipboard
@Valid()
private final BigDecimal category
Link copied to clipboard
@Valid()
private final Boolean heroImage
Link copied to clipboard
@Valid()
private final Map<String, Link> links

Functions

Link copied to clipboard
public final static Image.Builder builder()
Link copied to clipboard
public final String getCaption()
Link copied to clipboard
public final BigDecimal getCategory()
Link copied to clipboard
public final Boolean getHeroImage()
Link copied to clipboard
public final Map<String, Link> getLinks()
Link copied to clipboard
public final Image.Builder toBuilder()