Package travel.wink.sdk.extranet.model
Class UpsertAnnouncementRequestSupplier
java.lang.Object
travel.wink.sdk.extranet.model.UpsertAnnouncementRequestSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-05T21:41:24.797077847+07:00[Asia/Bangkok]")
public class UpsertAnnouncementRequestSupplier
extends Object
UpsertAnnouncementRequestSupplier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) descriptions(List<SimpleDescriptionSupplier> descriptions) boolean@NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionSupplier> List of all localized announcements.@Valid LocalDateEnd date for when announcement is no longer validWhen enabled, the property wants this announcement always to be displayedWhen enabled, the property does not want the title to be displayed@Valid LocalDateStart date for when announcement is validinthashCode()voidsetDescriptions(List<SimpleDescriptionSupplier> descriptions) voidsetEndDate(LocalDate endDate) voidsetShowAlways(Boolean showAlways) voidsetShowTitle(Boolean showTitle) voidsetStartDate(LocalDate startDate) showAlways(Boolean showAlways) toString()
-
Field Details
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_DESCRIPTIONS
- See Also:
-
JSON_PROPERTY_SHOW_TITLE
- See Also:
-
JSON_PROPERTY_SHOW_ALWAYS
- See Also:
-
-
Constructor Details
-
UpsertAnnouncementRequestSupplier
public UpsertAnnouncementRequestSupplier()
-
-
Method Details
-
startDate
-
getStartDate
Start date for when announcement is valid- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
End date for when announcement is no longer valid- Returns:
- endDate
-
setEndDate
-
descriptions
-
addDescriptionsItem
public UpsertAnnouncementRequestSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) -
getDescriptions
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<SimpleDescriptionSupplier> getDescriptions()List of all localized announcements.- Returns:
- descriptions
-
setDescriptions
-
showTitle
-
getShowTitle
When enabled, the property does not want the title to be displayed- Returns:
- showTitle
-
setShowTitle
-
showAlways
-
getShowAlways
When enabled, the property wants this announcement always to be displayed- Returns:
- showAlways
-
setShowAlways
-
equals
-
hashCode
-
toString
-