Package odata.msgraph.client.beta.entity
Class AccessReviewHistoryDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AccessReviewHistoryDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AccessReviewHistoryDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessReviewHistoryDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UserIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected List<AccessReviewHistoryDecisionFilter>decisionsprotected StringdecisionsNextLinkprotected StringdisplayNameprotected StringdownloadUriprotected OffsetDateTimefulfilledDateTimeprotected OffsetDateTimereviewHistoryPeriodEndDateTimeprotected OffsetDateTimereviewHistoryPeriodStartDateTimeprotected AccessReviewHistoryScheduleSettingsscheduleSettingsprotected List<AccessReviewScope>scopesprotected StringscopesNextLinkprotected AccessReviewHistoryStatusstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessReviewHistoryDefinition()
-
Method Summary
-
-
-
Field Detail
-
createdBy
protected UserIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
decisions
protected List<AccessReviewHistoryDecisionFilter> decisions
-
decisionsNextLink
protected String decisionsNextLink
-
displayName
protected String displayName
-
downloadUri
protected String downloadUri
-
fulfilledDateTime
protected OffsetDateTime fulfilledDateTime
-
reviewHistoryPeriodEndDateTime
protected OffsetDateTime reviewHistoryPeriodEndDateTime
-
reviewHistoryPeriodStartDateTime
protected OffsetDateTime reviewHistoryPeriodStartDateTime
-
scheduleSettings
protected AccessReviewHistoryScheduleSettings scheduleSettings
-
scopes
protected List<AccessReviewScope> scopes
-
scopesNextLink
protected String scopesNextLink
-
status
protected AccessReviewHistoryStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAccessReviewHistoryDefinition
public static AccessReviewHistoryDefinition.Builder builderAccessReviewHistoryDefinition()
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
-
getCreatedBy
public Optional<UserIdentity> getCreatedBy()
-
withCreatedBy
public AccessReviewHistoryDefinition withCreatedBy(UserIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public AccessReviewHistoryDefinition withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDecisions
public com.github.davidmoten.odata.client.CollectionPage<AccessReviewHistoryDecisionFilter> getDecisions()
-
withDecisions
public AccessReviewHistoryDefinition withDecisions(List<AccessReviewHistoryDecisionFilter> decisions)
-
getDecisions
public com.github.davidmoten.odata.client.CollectionPage<AccessReviewHistoryDecisionFilter> getDecisions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withDisplayName
public AccessReviewHistoryDefinition withDisplayName(String displayName)
-
getDownloadUri
public Optional<String> getDownloadUri()
Org.OData.Core.V1.Revisions
- Returns:
- property downloadUri
-
withDownloadUri
public AccessReviewHistoryDefinition withDownloadUri(String downloadUri)
Returns an immutable copy ofthiswith just thedownloadUrifield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Revisions
- Parameters:
downloadUri- new value ofdownloadUrifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedownloadUrifield changed
-
getFulfilledDateTime
public Optional<OffsetDateTime> getFulfilledDateTime()
Org.OData.Core.V1.Revisions
- Returns:
- property fulfilledDateTime
-
withFulfilledDateTime
public AccessReviewHistoryDefinition withFulfilledDateTime(OffsetDateTime fulfilledDateTime)
Returns an immutable copy ofthiswith just thefulfilledDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Revisions
- Parameters:
fulfilledDateTime- new value offulfilledDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefulfilledDateTimefield changed
-
getReviewHistoryPeriodEndDateTime
public Optional<OffsetDateTime> getReviewHistoryPeriodEndDateTime()
-
withReviewHistoryPeriodEndDateTime
public AccessReviewHistoryDefinition withReviewHistoryPeriodEndDateTime(OffsetDateTime reviewHistoryPeriodEndDateTime)
-
getReviewHistoryPeriodStartDateTime
public Optional<OffsetDateTime> getReviewHistoryPeriodStartDateTime()
-
withReviewHistoryPeriodStartDateTime
public AccessReviewHistoryDefinition withReviewHistoryPeriodStartDateTime(OffsetDateTime reviewHistoryPeriodStartDateTime)
-
getScheduleSettings
public Optional<AccessReviewHistoryScheduleSettings> getScheduleSettings()
-
withScheduleSettings
public AccessReviewHistoryDefinition withScheduleSettings(AccessReviewHistoryScheduleSettings scheduleSettings)
-
getScopes
public com.github.davidmoten.odata.client.CollectionPage<AccessReviewScope> getScopes()
-
withScopes
public AccessReviewHistoryDefinition withScopes(List<AccessReviewScope> scopes)
-
getScopes
public com.github.davidmoten.odata.client.CollectionPage<AccessReviewScope> getScopes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getStatus
public Optional<AccessReviewHistoryStatus> getStatus()
-
withStatus
public AccessReviewHistoryDefinition withStatus(AccessReviewHistoryStatus status)
-
withUnmappedField
public AccessReviewHistoryDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getInstances
public AccessReviewHistoryInstanceCollectionRequest getInstances()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AccessReviewHistoryDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AccessReviewHistoryDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-