Class 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 Detail

      • DashboardUsageStatistics

        public DashboardUsageStatistics()
    • Method Detail

      • get__type

        @NotNull
        public @NotNull java.lang.String get__type()
        Name of this subclass in SimpleClassName format
        Returns:
        __type
      • 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)
      • getEventGranularity

        @Valid
        public @Valid TimeWindowSize getEventGranularity()
        Get eventGranularity
        Returns:
        eventGranularity
      • setEventGranularity

        public void setEventGranularity​(TimeWindowSize eventGranularity)
      • getPartitionSpec

        @NotNull
        @Valid
        public @NotNull @Valid PartitionSpec getPartitionSpec()
        Get partitionSpec
        Returns:
        partitionSpec
      • setPartitionSpec

        public void setPartitionSpec​(PartitionSpec partitionSpec)
      • 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)
      • 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)
      • 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)
      • 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)
      • getUserCounts

        @Valid
        public @Valid java.util.List<DashboardUserUsageCounts> getUserCounts()
        Users within this bucket, with frequency counts
        Returns:
        userCounts
      • 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)
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object