public class ApprovalMemberJson
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
approvalId
The Parent Approval ID.
|
java.lang.String |
avatarUrl
The Avatar URL of the Approval User (got on-the-fly).
|
java.util.Date |
date
The date on which the current status has taken 'effect' from.
|
java.lang.String |
displayName
The Users' Display Name (got on-the-fly).
|
java.lang.String |
status
The Status (ie.
|
java.lang.String |
userKey
The UserKey that this Approver is referenced to.
|
java.lang.String |
username
The Users' username (got on-the-fly).
|
Constructor and Description |
---|
ApprovalMemberJson(java.lang.Integer approvalId,
java.lang.String userKey,
java.lang.String status,
java.util.Date date,
java.lang.String avatarUrl,
java.lang.String displayName,
java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getApprovalId()
|
java.lang.String |
getAvatarUrl()
|
java.util.Date |
getDate()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getStatus()
|
java.lang.String |
getUserKey()
|
static ApprovalMemberJson
|
map(com.atlassian.confluence.user.UserAccessor userAccessor,
co.uk.automationconsultants.approvals.ao.ApprovalMember approvalMember) |
static java.util.List<ApprovalMemberJson>
|
mapAll(com.atlassian.confluence.user.UserAccessor userAccessor,
co.uk.automationconsultants.approvals.ao.ApprovalMember[] approvalMembers) |
void |
setApprovalId(java.lang.Integer approvalId)
|
void |
setAvatarUrl(java.lang.String avatarUrl)
|
void |
setDate(java.util.Date date)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setStatus(java.lang.String status)
|
void |
setUserKey(java.lang.String userKey)
|
public java.lang.Integer approvalId
public java.lang.String userKey
public java.lang.String status
public java.util.Date date
public java.lang.String avatarUrl
public java.lang.String displayName
public java.lang.String username
public ApprovalMemberJson(java.lang.Integer approvalId, java.lang.String userKey, java.lang.String status, java.util.Date date, java.lang.String avatarUrl, java.lang.String displayName, java.lang.String username)
public static ApprovalMemberJson map(com.atlassian.confluence.user.UserAccessor userAccessor, co.uk.automationconsultants.approvals.ao.ApprovalMember approvalMember)
public static java.util.List<ApprovalMemberJson> mapAll(com.atlassian.confluence.user.UserAccessor userAccessor, co.uk.automationconsultants.approvals.ao.ApprovalMember[] approvalMembers)
public java.lang.String getAvatarUrl()
public void setAvatarUrl(java.lang.String avatarUrl)
public java.lang.Integer getApprovalId()
public void setApprovalId(java.lang.Integer approvalId)
public java.lang.String getUserKey()
public void setUserKey(java.lang.String userKey)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)