Class RetentionEvent
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.RetentionEvent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RetentionEvent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetentionEvent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected List<EventPropagationResult>eventPropagationResultsprotected StringeventPropagationResultsNextLinkprotected List<EventQuery>eventQueriesprotected StringeventQueriesNextLinkprotected RetentionEventStatuseventStatusprotected OffsetDateTimeeventTriggerDateTimeprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected OffsetDateTimelastStatusUpdateDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRetentionEvent()
-
Method Summary
-
-
-
Field Detail
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
eventPropagationResults
protected List<EventPropagationResult> eventPropagationResults
-
eventPropagationResultsNextLink
protected String eventPropagationResultsNextLink
-
eventQueries
protected List<EventQuery> eventQueries
-
eventQueriesNextLink
protected String eventQueriesNextLink
-
eventStatus
protected RetentionEventStatus eventStatus
-
eventTriggerDateTime
protected OffsetDateTime eventTriggerDateTime
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
lastStatusUpdateDateTime
protected OffsetDateTime lastStatusUpdateDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRetentionEvent
public static RetentionEvent.Builder builderRetentionEvent()
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<IdentitySet> getCreatedBy()
-
withCreatedBy
public RetentionEvent withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public RetentionEvent withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public RetentionEvent withDescription(String description)
-
withDisplayName
public RetentionEvent withDisplayName(String displayName)
-
getEventPropagationResults
public com.github.davidmoten.odata.client.CollectionPage<EventPropagationResult> getEventPropagationResults()
-
withEventPropagationResults
public RetentionEvent withEventPropagationResults(List<EventPropagationResult> eventPropagationResults)
-
getEventPropagationResults
public com.github.davidmoten.odata.client.CollectionPage<EventPropagationResult> getEventPropagationResults(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getEventQueries
public com.github.davidmoten.odata.client.CollectionPage<EventQuery> getEventQueries()
-
withEventQueries
public RetentionEvent withEventQueries(List<EventQuery> eventQueries)
-
getEventQueries
public com.github.davidmoten.odata.client.CollectionPage<EventQuery> getEventQueries(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getEventStatus
public Optional<RetentionEventStatus> getEventStatus()
-
withEventStatus
public RetentionEvent withEventStatus(RetentionEventStatus eventStatus)
-
getEventTriggerDateTime
public Optional<OffsetDateTime> getEventTriggerDateTime()
-
withEventTriggerDateTime
public RetentionEvent withEventTriggerDateTime(OffsetDateTime eventTriggerDateTime)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public RetentionEvent withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public RetentionEvent withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getLastStatusUpdateDateTime
public Optional<OffsetDateTime> getLastStatusUpdateDateTime()
-
withLastStatusUpdateDateTime
public RetentionEvent withLastStatusUpdateDateTime(OffsetDateTime lastStatusUpdateDateTime)
-
withUnmappedField
public RetentionEvent withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getRetentionEventType
public RetentionEventTypeRequest getRetentionEventType()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public RetentionEvent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RetentionEvent put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-