Class SimpleMultimediaSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.booking.model.SimpleMultimediaSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:17:36.846722567+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class SimpleMultimediaSupplierDetails
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(ImageAttributionSupplierDetails attributionItem) addDescriptionsItem(SimpleDescriptionSupplierDetails descriptionsItem) attribution(List<@Valid ImageAttributionSupplierDetails> attribution) descriptions(List<@Valid SimpleDescriptionSupplierDetails> descriptions) booleangetAngle()Media angle@Valid List<@Valid ImageAttributionSupplierDetails> Whether image has attribution propertiesSupported OTA specification `PIC` code.@Valid List<@Valid SimpleDescriptionSupplierDetails> 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.Currently ONLY using Cloudinary to store all image / video assets.getType()Whether Cloudinary media is a VIDEO or IMAGE.@NotNull @Min(1L) IntegergetWidth()Media width in pixels.inthashCode()identifier(String identifier) isLandscape(Boolean isLandscape) lifestyleType(SimpleMultimediaSupplierDetails.LifestyleTypeEnum lifestyleType) multimediaIdentifier(UUID multimediaIdentifier) voidvoidsetAttribution(List<@Valid ImageAttributionSupplierDetails> attribution) voidsetCategory(String category) voidsetDescriptions(List<@Valid SimpleDescriptionSupplierDetails> descriptions) voidvoidsetIdentifier(String identifier) voidsetIsLandscape(Boolean isLandscape) voidvoidsetMultimediaIdentifier(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
-
SimpleMultimediaSupplierDetails
public SimpleMultimediaSupplierDetails()
-
-
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
public SimpleMultimediaSupplierDetails source(@Nonnull SimpleMultimediaSupplierDetails.SourceEnum 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 SimpleMultimediaSupplierDetails descriptions(@Nullable List<@Valid SimpleDescriptionSupplierDetails> descriptions) -
addDescriptionsItem
public SimpleMultimediaSupplierDetails addDescriptionsItem(SimpleDescriptionSupplierDetails descriptionsItem) -
getDescriptions
Localized media captions to give user some context about where this media was taken.- Returns:
- descriptions
-
setDescriptions
-
lifestyleType
public SimpleMultimediaSupplierDetails lifestyleType(@Nullable SimpleMultimediaSupplierDetails.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
public void setLifestyleType(@Nullable SimpleMultimediaSupplierDetails.LifestyleTypeEnum lifestyleType) -
attribution
public SimpleMultimediaSupplierDetails attribution(@Nullable List<@Valid ImageAttributionSupplierDetails> attribution) -
addAttributionItem
public SimpleMultimediaSupplierDetails addAttributionItem(ImageAttributionSupplierDetails attributionItem) -
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
-