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="2023-04-12T17:29:07.363401Z[Etc/UTC]") public class DashboardUsageStatistics extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue
Experimental (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 DashboardUsageStatistics
addUserCountsItem(DashboardUserUsageCounts userCountsItem)
boolean
equals(java.lang.Object o)
DashboardUsageStatistics
eventGranularity(TimeWindowSize eventGranularity)
DashboardUsageStatistics
executionsCount(java.lang.Integer executionsCount)
DashboardUsageStatistics
favoritesCount(java.lang.Integer favoritesCount)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@Valid TimeWindowSize
getEventGranularity()
Get eventGranularity@Min(-2147483648L) @Max(2147483647L) java.lang.Integer
getExecutionsCount()
The total number of dashboard executions (refreshes / syncs) minimum: -2147483648 maximum: 2147483647@Min(-2147483648L) @Max(2147483647L) java.lang.Integer
getFavoritesCount()
The total number of times that the dashboard has been favorited minimum: -2147483648 maximum: 2147483647@Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getLastViewedAt()
Last viewed at This should not be set in cases where statistics are windowed.java.lang.String
getMessageId()
The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpec
getPartitionSpec()
Get partitionSpec@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds.@Min(-2147483648L) @Max(2147483647L) java.lang.Integer
getUniqueUserCount()
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.Integer
getViewsCount()
The total number of times dashboard has been viewed minimum: -2147483648 maximum: 2147483647int
hashCode()
DashboardUsageStatistics
lastViewedAt(java.lang.Long lastViewedAt)
DashboardUsageStatistics
messageId(java.lang.String messageId)
DashboardUsageStatistics
partitionSpec(PartitionSpec partitionSpec)
void
setEventGranularity(TimeWindowSize eventGranularity)
void
setExecutionsCount(java.lang.Integer executionsCount)
void
setFavoritesCount(java.lang.Integer favoritesCount)
void
setLastViewedAt(java.lang.Long lastViewedAt)
void
setMessageId(java.lang.String messageId)
void
setPartitionSpec(PartitionSpec partitionSpec)
void
setTimestampMillis(java.lang.Long timestampMillis)
void
setUniqueUserCount(java.lang.Integer uniqueUserCount)
void
setUserCounts(java.util.List<DashboardUserUsageCounts> userCounts)
void
setViewsCount(java.lang.Integer viewsCount)
DashboardUsageStatistics
timestampMillis(java.lang.Long timestampMillis)
java.lang.String
toString()
DashboardUsageStatistics
uniqueUserCount(java.lang.Integer uniqueUserCount)
DashboardUsageStatistics
userCounts(java.util.List<DashboardUserUsageCounts> userCounts)
DashboardUsageStatistics
viewsCount(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-