public interface BinariesApi
Modifier and Type | Method and Description |
---|---|
void |
deleteFile(com.cumulocity.model.idtype.GId containerId) |
InputStream |
downloadFile(com.cumulocity.model.idtype.GId id) |
ManagedObjectRepresentation |
replaceFile(com.cumulocity.model.idtype.GId containerId,
String contentType,
InputStream fileStream) |
ManagedObjectRepresentation |
uploadFile(ManagedObjectRepresentation container,
byte[] bytes) |
ManagedObjectRepresentation |
uploadFile(ManagedObjectRepresentation container,
InputStream inputStream) |
ManagedObjectRepresentation uploadFile(ManagedObjectRepresentation container, byte[] bytes) throws SDKException
SDKException
ManagedObjectRepresentation uploadFile(ManagedObjectRepresentation container, InputStream inputStream) throws SDKException
SDKException
ManagedObjectRepresentation replaceFile(com.cumulocity.model.idtype.GId containerId, String contentType, InputStream fileStream) throws SDKException
SDKException
InputStream downloadFile(com.cumulocity.model.idtype.GId id) throws SDKException
SDKException
void deleteFile(com.cumulocity.model.idtype.GId containerId) throws SDKException
SDKException
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.