Class ApiHotelIssue
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiHotelIssue
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiHotelIssue
extends Object
Information on an hotel issue (repair works, facilities closed,...).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternative(Boolean alternative) description(ApiContent description) booleanIndicator if there will be an alternative due to the issue.Date from when the issue will start.Date when the issue will end.@Valid ApiContentGet descriptionCode of the issue.Code of the type of incidence.getOrder()Issue order, in case there is more than one.inthashCode()voidsetAlternative(Boolean alternative) voidsetDateFrom(String dateFrom) voidvoidsetDescription(ApiContent description) voidsetIssueCode(String issueCode) voidsetIssueType(String issueType) voidtoString()
-
Field Details
-
JSON_PROPERTY_ALTERNATIVE
- See Also:
-
JSON_PROPERTY_DATE_FROM
- See Also:
-
JSON_PROPERTY_DATE_TO
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ISSUE_CODE
- See Also:
-
JSON_PROPERTY_ISSUE_TYPE
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
-
Constructor Details
-
ApiHotelIssue
public ApiHotelIssue()
-
-
Method Details
-
alternative
-
getAlternative
Indicator if there will be an alternative due to the issue.- Returns:
- alternative
-
setAlternative
-
dateFrom
-
getDateFrom
Date from when the issue will start.- Returns:
- dateFrom
-
setDateFrom
-
dateTo
-
getDateTo
Date when the issue will end.- Returns:
- dateTo
-
setDateTo
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
issueCode
-
getIssueCode
Code of the issue.- Returns:
- issueCode
-
setIssueCode
-
issueType
-
getIssueType
Code of the type of incidence.- Returns:
- issueType
-
setIssueType
-
order
-
getOrder
Issue order, in case there is more than one.- Returns:
- order
-
setOrder
-
equals
-
hashCode
public int hashCode() -
toString
-