Package com.chrt.api.types
Class DeviceSearchRes.Builder
- java.lang.Object
-
- com.chrt.api.types.DeviceSearchRes.Builder
-
- All Implemented Interfaces:
DeviceSearchRes._FinalStage,DeviceSearchRes.TotalCountStage
- Enclosing class:
- DeviceSearchRes
public static final class DeviceSearchRes.Builder extends java.lang.Object implements DeviceSearchRes.TotalCountStage, DeviceSearchRes._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceSearchRes._FinalStageaddAllDevices(java.util.List<DeviceLimitedForList1> devices)DeviceSearchRes._FinalStageaddDevices(DeviceLimitedForList1 devices)DeviceSearchResbuild()DeviceSearchRes._FinalStagedevices(java.util.List<DeviceLimitedForList1> devices)DeviceSearchRes.Builderfrom(DeviceSearchRes other)DeviceSearchRes._FinalStagetotalCount(int totalCount)
-
-
-
Method Detail
-
from
public DeviceSearchRes.Builder from(DeviceSearchRes other)
- Specified by:
fromin interfaceDeviceSearchRes.TotalCountStage
-
totalCount
public DeviceSearchRes._FinalStage totalCount(int totalCount)
- Specified by:
totalCountin interfaceDeviceSearchRes.TotalCountStage
-
addAllDevices
public DeviceSearchRes._FinalStage addAllDevices(java.util.List<DeviceLimitedForList1> devices)
- Specified by:
addAllDevicesin interfaceDeviceSearchRes._FinalStage
-
addDevices
public DeviceSearchRes._FinalStage addDevices(DeviceLimitedForList1 devices)
- Specified by:
addDevicesin interfaceDeviceSearchRes._FinalStage
-
devices
public DeviceSearchRes._FinalStage devices(java.util.List<DeviceLimitedForList1> devices)
- Specified by:
devicesin interfaceDeviceSearchRes._FinalStage
-
build
public DeviceSearchRes build()
- Specified by:
buildin interfaceDeviceSearchRes._FinalStage
-
-