DevicesBatchCollectionOperations Class

Implements

public class DevicesBatchCollectionOperations extends BasePartnerComponentString implements IDevicesBatchCollection

Implements operations that apply to devices batch collection.

Constructor Summary

Constructor Description
DevicesBatchCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the DevicesBatchOperations class.

Method Summary

Modifier and Type Method and Description
IDevicesBatch byId(String deviceBatchId)

Retrieves a specific customer devices batch behavior.

java.lang.String create(DeviceBatchCreationRequest newDeviceBatch)

Creates a new devices batch along with the devices.

ResourceCollection<DeviceBatch> get()

Retrieves all devices batches.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

DevicesBatchCollectionOperations

public DevicesBatchCollectionOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the DevicesBatchOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - Identifier for the customer.

Method Details

byId

public IDevicesBatch byId(String deviceBatchId)

Retrieves a specific customer devices batch behavior.

Parameters:

deviceBatchId - The devices batch identifier.

Returns:

The devices batch behavior.

create

public String create(DeviceBatchCreationRequest newDeviceBatch)

Creates a new devices batch along with the devices.

Parameters:

newDeviceBatch - The new devices batch.

Returns:

The location which indicates the URL of the API to query for status of the create request.

get

public ResourceCollection get()

Retrieves all devices batches.

Returns:

All of the device batches.

Applies to