Class WingPosition

java.lang.Object
com.duffel.sdk.model.WingPosition

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-28T15:18:14.926970+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 Details

  • Constructor Details

    • WingPosition

      public WingPosition()
  • Method Details

    • firstRowIndex

      public WingPosition firstRowIndex(Integer firstRowIndex)
    • getFirstRowIndex

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getFirstRowIndex()
      The index of the first row which is overwing, starting from the front of the aircraft. minimum: 0
      Returns:
      firstRowIndex
    • setFirstRowIndex

      public void setFirstRowIndex(Integer firstRowIndex)
    • lastRowIndex

      public WingPosition lastRowIndex(Integer lastRowIndex)
    • getLastRowIndex

      @Nonnull @NotNull @Min(0L) public @NotNull @Min(0L) Integer getLastRowIndex()
      The index of the last row which is overwing, starting from the front of the aircraft. minimum: 0
      Returns:
      lastRowIndex
    • setLastRowIndex

      public void setLastRowIndex(Integer lastRowIndex)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object