Media

public final class Media

Container for hotel images

Parameters

type

Supported type of media. 1=Image. Only 1 is supported now.

title

Image title

propertySize

Image size. You can find a link to the complete list of Supported Images Sizes in Lodging Image Captions, IDs, and Sizes.

url

Image URL

Constructors

Link copied to clipboard
public Media Media(Media.Type type, String title, String propertySize, String url)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum Type extends Enum<Media.Type>

Supported type of media. 1=Image. Only 1 is supported now. Values: _1

Properties

Link copied to clipboard
@Valid()
private final String propertySize
Link copied to clipboard
@Valid()
private final String title
Link copied to clipboard
private final Media.Type type
Link copied to clipboard
@Valid()
private final String url

Functions

Link copied to clipboard
public final static Media.Builder builder()
Link copied to clipboard
public final String getPropertySize()
Link copied to clipboard
public final String getTitle()
Link copied to clipboard
public final Media.Type getType()
Link copied to clipboard
public final String getUrl()
Link copied to clipboard
public final Media.Builder toBuilder()