public class GovernanceRoleAssignmentRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GovernanceRoleAssignmentRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignmentState |
protected String |
linkedEligibleRoleAssignmentId |
protected String |
reason |
protected OffsetDateTime |
requestedDateTime |
protected String |
resourceId |
protected String |
roleDefinitionId |
protected GovernanceSchedule |
schedule |
protected GovernanceRoleAssignmentRequestStatus |
status |
protected String |
subjectId |
protected String |
type |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GovernanceRoleAssignmentRequest() |
protected String resourceId
protected String roleDefinitionId
protected String subjectId
protected String linkedEligibleRoleAssignmentId
protected String type
protected String assignmentState
protected OffsetDateTime requestedDateTime
protected String reason
protected GovernanceRoleAssignmentRequestStatus status
protected GovernanceSchedule schedule
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GovernanceRoleAssignmentRequest.Builder builderGovernanceRoleAssignmentRequest()
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 GovernanceRoleAssignmentRequest withResourceId(String resourceId)
public GovernanceRoleAssignmentRequest withRoleDefinitionId(String roleDefinitionId)
public GovernanceRoleAssignmentRequest withSubjectId(String subjectId)
public GovernanceRoleAssignmentRequest withLinkedEligibleRoleAssignmentId(String linkedEligibleRoleAssignmentId)
public GovernanceRoleAssignmentRequest withType(String type)
public GovernanceRoleAssignmentRequest withAssignmentState(String assignmentState)
public Optional<OffsetDateTime> getRequestedDateTime()
public GovernanceRoleAssignmentRequest withRequestedDateTime(OffsetDateTime requestedDateTime)
public GovernanceRoleAssignmentRequest withReason(String reason)
public Optional<GovernanceRoleAssignmentRequestStatus> getStatus()
public GovernanceRoleAssignmentRequest withStatus(GovernanceRoleAssignmentRequestStatus status)
public Optional<GovernanceSchedule> getSchedule()
public GovernanceRoleAssignmentRequest withSchedule(GovernanceSchedule schedule)
public GovernanceResourceRequest getResource()
public GovernanceRoleDefinitionRequest getRoleDefinition()
public GovernanceSubjectRequest getSubject()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GovernanceRoleAssignmentRequest patch()
this with changed fields reset.public GovernanceRoleAssignmentRequest put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn cancel()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<GovernanceRoleAssignmentRequest> updateRequest(String decision, String assignmentState, GovernanceSchedule schedule, String reason)
Copyright © 2018–2020. All rights reserved.