Class DashboardUsageStatistics
- java.lang.Object
-
- io.datahubproject.openapi.generated.DashboardUsageStatistics
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class DashboardUsageStatistics extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValueExperimental (Subject to breaking change) -- Stats corresponding to dashboard's usage. If this aspect represents the latest snapshot of the statistics about a Dashboard, the eventGranularity field should be null. If this aspect represents a bucketed window of usage statistics (e.g. over a day), then the eventGranularity field should be set accordingly.
-
-
Constructor Summary
Constructors Constructor Description DashboardUsageStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashboardUsageStatisticsaddUserCountsItem(DashboardUserUsageCounts userCountsItem)booleanequals(java.lang.Object o)DashboardUsageStatisticseventGranularity(TimeWindowSize eventGranularity)DashboardUsageStatisticsexecutionsCount(java.lang.Integer executionsCount)DashboardUsageStatisticsfavoritesCount(java.lang.Integer favoritesCount)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@Valid TimeWindowSizegetEventGranularity()Get eventGranularity@Min(-2147483648L) @Max(2147483647L) java.lang.IntegergetExecutionsCount()The total number of dashboard executions (refreshes / syncs) minimum: -2147483648 maximum: 2147483647@Min(-2147483648L) @Max(2147483647L) java.lang.IntegergetFavoritesCount()The total number of times that the dashboard has been favorited minimum: -2147483648 maximum: 2147483647@Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetLastViewedAt()Last viewed at This should not be set in cases where statistics are windowed.java.lang.StringgetMessageId()The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpecgetPartitionSpec()Get partitionSpec@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetTimestampMillis()The event timestamp field as epoch at UTC in milli seconds.@Min(-2147483648L) @Max(2147483647L) java.lang.IntegergetUniqueUserCount()Unique user count minimum: -2147483648 maximum: 2147483647@Valid java.util.List<DashboardUserUsageCounts>getUserCounts()Users within this bucket, with frequency counts@Min(-2147483648L) @Max(2147483647L) java.lang.IntegergetViewsCount()The total number of times dashboard has been viewed minimum: -2147483648 maximum: 2147483647inthashCode()DashboardUsageStatisticslastViewedAt(java.lang.Long lastViewedAt)DashboardUsageStatisticsmessageId(java.lang.String messageId)DashboardUsageStatisticspartitionSpec(PartitionSpec partitionSpec)voidsetEventGranularity(TimeWindowSize eventGranularity)voidsetExecutionsCount(java.lang.Integer executionsCount)voidsetFavoritesCount(java.lang.Integer favoritesCount)voidsetLastViewedAt(java.lang.Long lastViewedAt)voidsetMessageId(java.lang.String messageId)voidsetPartitionSpec(PartitionSpec partitionSpec)voidsetTimestampMillis(java.lang.Long timestampMillis)voidsetUniqueUserCount(java.lang.Integer uniqueUserCount)voidsetUserCounts(java.util.List<DashboardUserUsageCounts> userCounts)voidsetViewsCount(java.lang.Integer viewsCount)DashboardUsageStatisticstimestampMillis(java.lang.Long timestampMillis)java.lang.StringtoString()DashboardUsageStatisticsuniqueUserCount(java.lang.Integer uniqueUserCount)DashboardUsageStatisticsuserCounts(java.util.List<DashboardUserUsageCounts> userCounts)DashboardUsageStatisticsviewsCount(java.lang.Integer viewsCount)
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
timestampMillis
public DashboardUsageStatistics timestampMillis(java.lang.Long timestampMillis)
-
getTimestampMillis
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- timestampMillis
-
setTimestampMillis
public void setTimestampMillis(java.lang.Long timestampMillis)
-
eventGranularity
public DashboardUsageStatistics eventGranularity(TimeWindowSize eventGranularity)
-
getEventGranularity
@Valid public @Valid TimeWindowSize getEventGranularity()
Get eventGranularity- Returns:
- eventGranularity
-
setEventGranularity
public void setEventGranularity(TimeWindowSize eventGranularity)
-
partitionSpec
public DashboardUsageStatistics partitionSpec(PartitionSpec partitionSpec)
-
getPartitionSpec
@NotNull @Valid public @NotNull @Valid PartitionSpec getPartitionSpec()
Get partitionSpec- Returns:
- partitionSpec
-
setPartitionSpec
public void setPartitionSpec(PartitionSpec partitionSpec)
-
messageId
public DashboardUsageStatistics messageId(java.lang.String messageId)
-
getMessageId
public java.lang.String getMessageId()
The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.- Returns:
- messageId
-
setMessageId
public void setMessageId(java.lang.String messageId)
-
viewsCount
public DashboardUsageStatistics viewsCount(java.lang.Integer viewsCount)
-
getViewsCount
@Min(-2147483648L) @Max(2147483647L) public @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getViewsCount()
The total number of times dashboard has been viewed minimum: -2147483648 maximum: 2147483647- Returns:
- viewsCount
-
setViewsCount
public void setViewsCount(java.lang.Integer viewsCount)
-
executionsCount
public DashboardUsageStatistics executionsCount(java.lang.Integer executionsCount)
-
getExecutionsCount
@Min(-2147483648L) @Max(2147483647L) public @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getExecutionsCount()
The total number of dashboard executions (refreshes / syncs) minimum: -2147483648 maximum: 2147483647- Returns:
- executionsCount
-
setExecutionsCount
public void setExecutionsCount(java.lang.Integer executionsCount)
-
uniqueUserCount
public DashboardUsageStatistics uniqueUserCount(java.lang.Integer uniqueUserCount)
-
getUniqueUserCount
@Min(-2147483648L) @Max(2147483647L) public @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getUniqueUserCount()
Unique user count minimum: -2147483648 maximum: 2147483647- Returns:
- uniqueUserCount
-
setUniqueUserCount
public void setUniqueUserCount(java.lang.Integer uniqueUserCount)
-
userCounts
public DashboardUsageStatistics userCounts(java.util.List<DashboardUserUsageCounts> userCounts)
-
addUserCountsItem
public DashboardUsageStatistics addUserCountsItem(DashboardUserUsageCounts userCountsItem)
-
getUserCounts
@Valid public @Valid java.util.List<DashboardUserUsageCounts> getUserCounts()
Users within this bucket, with frequency counts- Returns:
- userCounts
-
setUserCounts
public void setUserCounts(java.util.List<DashboardUserUsageCounts> userCounts)
-
favoritesCount
public DashboardUsageStatistics favoritesCount(java.lang.Integer favoritesCount)
-
getFavoritesCount
@Min(-2147483648L) @Max(2147483647L) public @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getFavoritesCount()
The total number of times that the dashboard has been favorited minimum: -2147483648 maximum: 2147483647- Returns:
- favoritesCount
-
setFavoritesCount
public void setFavoritesCount(java.lang.Integer favoritesCount)
-
lastViewedAt
public DashboardUsageStatistics lastViewedAt(java.lang.Long lastViewedAt)
-
getLastViewedAt
@Min(-9223372036854775808L) @Max(9223372036854775807L) public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getLastViewedAt()
Last viewed at This should not be set in cases where statistics are windowed. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- lastViewedAt
-
setLastViewedAt
public void setLastViewedAt(java.lang.Long lastViewedAt)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-