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