public class PrivilegedApproval extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivilegedApproval.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
approvalDuration |
protected ApprovalState |
approvalState |
protected String |
approvalType |
protected String |
approverReason |
protected OffsetDateTime |
endDateTime |
protected String |
requestorReason |
protected String |
roleId |
protected OffsetDateTime |
startDateTime |
protected String |
userId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrivilegedApproval() |
protected String userId
protected String roleId
protected String approvalType
protected ApprovalState approvalState
protected Duration approvalDuration
protected String requestorReason
protected String approverReason
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PrivilegedApproval.Builder builderPrivilegedApproval()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic PrivilegedApproval withUserId(String userId)
public PrivilegedApproval withRoleId(String roleId)
public PrivilegedApproval withApprovalType(String approvalType)
public Optional<ApprovalState> getApprovalState()
public PrivilegedApproval withApprovalState(ApprovalState approvalState)
public PrivilegedApproval withApprovalDuration(Duration approvalDuration)
public PrivilegedApproval withRequestorReason(String requestorReason)
public PrivilegedApproval withApproverReason(String approverReason)
public Optional<OffsetDateTime> getStartDateTime()
public PrivilegedApproval withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public PrivilegedApproval withEndDateTime(OffsetDateTime endDateTime)
public PrivilegedRoleAssignmentRequestRequest getRequest()
public PrivilegedRoleRequest getRoleInfo()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrivilegedApproval patch()
this with changed fields reset.public PrivilegedApproval put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.