Class AttentionSetInfo
- java.lang.Object
-
- com.google.gerrit.extensions.common.AttentionSetInfo
-
public class AttentionSetInfo extends Object
Represents a single user included in the attention set. Used in the API. SeeAttentionSetUpdate
for the internal representation.See here for background.
-
-
Field Summary
Fields Modifier and Type Field Description AccountInfo
account
The user included in the attention set.Timestamp
lastUpdate
The timestamp of the last update.String
reason
The human readable reason why the user was added.AccountInfo
reasonAccount
The user that might be mentioned inreason
as the one who caused the update.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttentionSetInfo()
AttentionSetInfo(AccountInfo account, Timestamp lastUpdate, String reason, AccountInfo reasonAccount)
AttentionSetInfo(AccountInfo account, Instant lastUpdate, String reason, AccountInfo reasonAccount)
-
-
-
Field Detail
-
account
public AccountInfo account
The user included in the attention set.
-
lastUpdate
public Timestamp lastUpdate
The timestamp of the last update.
-
reason
public String reason
The human readable reason why the user was added.
-
reasonAccount
public AccountInfo reasonAccount
-
-
Constructor Detail
-
AttentionSetInfo
public AttentionSetInfo(AccountInfo account, Timestamp lastUpdate, String reason, AccountInfo reasonAccount)
-
AttentionSetInfo
public AttentionSetInfo(AccountInfo account, Instant lastUpdate, String reason, AccountInfo reasonAccount)
-
AttentionSetInfo
protected AttentionSetInfo()
-
-