Class DevicesBatchCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<String>
com.microsoft.store.partnercenter.BasePartnerComponentString
com.microsoft.store.partnercenter.devicesdeployment.DevicesBatchCollectionOperations
- All Implemented Interfaces:
IDevicesBatchCollection,IEntireEntityCollectionRetrievalOperations<DeviceBatch,ResourceCollection<DeviceBatch>>,IEntityCreateOperations<DeviceBatchCreationRequest,String>,IEntitySelector<String,IDevicesBatch>,IPartnerComponent<String>,IPartnerComponentString
public class DevicesBatchCollectionOperations extends BasePartnerComponentString implements IDevicesBatchCollection
Implements operations that apply to devices batch collection.
-
Constructor Summary
Constructors Constructor Description DevicesBatchCollectionOperations(IPartner rootPartnerOperations, String customerId)Initializes a new instance of the DevicesBatchOperations class. -
Method Summary
Modifier and Type Method Description IDevicesBatchbyId(String deviceBatchId)Retrieves a specific customer devices batch behavior.Stringcreate(DeviceBatchCreationRequest newDeviceBatch)Creates a new devices batch along with the devices.ResourceCollection<DeviceBatch>get()Retrieves all devices batches.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
DevicesBatchCollectionOperations
Initializes a new instance of the DevicesBatchOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.
-
-
Method Details
-
byId
Retrieves a specific customer devices batch behavior.- Specified by:
byIdin interfaceIDevicesBatchCollection- Specified by:
byIdin interfaceIEntitySelector<String,IDevicesBatch>- Parameters:
deviceBatchId- The devices batch identifier.- Returns:
- The devices batch behavior.
-
create
Creates a new devices batch along with the devices.- Specified by:
createin interfaceIEntityCreateOperations<DeviceBatchCreationRequest,String>- 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
Retrieves all devices batches.- Specified by:
getin interfaceIDevicesBatchCollection- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<DeviceBatch,ResourceCollection<DeviceBatch>>- Returns:
- All of the device batches.
-