Package com.chrt.api.types
Class DriverListRes.Builder
- java.lang.Object
-
- com.chrt.api.types.DriverListRes.Builder
-
- All Implemented Interfaces:
DriverListRes._FinalStage,DriverListRes.TotalCountStage
- Enclosing class:
- DriverListRes
public static final class DriverListRes.Builder extends java.lang.Object implements DriverListRes.TotalCountStage, DriverListRes._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverListRes._FinalStageaddAllItems(java.util.List<Driver1> items)DriverListRes._FinalStageaddItems(Driver1 items)DriverListResbuild()DriverListRes.Builderfrom(DriverListRes other)DriverListRes._FinalStageitems(java.util.List<Driver1> items)DriverListRes._FinalStagetotalCount(int totalCount)
-
-
-
Method Detail
-
from
public DriverListRes.Builder from(DriverListRes other)
- Specified by:
fromin interfaceDriverListRes.TotalCountStage
-
totalCount
public DriverListRes._FinalStage totalCount(int totalCount)
- Specified by:
totalCountin interfaceDriverListRes.TotalCountStage
-
addAllItems
public DriverListRes._FinalStage addAllItems(java.util.List<Driver1> items)
- Specified by:
addAllItemsin interfaceDriverListRes._FinalStage
-
addItems
public DriverListRes._FinalStage addItems(Driver1 items)
- Specified by:
addItemsin interfaceDriverListRes._FinalStage
-
items
public DriverListRes._FinalStage items(java.util.List<Driver1> items)
- Specified by:
itemsin interfaceDriverListRes._FinalStage
-
build
public DriverListRes build()
- Specified by:
buildin interfaceDriverListRes._FinalStage
-
-