Class NoncustodialDataSource
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.ediscovery.entity.DataSourceContainer
-
- odata.msgraph.client.beta.ediscovery.entity.NoncustodialDataSource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class NoncustodialDataSource extends DataSourceContainer implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNoncustodialDataSource.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanapplyHoldToSource-
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 protectedNoncustodialDataSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoncustodialDataSource.BuilderbuilderNoncustodialDataSource()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getApplyHoldToSource()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()DataSourceRequestgetDataSource()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()NoncustodialDataSourcepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)NoncustodialDataSourceput()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()NoncustodialDataSourcewithApplyHoldToSource(Boolean applyHoldToSource)NoncustodialDataSourcewithUnmappedField(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
-
applyHoldToSource
protected Boolean applyHoldToSource
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDataSourceContainer
-
builderNoncustodialDataSource
public static NoncustodialDataSource.Builder builderNoncustodialDataSource()
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
-
withApplyHoldToSource
public NoncustodialDataSource withApplyHoldToSource(Boolean applyHoldToSource)
-
withUnmappedField
public NoncustodialDataSource withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDataSourceContainer
-
getDataSource
public DataSourceRequest getDataSource()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDataSourceContainer
-
patch
public NoncustodialDataSource 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 NoncustodialDataSource 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
-
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
-
-