Package travel.wink.sdk.booking.model
Class SimpleMultimediaBooker
java.lang.Object
travel.wink.sdk.booking.model.SimpleMultimediaBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-09-09T12:27:44.749456540+07:00[Asia/Bangkok]")
public class SimpleMultimediaBooker
extends Object
Multimedia that contains less information than Multimedia object
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionBooker descriptionsItem) descriptions(List<SimpleDescriptionBooker> descriptions) booleangetAngle()Media angleSupported OTA specification `PIC` code.@Valid List<SimpleDescriptionBooker>Localized media captions to give user some context about where this media was taken.@NotNull IntegerMedia height in pixels.@NotNull StringUse this identifier to communicate with Cloudinary.True if media width is greater or equal to heightAssociate this media with a specific lifestyle type.@NotNull @Valid UUIDDocument 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.@NotNull SimpleMultimediaBooker.SourceEnumCurrently ONLY using Cloudinary to store all image / video assets.@NotNull SimpleMultimediaBooker.TypeEnumgetType()Whether Cloudinary media is a VIDEO or IMAGE.@NotNull IntegergetWidth()Media width in pixels.inthashCode()identifier(String identifier) isLandscape(Boolean isLandscape) lifestyleType(SimpleMultimediaBooker.LifestyleTypeEnum lifestyleType) multimediaIdentifier(UUID multimediaIdentifier) voidvoidsetCategory(String category) voidsetDescriptions(List<SimpleDescriptionBooker> descriptions) voidvoidsetIdentifier(String identifier) voidsetIsLandscape(Boolean isLandscape) voidsetLifestyleType(SimpleMultimediaBooker.LifestyleTypeEnum lifestyleType) voidsetMultimediaIdentifier(UUID multimediaIdentifier) voidsetPublished(Boolean published) voidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_MULTIMEDIA_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_ANGLE
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_PUBLISHED
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_LIFESTYLE_TYPE
- See Also:
-
JSON_PROPERTY_IS_LANDSCAPE
- See Also:
-
-
Constructor Details
-
SimpleMultimediaBooker
public SimpleMultimediaBooker()
-
-
Method Details
-
multimediaIdentifier
-
getMultimediaIdentifier
Document identifier- Returns:
- multimediaIdentifier
-
setMultimediaIdentifier
-
identifier
-
getIdentifier
Use this identifier to communicate with Cloudinary.- Returns:
- identifier
-
setIdentifier
-
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
-
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
-
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
-
descriptions
-
addDescriptionsItem
-
getDescriptions
Localized media captions to give user some context about where this media was taken.- Returns:
- descriptions
-
setDescriptions
-
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
-
isLandscape
-
getIsLandscape
True if media width is greater or equal to height- Returns:
- isLandscape
-
setIsLandscape
-
equals
-
hashCode
public int hashCode() -
toString
-