public class BulkNewDeviceRequestRepresentation extends AbstractExtensibleRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
BulkNewDeviceRequestRepresentation.BulkNewDeviceStatus |
static class |
BulkNewDeviceRequestRepresentation.CreationStatus |
Constructor and Description |
---|
BulkNewDeviceRequestRepresentation() |
Modifier and Type | Method and Description |
---|---|
void |
addError(String deviceId,
String line,
String failureReason) |
void |
addUpdated(String deviceId) |
List<BulkNewDeviceRequestRepresentation.CreationStatus> |
getCredentialUpdatedList() |
List<BulkNewDeviceRequestRepresentation.CreationStatus> |
getFailedCreationList() |
Integer |
getNumberOfAll() |
Integer |
getNumberOfCreated() |
Integer |
getNumberOfFailed() |
Integer |
getNumberOfSuccessful() |
void |
incrementCreated() |
void |
setCredentialUpdatedList(List<BulkNewDeviceRequestRepresentation.CreationStatus> credentialUpdatedList) |
void |
setFailedCreationList(List<BulkNewDeviceRequestRepresentation.CreationStatus> failedCreationList) |
void |
setNumberOfCreated(Integer numberOfCreated) |
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON, toString
@JSONProperty(ignore=true) public void incrementCreated()
@JSONProperty(ignore=true) public void addUpdated(String deviceId)
@JSONProperty(ignore=true) public void addError(String deviceId, String line, String failureReason)
public Integer getNumberOfCreated()
public void setNumberOfCreated(Integer numberOfCreated)
@JSONTypeHint(value=BulkNewDeviceRequestRepresentation.CreationStatus.class) public List<BulkNewDeviceRequestRepresentation.CreationStatus> getCredentialUpdatedList()
public void setCredentialUpdatedList(List<BulkNewDeviceRequestRepresentation.CreationStatus> credentialUpdatedList)
@JSONTypeHint(value=BulkNewDeviceRequestRepresentation.CreationStatus.class) public List<BulkNewDeviceRequestRepresentation.CreationStatus> getFailedCreationList()
public void setFailedCreationList(List<BulkNewDeviceRequestRepresentation.CreationStatus> failedCreationList)
@JSONProperty(readOnly=true) public Integer getNumberOfSuccessful()
@JSONProperty(readOnly=true) public Integer getNumberOfFailed()
@JSONProperty(readOnly=true) public Integer getNumberOfAll()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.