Package travel.wink.sdk.affiliate.model
Class SimpleMultimedia
java.lang.Object
travel.wink.sdk.affiliate.model.SimpleMultimedia
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-18T16:39:06.144766291+07:00[Asia/Bangkok]")
public class SimpleMultimedia
extends Object
Multimedia that contains less information than Multimedia object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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 TypeMethodDescriptionboolean@NotNull StringgetAngle()Media angle@NotNull IntegerMedia height in pixels.@NotNull StringUse this identifier to communicate with Cloudinary.@NotNull IntegergetSort()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) voidvoidvoidsetIdentifier(String identifier) voidvoidsetSource(SimpleMultimedia.SourceEnum source) voidvoidsource(SimpleMultimedia.SourceEnum source) toString()
-
Field Details
-
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:
-
-
Constructor Details
-
SimpleMultimedia
public SimpleMultimedia()
-
-
Method Details
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-