Interface IDeviceCollection
- All Superinterfaces:
IEntireEntityCollectionRetrievalOperations<Device,ResourceCollection<Device>>,IEntityCreateOperations<List<Device>,String>,IEntitySelector<String,IDevice>,IPartnerComponent<Tuple<String,String>>
- All Known Implementing Classes:
DeviceCollectionOperations
public interface IDeviceCollection extends IPartnerComponent<Tuple<String,String>>, IEntireEntityCollectionRetrievalOperations<Device,ResourceCollection<Device>>, IEntityCreateOperations<List<Device>,String>, IEntitySelector<String,IDevice>
Represents the operations that can be done on the partner's devices.
-
Method Summary
Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
byId
Retrieves a specific customer's device behavior.- Specified by:
byIdin interfaceIEntitySelector<String,IDevice>- Parameters:
deviceId- The device identifier.- Returns:
- The customer device behavior.
-
create
Adds devices to existing devices batch.- Specified by:
createin interfaceIEntityCreateOperations<List<Device>,String>- Parameters:
newDevices- The new devices to be created.- Returns:
- The location which indicates the URL of the API to query for status of the create request.
-
get
ResourceCollection<Device> get()Retrieves all devices.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<Device,ResourceCollection<Device>>- Returns:
- All of the devices.
-