Class AccessRequestHistorySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.operatoraccesscontrol.model.AccessRequestHistorySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AccessRequestHistorySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of access request status.
Note: Objects should always be created or deserialized using theAccessRequestHistorySummary.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 theAccessRequestHistorySummary.Builder, which maintain a set of all explicitly set fields calledAccessRequestHistorySummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessRequestHistorySummary.Builder
-
Constructor Summary
Constructors Constructor Description AccessRequestHistorySummary(AccessRequestLifecycleStates lifecycleState, String userId, String description, Integer duration, Boolean isAutoApproved, List<String> actionsList, Date timeOfAction)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessRequestHistorySummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getActionsList()List of operator actions for which approvals were requested by the operator.StringgetDescription()Reason or description about the cause of change.IntegergetDuration()Duration for approval of request or extension depending on the type of action.BooleangetIsAutoApproved()Whether the access request was automatically approved.AccessRequestLifecycleStatesgetLifecycleState()The current state of the AccessRequest.DategetTimeOfAction()Time when the respective action happened in RFC 3339timestamp format.StringgetUserId()Approver who modified the access request.inthashCode()AccessRequestHistorySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AccessRequestHistorySummary
@Deprecated @ConstructorProperties({"lifecycleState","userId","description","duration","isAutoApproved","actionsList","timeOfAction"}) public AccessRequestHistorySummary(AccessRequestLifecycleStates lifecycleState, String userId, String description, Integer duration, Boolean isAutoApproved, List<String> actionsList, Date timeOfAction)
Deprecated.
-
-
Method Detail
-
builder
public static AccessRequestHistorySummary.Builder builder()
Create a new builder.
-
toBuilder
public AccessRequestHistorySummary.Builder toBuilder()
-
getLifecycleState
public AccessRequestLifecycleStates getLifecycleState()
The current state of the AccessRequest.- Returns:
- the value
-
getUserId
public String getUserId()
Approver who modified the access request.- Returns:
- the value
-
getDescription
public String getDescription()
Reason or description about the cause of change.- Returns:
- the value
-
getDuration
public Integer getDuration()
Duration for approval of request or extension depending on the type of action.- Returns:
- the value
-
getIsAutoApproved
public Boolean getIsAutoApproved()
Whether the access request was automatically approved.- Returns:
- the value
-
getActionsList
public List<String> getActionsList()
List of operator actions for which approvals were requested by the operator.- Returns:
- the value
-
getTimeOfAction
public Date getTimeOfAction()
Time when the respective action happened in RFC 3339timestamp format.Example: ‘2020-05-22T21:10:29.600Z’
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-