@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AccessRequestHistorySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of access request status.
Note: Objects should always be created or deserialized using the AccessRequestHistorySummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AccessRequestHistorySummary.Builder
, which maintain a
set of all explicitly set fields called AccessRequestHistorySummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AccessRequestHistorySummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AccessRequestHistorySummary(AccessRequestLifecycleStates lifecycleState,
String userId,
String description,
Integer duration,
Boolean isAutoApproved,
List<String> actionsList,
Date timeOfAction)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AccessRequestHistorySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getActionsList()
List of operator actions for which approvals were requested by the operator.
|
String |
getDescription()
Reason or description about the cause of change.
|
Integer |
getDuration()
Duration for approval of request or extension depending on the type of action.
|
Boolean |
getIsAutoApproved()
Whether the access request was automatically approved.
|
AccessRequestLifecycleStates |
getLifecycleState()
The current state of the AccessRequest.
|
Date |
getTimeOfAction()
Time when the respective action happened in RFC
3339timestamp format.
|
String |
getUserId()
Approver who modified the access request.
|
int |
hashCode() |
AccessRequestHistorySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lifecycleState","userId","description","duration","isAutoApproved","actionsList","timeOfAction"}) public AccessRequestHistorySummary(AccessRequestLifecycleStates lifecycleState, String userId, String description, Integer duration, Boolean isAutoApproved, List<String> actionsList, Date timeOfAction)
public static AccessRequestHistorySummary.Builder builder()
Create a new builder.
public AccessRequestHistorySummary.Builder toBuilder()
public AccessRequestLifecycleStates getLifecycleState()
The current state of the AccessRequest.
public String getUserId()
Approver who modified the access request.
public String getDescription()
Reason or description about the cause of change.
public Integer getDuration()
Duration for approval of request or extension depending on the type of action.
public Boolean getIsAutoApproved()
Whether the access request was automatically approved.
public List<String> getActionsList()
List of operator actions for which approvals were requested by the operator.
public Date getTimeOfAction()
Time when the respective action happened in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.