@Deprecated public class Approval extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Approval.ApprovalStatus
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
Approval()
Deprecated.
|
|
Approval(String userId,
String clientId,
String scope,
Date expiresAt,
Approval.ApprovalStatus status)
Deprecated.
|
|
Approval(String userId,
String clientId,
String scope,
Date expiresAt,
Approval.ApprovalStatus status,
Date lastUpdatedAt)
Deprecated.
|
|
Approval(String userId,
String clientId,
String scope,
int expiresIn,
Approval.ApprovalStatus status)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
String |
getClientId()
Deprecated.
|
Date |
getExpiresAt()
Deprecated.
|
Date |
getLastUpdatedAt()
Deprecated.
|
String |
getScope()
Deprecated.
|
Approval.ApprovalStatus |
getStatus()
Deprecated.
|
String |
getUserId()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isApproved()
Deprecated.
|
boolean |
isCurrentlyActive()
Deprecated.
|
void |
setClientId(String clientId)
Deprecated.
|
void |
setExpiresAt(Date expiresAt)
Deprecated.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Deprecated.
|
void |
setScope(String scope)
Deprecated.
|
void |
setStatus(Approval.ApprovalStatus status)
Deprecated.
|
void |
setUserId(String userId)
Deprecated.
|
String |
toString()
Deprecated.
|
public Approval(String userId, String clientId, String scope, int expiresIn, Approval.ApprovalStatus status)
public Approval(String userId, String clientId, String scope, Date expiresAt, Approval.ApprovalStatus status)
public Approval(String userId, String clientId, String scope, Date expiresAt, Approval.ApprovalStatus status, Date lastUpdatedAt)
protected Approval()
public String getUserId()
public void setUserId(String userId)
public String getClientId()
public void setClientId(String clientId)
public String getScope()
public void setScope(String scope)
public Date getExpiresAt()
public void setExpiresAt(Date expiresAt)
public Date getLastUpdatedAt()
public void setLastUpdatedAt(Date lastUpdatedAt)
public boolean isCurrentlyActive()
public boolean isApproved()
public void setStatus(Approval.ApprovalStatus status)
public Approval.ApprovalStatus getStatus()
Copyright © 2019. All rights reserved.