Class Custodian
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.ediscovery.entity.DataSourceContainer
-
- odata.msgraph.client.beta.ediscovery.entity.Custodian
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Custodian extends DataSourceContainer implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustodian.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimeacknowledgedDateTimeprotected BooleanapplyHoldToSourcesprotected Stringemail-
Fields inherited from class odata.msgraph.client.beta.ediscovery.entity.DataSourceContainer
createdDateTime, displayName, lastModifiedDateTime, releasedDateTime, status
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustodian()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnactivate()static Custodian.BuilderbuilderCustodian()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getAcknowledgedDateTime()Optional<Boolean>getApplyHoldToSources()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getEmail()SiteSourceCollectionRequestgetSiteSources()UnifiedGroupSourceCollectionRequestgetUnifiedGroupSources()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()UserSourceCollectionRequestgetUserSources()StringodataTypeName()Custodianpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Custodianput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrelease()StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnupdateIndex()CustodianwithAcknowledgedDateTime(OffsetDateTime acknowledgedDateTime)CustodianwithApplyHoldToSources(Boolean applyHoldToSources)CustodianwithEmail(String email)CustodianwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.ediscovery.entity.DataSourceContainer
getCreatedDateTime, getDisplayName, getLastIndexOperation, getLastModifiedDateTime, getReleasedDateTime, getStatus, withCreatedDateTime, withDisplayName, withLastModifiedDateTime, withReleasedDateTime, withStatus
-
-
-
-
Field Detail
-
acknowledgedDateTime
protected OffsetDateTime acknowledgedDateTime
-
applyHoldToSources
protected Boolean applyHoldToSources
-
email
protected String email
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDataSourceContainer
-
builderCustodian
public static Custodian.Builder builderCustodian()
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 classDataSourceContainer
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDataSourceContainer
-
getAcknowledgedDateTime
public Optional<OffsetDateTime> getAcknowledgedDateTime()
-
withAcknowledgedDateTime
public Custodian withAcknowledgedDateTime(OffsetDateTime acknowledgedDateTime)
-
withUnmappedField
public Custodian withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDataSourceContainer
-
getSiteSources
public SiteSourceCollectionRequest getSiteSources()
-
getUnifiedGroupSources
public UnifiedGroupSourceCollectionRequest getUnifiedGroupSources()
-
getUserSources
public UserSourceCollectionRequest getUserSources()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDataSourceContainer
-
patch
public Custodian patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDataSourceContainer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Custodian put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDataSourceContainer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
activate
public com.github.davidmoten.odata.client.ActionRequestNoReturn activate()
-
release
public com.github.davidmoten.odata.client.ActionRequestNoReturn release()
-
updateIndex
public com.github.davidmoten.odata.client.ActionRequestNoReturn updateIndex()
-
toString
public String toString()
- Overrides:
toStringin classDataSourceContainer
-
-