public class AllTenantUsageStatisticsSummaryRepresentation extends BaseResourceRepresentation implements Comparable<AllTenantUsageStatisticsSummaryRepresentation>
Constructor and Description |
---|
AllTenantUsageStatisticsSummaryRepresentation() |
AllTenantUsageStatisticsSummaryRepresentation(Long deviceRequestCount,
Long requestCount,
long alarmsCreatedCount,
long alarmsUpdatedCount,
long eventsCreatedCount,
long eventsUpdatedCount,
long inventoriesCreatedCount,
long inventoriesUpdatedCount,
long measurementsCreatedCount,
Long storageSize,
String tenantId,
String parentTenantId,
String externalReference,
Map<String,Object> tenantCustomProperties,
Long deviceCount,
Long deviceWithChildrenCount,
Long deviceEndpointCount,
org.joda.time.DateTime creationTime,
Set<String> subscribedApplications,
Long storageLimitPerDevice,
String tenantDomain,
String tenantCompany,
Long peakStorageSize,
Long peakDeviceCount,
Long peakDeviceWithChildrenCount,
ResourceUsageRepresentation resources) |
getSelf, getSelfDecoded, setSelf, toString
public AllTenantUsageStatisticsSummaryRepresentation()
public AllTenantUsageStatisticsSummaryRepresentation(Long deviceRequestCount, Long requestCount, long alarmsCreatedCount, long alarmsUpdatedCount, long eventsCreatedCount, long eventsUpdatedCount, long inventoriesCreatedCount, long inventoriesUpdatedCount, long measurementsCreatedCount, Long storageSize, String tenantId, String parentTenantId, String externalReference, Map<String,Object> tenantCustomProperties, Long deviceCount, Long deviceWithChildrenCount, Long deviceEndpointCount, org.joda.time.DateTime creationTime, Set<String> subscribedApplications, Long storageLimitPerDevice, String tenantDomain, String tenantCompany, Long peakStorageSize, Long peakDeviceCount, Long peakDeviceWithChildrenCount, ResourceUsageRepresentation resources)
@JSONProperty public long getTotalResourceCreateAndUpdateCount()
@JSONProperty(ignoreIfNull=true) public Long getRequestCount()
@JSONProperty(ignoreIfNull=true) public Long getDeviceRequestCount()
@JSONProperty(ignoreIfNull=true) public Long getStorageSize()
@JSONProperty(ignoreIfNull=true) public String getTenantId()
@JSONProperty(ignoreIfNull=true) public Long getDeviceCount()
@JSONProperty(ignoreIfNull=true) public String getExternalReference()
@JSONProperty(ignoreIfNull=true) public Map<String,Object> getTenantCustomProperties()
@JSONProperty(ignoreIfNull=true) public Long getDeviceWithChildrenCount()
@JSONProperty(ignoreIfNull=true) public Long getDeviceEndpointCount()
@JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getCreationTime()
@JSONProperty(ignoreIfNull=true) public Set<String> getSubscribedApplications()
@JSONProperty(ignoreIfNull=true) public String getParentTenantId()
@JSONProperty(ignoreIfNull=true) public Long getStorageLimitPerDevice()
@JSONProperty(ignoreIfNull=true) public String getTenantDomain()
@JSONProperty(ignoreIfNull=true) public String getTenantCompany()
@JSONProperty(ignoreIfNull=true) public Long getPeakStorageSize()
@JSONProperty(ignoreIfNull=true) public Long getPeakDeviceCount()
@JSONProperty(ignoreIfNull=true) public Long getPeakDeviceWithChildrenCount()
public int compareTo(AllTenantUsageStatisticsSummaryRepresentation other)
compareTo
in interface Comparable<AllTenantUsageStatisticsSummaryRepresentation>
public String toJSON()
toJSON
in class BaseResourceRepresentation
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 setTenantId(String tenantId)
public void setParentTenantId(String parentTenantId)
public void setExternalReference(String externalReference)
public void setTenantCustomProperties(Map<String,Object> tenantCustomProperties)
public void setDeviceCount(Long deviceCount)
public void setDeviceWithChildrenCount(Long deviceWithChildrenCount)
public void setDeviceEndpointCount(Long deviceEndpointCount)
public void setCreationTime(org.joda.time.DateTime creationTime)
public void setStorageLimitPerDevice(Long storageLimitPerDevice)
public void setTenantDomain(String tenantDomain)
public void setTenantCompany(String tenantCompany)
public void setPeakStorageSize(Long peakStorageSize)
public void setPeakDeviceCount(Long peakDeviceCount)
public void setPeakDeviceWithChildrenCount(Long peakDeviceWithChildrenCount)
public void setResources(ResourceUsageRepresentation resources)
public long getAlarmsCreatedCount()
public long getAlarmsUpdatedCount()
public long getEventsCreatedCount()
public long getEventsUpdatedCount()
public long getInventoriesCreatedCount()
public long getInventoriesUpdatedCount()
public long getMeasurementsCreatedCount()
@JSONProperty(ignoreIfNull=true) public ResourceUsageRepresentation getResources()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.