Class SimpleDescription
java.lang.Object
travel.wink.sdk.user.settings.model.SimpleDescription
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:22:15.850489898+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class SimpleDescription
extends Object
SimpleDescription
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether it was user or system generated. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleDescription(Boolean hashMismatch) Constructor with only readonly parameters -
Method Summary
Modifier and TypeMethodDescriptioncreator(SimpleDescription.CreatorEnum creator) description(String description) booleanWhether it was user or system generated.@NotNull @Size(min=1,max=2147483647) StringLonger text descriptionGet hashMismatch@NotNull @Size(min=2,max=2) StringIndicate which language this description is written in.The md5 hash of the name, description and language.@NotNull StringgetName()Use as title or short text descriptioninthashCode()md5ContentHash(String md5ContentHash) voidsetCreator(SimpleDescription.CreatorEnum creator) voidsetDescription(String description) voidsetLanguage(String language) voidsetMd5ContentHash(String md5ContentHash) voidtoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CREATOR
- See Also:
-
JSON_PROPERTY_MD5_CONTENT_HASH
- See Also:
-
JSON_PROPERTY_HASH_MISMATCH
- See Also:
-
-
Constructor Details
-
SimpleDescription
public SimpleDescription() -
SimpleDescription
Constructor with only readonly parameters
-
-
Method Details
-
name
-
getName
Use as title or short text description- Returns:
- name
-
setName
-
description
-
getDescription
@Nonnull @NotNull @Size(min=1, max=2147483647) public @NotNull @Size(min=1,max=2147483647) String getDescription()Longer text description- Returns:
- description
-
setDescription
-
language
-
getLanguage
Indicate which language this description is written in.- Returns:
- language
-
setLanguage
-
creator
-
getCreator
Whether it was user or system generated.- Returns:
- creator
-
setCreator
-
md5ContentHash
-
getMd5ContentHash
The md5 hash of the name, description and language.- Returns:
- md5ContentHash
-
setMd5ContentHash
-
getHashMismatch
-
equals
-
hashCode
-
toString
-