public class TenantUsageStatisticsRepresentation extends BaseResourceRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
TenantUsageStatisticsRepresentation.TenantUsageStatisticsRepresentationBuilder |
Constructor and Description |
---|
TenantUsageStatisticsRepresentation() |
TenantUsageStatisticsRepresentation(org.joda.time.DateTime day,
Long deviceRequestCount,
Long requestCount,
long alarmsCreatedCount,
long alarmsUpdatedCount,
long eventsCreatedCount,
long eventsUpdatedCount,
long inventoriesCreatedCount,
long inventoriesUpdatedCount,
long measurementsCreatedCount,
Long storageSize,
Long deviceCount,
Long deviceWithChildrenCount,
Long deviceEndpointCount,
org.joda.time.DateTime creationTime,
Set<String> subscribedApplications,
Long storageLimitPerDevice,
ResourceUsageRepresentation resources) |
getSelf, getSelfDecoded, setSelf, toString
public TenantUsageStatisticsRepresentation()
public TenantUsageStatisticsRepresentation(org.joda.time.DateTime day, Long deviceRequestCount, Long requestCount, long alarmsCreatedCount, long alarmsUpdatedCount, long eventsCreatedCount, long eventsUpdatedCount, long inventoriesCreatedCount, long inventoriesUpdatedCount, long measurementsCreatedCount, Long storageSize, Long deviceCount, Long deviceWithChildrenCount, Long deviceEndpointCount, org.joda.time.DateTime creationTime, Set<String> subscribedApplications, Long storageLimitPerDevice, ResourceUsageRepresentation resources)
@JSONProperty public long getTotalResourceCreateAndUpdateCount()
@Deprecated public void setTotalResourceCreateAndUpdateCount(long count)
count
- total resources create and update count@JSONProperty(value="day", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getDay()
@JSONProperty(ignoreIfNull=true) public Long getRequestCount()
@JSONProperty(ignoreIfNull=true) public Long getDeviceRequestCount()
@JSONProperty(ignoreIfNull=true) public long getAlarmsCreatedCount()
@JSONProperty(ignoreIfNull=true) public long getAlarmsUpdatedCount()
@JSONProperty(ignoreIfNull=true) public long getEventsCreatedCount()
@JSONProperty(ignoreIfNull=true) public long getEventsUpdatedCount()
@JSONProperty(ignoreIfNull=true) public long getInventoriesCreatedCount()
@JSONProperty(ignoreIfNull=true) public long getInventoriesUpdatedCount()
@JSONProperty(ignoreIfNull=true) public long getMeasurementsCreatedCount()
@JSONProperty(ignoreIfNull=true) public Long getStorageSize()
@JSONProperty(ignoreIfNull=true) public Long getDeviceCount()
@JSONProperty(ignoreIfNull=true) public Long getDeviceWithChildrenCount()
@JSONProperty(ignoreIfNull=true) public Long getDeviceEndpointCount()
@JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()
@Deprecated public void setCreationTime(Date creationTime)
@JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getCreationDateTime()
@JSONProperty(ignoreIfNull=true) public Set<String> getSubscribedApplications()
@JSONProperty(ignoreIfNull=true) public Long getStorageLimitPerDevice()
public String toJSON()
toJSON
in class BaseResourceRepresentation
public static TenantUsageStatisticsRepresentation.TenantUsageStatisticsRepresentationBuilder builder()
public void setDay(org.joda.time.DateTime day)
public void setDeviceRequestCount(Long deviceRequestCount)
public void setRequestCount(Long requestCount)
public void setAlarmsCreatedCount(long alarmsCreatedCount)
public void setAlarmsUpdatedCount(long alarmsUpdatedCount)
public void setEventsCreatedCount(long eventsCreatedCount)
public void setEventsUpdatedCount(long eventsUpdatedCount)
public void setInventoriesCreatedCount(long inventoriesCreatedCount)
public void setInventoriesUpdatedCount(long inventoriesUpdatedCount)
public void setMeasurementsCreatedCount(long measurementsCreatedCount)
public void setStorageSize(Long storageSize)
public void setDeviceCount(Long deviceCount)
public void setDeviceWithChildrenCount(Long deviceWithChildrenCount)
public void setDeviceEndpointCount(Long deviceEndpointCount)
public void setStorageLimitPerDevice(Long storageLimitPerDevice)
public void setResources(ResourceUsageRepresentation resources)
@JSONProperty(ignoreIfNull=true) public ResourceUsageRepresentation getResources()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.