public class GovernanceRoleAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GovernanceRoleAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignmentState |
protected OffsetDateTime |
endDateTime |
protected String |
externalId |
protected String |
linkedEligibleRoleAssignmentId |
protected String |
memberType |
protected String |
resourceId |
protected String |
roleDefinitionId |
protected OffsetDateTime |
startDateTime |
protected String |
status |
protected String |
subjectId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GovernanceRoleAssignment() |
protected String resourceId
protected String roleDefinitionId
protected String subjectId
protected String linkedEligibleRoleAssignmentId
protected String externalId
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected String memberType
protected String assignmentState
protected String status
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GovernanceRoleAssignment.Builder builderGovernanceRoleAssignment()
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 GovernanceRoleAssignment withResourceId(String resourceId)
public GovernanceRoleAssignment withRoleDefinitionId(String roleDefinitionId)
public GovernanceRoleAssignment withSubjectId(String subjectId)
public GovernanceRoleAssignment withLinkedEligibleRoleAssignmentId(String linkedEligibleRoleAssignmentId)
public GovernanceRoleAssignment withExternalId(String externalId)
public Optional<OffsetDateTime> getStartDateTime()
public GovernanceRoleAssignment withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public GovernanceRoleAssignment withEndDateTime(OffsetDateTime endDateTime)
public GovernanceRoleAssignment withMemberType(String memberType)
public GovernanceRoleAssignment withAssignmentState(String assignmentState)
public GovernanceRoleAssignment withStatus(String status)
public GovernanceResourceRequest getResource()
public GovernanceRoleDefinitionRequest getRoleDefinition()
public GovernanceSubjectRequest getSubject()
public GovernanceRoleAssignmentRequest getLinkedEligibleRoleAssignment()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GovernanceRoleAssignment patch()
this with changed fields reset.public GovernanceRoleAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.