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