Package travel.wink.sdk.extranet.model
Class Multimedia
java.lang.Object
travel.wink.sdk.extranet.model.Multimedia
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-29T13:20:57.452361+07:00[Asia/Bangkok]")
public class Multimedia
extends Object
Multimedia
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAssociate this media with a specific lifestyle type.static enumCurrently ONLY using Cloudinary to store all image / video assets.static enumWhether Cloudinary media is a VIDEO or IMAGE. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCaptionsItem(SimpleDescription captionsItem) captions(List<SimpleDescription> captions) booleangetAngle()Media angle@Valid List<SimpleDescription>Localized media captions to give user some context about where this media was taken.Supported OTA specification `PIC` code.Media height in pixels.Owner identifier of property that owns the multimedia record.Use this identifier to communicate with Cloudinary.True if media width is greater or equal to heightAssociate this media with a specific lifestyle type.Document identifierInstead of deleting the media, choose to un-publish it instead for later re-use.getSort()Sort allows you to control how you want to sort this record in a list of media records.Currently ONLY using Cloudinary to store all image / video assets.getType()Whether Cloudinary media is a VIDEO or IMAGE.getWidth()Media width in pixels.inthashCode()hotelIdentifier(String hotelIdentifier) identifier(String identifier) isLandscape(Boolean isLandscape) lifestyleType(Multimedia.LifestyleTypeEnum lifestyleType) multimediaIdentifier(String multimediaIdentifier) voidvoidsetCaptions(List<SimpleDescription> captions) voidsetCategory(String category) voidvoidsetHotelIdentifier(String hotelIdentifier) voidsetIdentifier(String identifier) voidsetIsLandscape(Boolean isLandscape) voidsetLifestyleType(Multimedia.LifestyleTypeEnum lifestyleType) voidsetMultimediaIdentifier(String multimediaIdentifier) voidsetPublished(Boolean published) voidvoidsetSource(Multimedia.SourceEnum source) voidsetType(Multimedia.TypeEnum type) voidsource(Multimedia.SourceEnum source) toString()type(Multimedia.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_MULTIMEDIA_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_PUBLISHED
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CAPTIONS
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPE
- See Also:
-
JSON_PROPERTY_ANGLE
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_IS_LANDSCAPE
- See Also:
-
-
Constructor Details
-
Multimedia
public Multimedia()
-
-
Method Details
-
multimediaIdentifier
-
getMultimediaIdentifier
Document identifier- Returns:
- multimediaIdentifier
-
setMultimediaIdentifier
-
identifier
-
getIdentifier
Use this identifier to communicate with Cloudinary.- Returns:
- identifier
-
setIdentifier
-
hotelIdentifier
-
getHotelIdentifier
Owner identifier of property that owns the multimedia record.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
type
-
getType
Whether Cloudinary media is a VIDEO or IMAGE.- Returns:
- type
-
setType
-
source
-
getSource
Currently ONLY using Cloudinary to store all image / video assets.- Returns:
- source
-
setSource
-
sort
-
getSort
Sort allows you to control how you want to sort this record in a list of media records.- Returns:
- sort
-
setSort
-
published
-
getPublished
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.- Returns:
- published
-
setPublished
-
category
-
getCategory
Supported OTA specification `PIC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)- Returns:
- category
-
setCategory
-
captions
-
addCaptionsItem
-
getCaptions
Localized media captions to give user some context about where this media was taken.- Returns:
- captions
-
setCaptions
-
lifestyleType
-
getLifestyleType
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.- Returns:
- lifestyleType
-
setLifestyleType
-
angle
-
getAngle
Media angle- Returns:
- angle
-
setAngle
-
width
-
getWidth
Media width in pixels.- Returns:
- width
-
setWidth
-
height
-
getHeight
Media height in pixels.- Returns:
- height
-
setHeight
-
isLandscape
-
getIsLandscape
True if media width is greater or equal to height- Returns:
- isLandscape
-
setIsLandscape
-
equals
-
hashCode
public int hashCode() -
toString
-