public class BrokeredAccessRequest extends Object implements JsonObject
| Constructor and Description |
|---|
BrokeredAccessRequest() |
| Modifier and Type | Method and Description |
|---|---|
BrokeredAccessRequestType |
getAccessType()
Get the type of access request to create.
|
Integer |
getAccountAssetId()
Get the ID of the asset the account is from to create the access request for.
|
String |
getAccountAssetName()
Get the name of the asset the account is from to create the access request for.
|
Integer |
getAccountId()
Get the ID of the account to create the access request for.
|
String |
getAccountName()
Get the name of the account to create the access request for.
|
Integer |
getAssetId()
Get the ID of the asset to create the access request for.
|
String |
getAssetName()
Get the name of the asset to create the access request for.
|
Integer |
getForUserId()
Get the ID of the user to create the access request for.
|
String |
getForUserIdentityProvider()
Get the name of the identity provider to create the access request for.
|
String |
getForUserName()
Get the name of the user to create the access request for.
|
boolean |
getIsEmergency()
Whether or not this is an emergency access request.
|
String |
getReasonCode()
Get the name of the pre-defined reason code to include in the access request.
|
Integer |
getReasonCodeId()
Get the ID of the pre-defined reason code to include in the access request.
|
String |
getReasonComment()
Get a reason comment to include in the access request.
|
Long |
getRequestedDurationDays()
Get the number of days the access request should be requested for.
|
Long |
getRequestedDurationHours()
Get the number of hours the access request should be requested for.
|
Long |
getRequestedDurationMinutes()
Get the number of minutes the access request should be requested for.
|
Instant |
getRequestedFor()
Get the time when the access request should be requested for.
|
String |
getTicketNumber()
Get a ticket number associated with the new access request.
|
void |
setAccessType(BrokeredAccessRequestType AccessType)
Set the type of access request to create.
|
void |
setAccountAssetId(Integer AccountAssetId)
Set the ID of the asset the account is from to create the access request for.
|
void |
setAccountAssetName(String AccountAssetName)
Set the name of the asset the account is from to create the access request for.
|
void |
setAccountId(Integer AccountId)
Set the ID of the account to create the access request for.
|
void |
setAccountName(String AccountName)
Set the name of the account to create the access request for.
|
void |
setAssetId(Integer AssetId)
Set the ID of the asset to create the access request for.
|
void |
setAssetName(String AssetName)
Set the name of the asset to create the access request for.
|
void |
setForUserId(Integer ForUserId)
Set the ID of the user to create the access request for.
|
void |
setForUserIdentityProvider(String ForUserIdentityProvider)
Set the name of the identity provider to create the access request for.
|
void |
setForUserName(String ForUserName)
Set the name of the user to create the access request for.
|
void |
setIsEmergency(boolean IsEmergency)
Set whether or not this is an emergency access request.
|
void |
setReasonCode(String ReasonCode)
Set the name of the pre-defined reason code to include in the access request.
|
void |
setReasonCodeId(Integer ReasonCodeId)
Set the ID of the pre-defined reason code to include in the access request.
|
void |
setReasonComment(String ReasonComment)
Set a reason comment to include in the access request.
|
void |
setRequestedDurationDays(Long RequestedDurationDays)
Set the number of days the access request should be requested for.
|
void |
setRequestedDurationHours(Long RequestedDurationHours)
Set the number of hours the access request should be requested for.
|
void |
setRequestedDurationMinutes(Long RequestedDurationMinutes)
Set the number of minutes the access request should be requested for.
|
void |
setRequestedFor(Instant RequestedFor)
Set the time when the access request should be requested for.
|
void |
setTicketNumber(String TicketNumber)
Set a ticket number associated with the new access request.
|
String |
toJson() |
public BrokeredAccessRequestType getAccessType()
public void setAccessType(BrokeredAccessRequestType AccessType)
AccessType - BrokeredAccessRequestTypepublic String getForUserName()
public void setForUserName(String ForUserName)
ForUserName - For user namepublic String getForUserIdentityProvider()
public void setForUserIdentityProvider(String ForUserIdentityProvider)
ForUserIdentityProvider - Identity providerpublic Integer getForUserId()
public void setForUserId(Integer ForUserId)
ForUserId - For user id.public String getAssetName()
public void setAssetName(String AssetName)
AssetName - Asset name.public Integer getAssetId()
public void setAssetId(Integer AssetId)
AssetId - Asset id.public String getAccountName()
public void setAccountName(String AccountName)
AccountName - Account name.public Integer getAccountId()
public void setAccountId(Integer AccountId)
AccountId - Account id.public String getAccountAssetName()
public void setAccountAssetName(String AccountAssetName)
AccountAssetName - Account asset name.public Integer getAccountAssetId()
public void setAccountAssetId(Integer AccountAssetId)
AccountAssetId - Account asset id.public boolean getIsEmergency()
public void setIsEmergency(boolean IsEmergency)
IsEmergency - Is emergencypublic String getReasonCode()
public void setReasonCode(String ReasonCode)
ReasonCode - Reason code.public Integer getReasonCodeId()
public void setReasonCodeId(Integer ReasonCodeId)
ReasonCodeId - Reason code id.public String getReasonComment()
public void setReasonComment(String ReasonComment)
ReasonComment - Reason comment.public String getTicketNumber()
public void setTicketNumber(String TicketNumber)
TicketNumber - Ticket number.public Instant getRequestedFor()
public void setRequestedFor(Instant RequestedFor)
RequestedFor - Requested for.public Long getRequestedDurationDays()
public void setRequestedDurationDays(Long RequestedDurationDays)
RequestedDurationDays - Requested duration dayspublic Long getRequestedDurationHours()
public void setRequestedDurationHours(Long RequestedDurationHours)
RequestedDurationHours - Requested duration hourspublic Long getRequestedDurationMinutes()
public void setRequestedDurationMinutes(Long RequestedDurationMinutes)
RequestedDurationMinutes - Requested duration minutespublic String toJson()
toJson in interface JsonObjectCopyright © 2019. All rights reserved.