Package com.chrt.api.types
Class SetFlightInfoReq.Builder
- java.lang.Object
-
- com.chrt.api.types.SetFlightInfoReq.Builder
-
- Enclosing class:
- SetFlightInfoReq
public static final class SetFlightInfoReq.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetFlightInfoReq.BuilderaddAllFlightLegs(java.util.List<FlightLegClientCreate1> flightLegs)SetFlightInfoReq.BuilderaddFlightLegs(FlightLegClientCreate1 flightLegs)SetFlightInfoReqbuild()SetFlightInfoReq.BuilderflightLegs(java.util.List<FlightLegClientCreate1> flightLegs)Ordered list of flight legs for the task group.SetFlightInfoReq.Builderfrom(SetFlightInfoReq other)
-
-
-
Method Detail
-
from
public SetFlightInfoReq.Builder from(SetFlightInfoReq other)
-
flightLegs
public SetFlightInfoReq.Builder flightLegs(java.util.List<FlightLegClientCreate1> flightLegs)
Ordered list of flight legs for the task group. Replaces any existing flight legs. Pass an empty list to clear all flight legs.
-
addFlightLegs
public SetFlightInfoReq.Builder addFlightLegs(FlightLegClientCreate1 flightLegs)
-
addAllFlightLegs
public SetFlightInfoReq.Builder addAllFlightLegs(java.util.List<FlightLegClientCreate1> flightLegs)
-
build
public SetFlightInfoReq build()
-
-