Package com.duffel.sdk.model
Class SeatMap
java.lang.Object
com.duffel.sdk.model.SeatMap
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class SeatMap
extends Object
Each seat map is for a specific segment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCabinsItem(SeatMapCabin cabinsItem) cabins(List<SeatMapCabin> cabins) boolean@NotNull @Valid List<SeatMapCabin> The list of cabins in this seat map.@NotNull StringgetId()Duffel's unique identifier for the seat map@NotNull StringDuffel's unique identifier for the segment.@NotNull StringDuffel's unique identifier for the slice.inthashCode()voidsetCabins(List<SeatMapCabin> cabins) voidvoidsetSegmentId(String segmentId) voidsetSliceId(String sliceId) toString()
-
Field Details
-
JSON_PROPERTY_CABINS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SEGMENT_ID
- See Also:
-
JSON_PROPERTY_SLICE_ID
- See Also:
-
-
Constructor Details
-
SeatMap
public SeatMap()
-
-
Method Details
-
cabins
-
addCabinsItem
-
getCabins
The list of cabins in this seat map. Cabins are ordered by deck from lowest to highest, and then within each deck from the front to back of the aircraft.- Returns:
- cabins
-
setCabins
-
id
-
getId
Duffel's unique identifier for the seat map- Returns:
- id
-
setId
-
segmentId
-
getSegmentId
Duffel's unique identifier for the segment. It identifies the segment of an offer (i.e. the same segment across offers will have different `id`s).- Returns:
- segmentId
-
setSegmentId
-
sliceId
-
getSliceId
Duffel's unique identifier for the slice. It identifies the slice of an offer (i.e. the same slice across offers will have different `id`s.)- Returns:
- sliceId
-
setSliceId
-
equals
-
hashCode
public int hashCode() -
toString
-