Class ChartUserUsageCounts
- java.lang.Object
-
- io.datahubproject.openapi.generated.ChartUserUsageCounts
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class ChartUserUsageCounts extends java.lang.Object
Records a single user's usage counts for a given resource
-
-
Constructor Summary
Constructors Constructor Description ChartUserUsageCounts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull java.lang.String
getUser()
The unique id of the user.@Min(-2147483648L) @Max(2147483647L) java.lang.Integer
getViewsCount()
The number of times the user has viewed the chart minimum: -2147483648 maximum: 2147483647int
hashCode()
void
setUser(java.lang.String user)
void
setViewsCount(java.lang.Integer viewsCount)
java.lang.String
toString()
ChartUserUsageCounts
user(java.lang.String user)
ChartUserUsageCounts
viewsCount(java.lang.Integer viewsCount)
-
-
-
Method Detail
-
user
public ChartUserUsageCounts user(java.lang.String user)
-
getUser
@NotNull public @NotNull java.lang.String getUser()
The unique id of the user.- Returns:
- user
-
setUser
public void setUser(java.lang.String user)
-
viewsCount
public ChartUserUsageCounts viewsCount(java.lang.Integer viewsCount)
-
getViewsCount
@Min(-2147483648L) @Max(2147483647L) public @Min(-2147483648L) @Max(2147483647L) java.lang.Integer getViewsCount()
The number of times the user has viewed the chart minimum: -2147483648 maximum: 2147483647- Returns:
- viewsCount
-
setViewsCount
public void setViewsCount(java.lang.Integer viewsCount)
-
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
-
-