Class RetentionLabel
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.RetentionLabel
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RetentionLabel extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetentionLabel.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ActionAfterRetentionPeriodactionAfterRetentionPeriodprotected BehaviorDuringRetentionPeriodbehaviorDuringRetentionPeriodprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected DefaultRecordBehaviordefaultRecordBehaviorprotected StringdescriptionForAdminsprotected StringdescriptionForUsersprotected FilePlanDescriptordescriptorsprotected StringdisplayNameprotected List<DispositionReviewStage>dispositionReviewStagesprotected BooleanisInUseprotected StringlabelToBeAppliedprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected RetentionDurationretentionDurationprotected RetentionTriggerretentionTrigger-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRetentionLabel()
-
Method Summary
-
-
-
Field Detail
-
actionAfterRetentionPeriod
protected ActionAfterRetentionPeriod actionAfterRetentionPeriod
-
behaviorDuringRetentionPeriod
protected BehaviorDuringRetentionPeriod behaviorDuringRetentionPeriod
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
defaultRecordBehavior
protected DefaultRecordBehavior defaultRecordBehavior
-
descriptionForAdmins
protected String descriptionForAdmins
-
descriptionForUsers
protected String descriptionForUsers
-
displayName
protected String displayName
-
isInUse
protected Boolean isInUse
-
labelToBeApplied
protected String labelToBeApplied
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
retentionDuration
protected RetentionDuration retentionDuration
-
retentionTrigger
protected RetentionTrigger retentionTrigger
-
descriptors
protected FilePlanDescriptor descriptors
-
dispositionReviewStages
protected List<DispositionReviewStage> dispositionReviewStages
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRetentionLabel
public static RetentionLabel.Builder builderRetentionLabel()
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
-
getActionAfterRetentionPeriod
public Optional<ActionAfterRetentionPeriod> getActionAfterRetentionPeriod()
-
withActionAfterRetentionPeriod
public RetentionLabel withActionAfterRetentionPeriod(ActionAfterRetentionPeriod actionAfterRetentionPeriod)
-
getBehaviorDuringRetentionPeriod
public Optional<BehaviorDuringRetentionPeriod> getBehaviorDuringRetentionPeriod()
-
withBehaviorDuringRetentionPeriod
public RetentionLabel withBehaviorDuringRetentionPeriod(BehaviorDuringRetentionPeriod behaviorDuringRetentionPeriod)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public RetentionLabel withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public RetentionLabel withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDefaultRecordBehavior
public Optional<DefaultRecordBehavior> getDefaultRecordBehavior()
-
withDefaultRecordBehavior
public RetentionLabel withDefaultRecordBehavior(DefaultRecordBehavior defaultRecordBehavior)
-
withDescriptionForAdmins
public RetentionLabel withDescriptionForAdmins(String descriptionForAdmins)
-
withDescriptionForUsers
public RetentionLabel withDescriptionForUsers(String descriptionForUsers)
-
withDisplayName
public RetentionLabel withDisplayName(String displayName)
-
withIsInUse
public RetentionLabel withIsInUse(Boolean isInUse)
-
withLabelToBeApplied
public RetentionLabel withLabelToBeApplied(String labelToBeApplied)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public RetentionLabel withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public RetentionLabel withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getRetentionDuration
public Optional<RetentionDuration> getRetentionDuration()
-
withRetentionDuration
public RetentionLabel withRetentionDuration(RetentionDuration retentionDuration)
-
getRetentionTrigger
public Optional<RetentionTrigger> getRetentionTrigger()
-
withRetentionTrigger
public RetentionLabel withRetentionTrigger(RetentionTrigger retentionTrigger)
-
withUnmappedField
public RetentionLabel withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getDescriptors
public FilePlanDescriptorRequest getDescriptors()
-
getDispositionReviewStages
public DispositionReviewStageCollectionRequest getDispositionReviewStages()
-
getRetentionEventType
public RetentionEventTypeRequest getRetentionEventType()
-
withDescriptors
public RetentionLabel withDescriptors(FilePlanDescriptor descriptors)
-
withDispositionReviewStages
public RetentionLabel withDispositionReviewStages(List<DispositionReviewStage> dispositionReviewStages)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public RetentionLabel patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RetentionLabel put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-