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._FinalStageaddAllDevices(java.util.List<DeviceLimitedForList1> devices)DeviceListRes._FinalStageaddDevices(DeviceLimitedForList1 devices)DeviceListResbuild()DeviceListRes._FinalStagedevices(java.util.List<DeviceLimitedForList1> devices)DeviceListRes.Builderfrom(DeviceListRes other)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
-
addAllDevices
public DeviceListRes._FinalStage addAllDevices(java.util.List<DeviceLimitedForList1> devices)
- Specified by:
addAllDevicesin interfaceDeviceListRes._FinalStage
-
addDevices
public DeviceListRes._FinalStage addDevices(DeviceLimitedForList1 devices)
- Specified by:
addDevicesin interfaceDeviceListRes._FinalStage
-
devices
public DeviceListRes._FinalStage devices(java.util.List<DeviceLimitedForList1> devices)
- Specified by:
devicesin interfaceDeviceListRes._FinalStage
-
build
public DeviceListRes build()
- Specified by:
buildin interfaceDeviceListRes._FinalStage
-
-