Package travel.wink.sdk.extranet.model
Class SimpleMultimediaSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.SimpleMultimediaSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-25T09:03:50.356743433+07:00[Asia/Bangkok]")
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<ImageAttributionSupplierDetails> attribution) descriptions(List<SimpleDescriptionSupplierDetails> descriptions) booleangetAngle()Media angle@Valid List<ImageAttributionSupplierDetails> Whether image has attribution propertiesSupported OTA specification `PIC` code.@Valid List<SimpleDescriptionSupplierDetails> 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.Currently ONLY using Cloudinary to store all image / video assets.getType()Whether Cloudinary media is a VIDEO or IMAGE.@NotNull IntegergetWidth()Media width in pixels.inthashCode()identifier(String identifier) isLandscape(Boolean isLandscape) lifestyleType(SimpleMultimediaSupplierDetails.LifestyleTypeEnum lifestyleType) multimediaIdentifier(UUID multimediaIdentifier) voidvoidsetAttribution(List<ImageAttributionSupplierDetails> attribution) voidsetCategory(String category) voidsetDescriptions(List<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
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
public SimpleMultimediaSupplierDetails descriptions(List<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(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
-
attribution
public SimpleMultimediaSupplierDetails attribution(List<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
public int hashCode() -
toString
-