Package com.duffel.sdk.model
Class WingPosition
java.lang.Object
com.duffel.sdk.model.WingPosition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class WingPosition
extends Object
Where the wings of the aircraft are in relation to rows in the cabin. The numbers correspond to the indices of the first and the last row which are overwing. You can use this to draw a visual representation of the wings to help users get a better idea of what they will see outside their window. The indices are 0th-based and are for all rows, not just those that have seats. This is `null` when no rows of the cabin are overwing.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfirstRowIndex(Integer firstRowIndex) @NotNull @Min(0L) IntegerThe index of the first row which is overwing, starting from the front of the aircraft.@NotNull @Min(0L) IntegerThe index of the last row which is overwing, starting from the front of the aircraft.inthashCode()lastRowIndex(Integer lastRowIndex) voidsetFirstRowIndex(Integer firstRowIndex) voidsetLastRowIndex(Integer lastRowIndex) toString()
-
Field Details
-
JSON_PROPERTY_FIRST_ROW_INDEX
- See Also:
-
JSON_PROPERTY_LAST_ROW_INDEX
- See Also:
-
-
Constructor Details
-
WingPosition
public WingPosition()
-
-
Method Details
-
firstRowIndex
-
getFirstRowIndex
The index of the first row which is overwing, starting from the front of the aircraft. minimum: 0- Returns:
- firstRowIndex
-
setFirstRowIndex
-
lastRowIndex
-
getLastRowIndex
The index of the last row which is overwing, starting from the front of the aircraft. minimum: 0- Returns:
- lastRowIndex
-
setLastRowIndex
-
equals
-
hashCode
public int hashCode() -
toString
-