Package odata.msgraph.client.beta.entity
Class GovernanceRoleAssignment
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.GovernanceRoleAssignment
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class GovernanceRoleAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGovernanceRoleAssignment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringassignmentStateprotected OffsetDateTimeendDateTimeprotected StringexternalIdprotected StringlinkedEligibleRoleAssignmentIdprotected StringmemberTypeprotected StringresourceIdprotected StringroleDefinitionIdprotected OffsetDateTimestartDateTimeprotected Stringstatusprotected StringsubjectId-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGovernanceRoleAssignment()
-
Method Summary
-
-
-
Field Detail
-
assignmentState
protected String assignmentState
-
endDateTime
protected OffsetDateTime endDateTime
-
externalId
protected String externalId
-
linkedEligibleRoleAssignmentId
protected String linkedEligibleRoleAssignmentId
-
memberType
protected String memberType
-
resourceId
protected String resourceId
-
roleDefinitionId
protected String roleDefinitionId
-
startDateTime
protected OffsetDateTime startDateTime
-
status
protected String status
-
subjectId
protected String subjectId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderGovernanceRoleAssignment
public static GovernanceRoleAssignment.Builder builderGovernanceRoleAssignment()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withAssignmentState
public GovernanceRoleAssignment withAssignmentState(String assignmentState)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public GovernanceRoleAssignment withEndDateTime(OffsetDateTime endDateTime)
-
withExternalId
public GovernanceRoleAssignment withExternalId(String externalId)
-
withLinkedEligibleRoleAssignmentId
public GovernanceRoleAssignment withLinkedEligibleRoleAssignmentId(String linkedEligibleRoleAssignmentId)
-
withMemberType
public GovernanceRoleAssignment withMemberType(String memberType)
-
withResourceId
public GovernanceRoleAssignment withResourceId(String resourceId)
-
withRoleDefinitionId
public GovernanceRoleAssignment withRoleDefinitionId(String roleDefinitionId)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public GovernanceRoleAssignment withStartDateTime(OffsetDateTime startDateTime)
-
withStatus
public GovernanceRoleAssignment withStatus(String status)
-
withSubjectId
public GovernanceRoleAssignment withSubjectId(String subjectId)
-
withUnmappedField
public GovernanceRoleAssignment withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getLinkedEligibleRoleAssignment
public GovernanceRoleAssignmentRequest getLinkedEligibleRoleAssignment()
-
getResource
public GovernanceResourceRequest getResource()
-
getRoleDefinition
public GovernanceRoleDefinitionRequest getRoleDefinition()
-
getSubject
public GovernanceSubjectRequest getSubject()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public GovernanceRoleAssignment patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public GovernanceRoleAssignment put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-