Package odata.msgraph.client.beta.entity
Class AccessReview
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AccessReview
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AccessReview extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessReview.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbusinessFlowTemplateIdprotected UserIdentitycreatedByprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimeendDateTimeprotected IdentityreviewedEntityprotected StringreviewerTypeprotected AccessReviewSettingssettingsprotected OffsetDateTimestartDateTimeprotected Stringstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessReview()
-
Method Summary
-
-
-
Field Detail
-
businessFlowTemplateId
protected String businessFlowTemplateId
-
createdBy
protected UserIdentity createdBy
-
description
protected String description
-
displayName
protected String displayName
-
endDateTime
protected OffsetDateTime endDateTime
-
reviewedEntity
protected Identity reviewedEntity
-
reviewerType
protected String reviewerType
-
settings
protected AccessReviewSettings settings
-
startDateTime
protected OffsetDateTime startDateTime
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAccessReview
public static AccessReview.Builder builderAccessReview()
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
-
withBusinessFlowTemplateId
public AccessReview withBusinessFlowTemplateId(String businessFlowTemplateId)
-
getCreatedBy
public Optional<UserIdentity> getCreatedBy()
-
withCreatedBy
public AccessReview withCreatedBy(UserIdentity createdBy)
-
withDescription
public AccessReview withDescription(String description)
-
withDisplayName
public AccessReview withDisplayName(String displayName)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public AccessReview withEndDateTime(OffsetDateTime endDateTime)
-
withReviewedEntity
public AccessReview withReviewedEntity(Identity reviewedEntity)
-
withReviewerType
public AccessReview withReviewerType(String reviewerType)
-
getSettings
public Optional<AccessReviewSettings> getSettings()
-
withSettings
public AccessReview withSettings(AccessReviewSettings settings)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public AccessReview withStartDateTime(OffsetDateTime startDateTime)
-
withStatus
public AccessReview withStatus(String status)
-
withUnmappedField
public AccessReview withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getDecisions
public AccessReviewDecisionCollectionRequest getDecisions()
-
getInstances
public AccessReviewCollectionRequest getInstances()
-
getMyDecisions
public AccessReviewDecisionCollectionRequest getMyDecisions()
-
getReviewers
public AccessReviewReviewerCollectionRequest getReviewers()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessReview patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessReview put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
stop
public com.github.davidmoten.odata.client.ActionRequestNoReturn stop()
-
applyDecisions
public com.github.davidmoten.odata.client.ActionRequestNoReturn applyDecisions()
-
resetDecisions
public com.github.davidmoten.odata.client.ActionRequestNoReturn resetDecisions()
-
sendReminder
public com.github.davidmoten.odata.client.ActionRequestNoReturn sendReminder()
-
-