Class SimpleMultimediaBooker
java.lang.Object
travel.wink.sdk.booking.model.SimpleMultimediaBooker
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:16:53.154776164+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
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
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 TypeMethodDescriptionaddAttributionItem(ImageAttributionBooker attributionItem) addDescriptionsItem(SimpleDescriptionBooker descriptionsItem) attribution(List<@Valid ImageAttributionBooker> attribution) descriptions(List<@Valid SimpleDescriptionBooker> descriptions) booleangetAngle()Media angle@Valid List<@Valid ImageAttributionBooker> Whether image has attribution propertiesSupported OTA specification `PIC` code.@Valid List<@Valid SimpleDescriptionBooker> Localized media captions to give user some context about where this media was taken.@NotNull @Min(1L) IntegerMedia height in pixels.@NotNull @Size(min=1) 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 @Size(min=1) UUIDDocument identifierInstead of deleting the media, choose to un-publish it instead for later re-use.@NotNull IntegergetSort()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 @Min(1L) IntegergetWidth()Media width in pixels.inthashCode()identifier(String identifier) isLandscape(Boolean isLandscape) lifestyleType(SimpleMultimediaBooker.LifestyleTypeEnum lifestyleType) multimediaIdentifier(UUID multimediaIdentifier) voidvoidsetAttribution(List<@Valid ImageAttributionBooker> attribution) voidsetCategory(String category) voidsetDescriptions(List<@Valid 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_ATTRIBUTION
- See Also:
-
JSON_PROPERTY_IS_LANDSCAPE
- See Also:
-
-
Constructor Details
-
SimpleMultimediaBooker
public SimpleMultimediaBooker()
-
-
Method Details
-
multimediaIdentifier
-
getMultimediaIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID 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
-
setAngle
-
width
-
getWidth
Media width in pixels. minimum: 1- Returns:
- width
-
setWidth
-
height
-
getHeight
Media height in pixels. minimum: 1- 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
public SimpleMultimediaBooker descriptions(@Nullable List<@Valid SimpleDescriptionBooker> descriptions) -
addDescriptionsItem
-
getDescriptions
Localized media captions to give user some context about where this media was taken.- Returns:
- descriptions
-
setDescriptions
-
lifestyleType
public SimpleMultimediaBooker lifestyleType(@Nullable SimpleMultimediaBooker.LifestyleTypeEnum 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
-
attribution
public SimpleMultimediaBooker attribution(@Nullable List<@Valid ImageAttributionBooker> attribution) -
addAttributionItem
-
getAttribution
Whether image has attribution properties- Returns:
- attribution
-
setAttribution
-
isLandscape
-
getIsLandscape
True if media width is greater or equal to height- Returns:
- isLandscape
-
setIsLandscape
-
equals
-
hashCode
-
toString
-