Package odata.msgraph.client.beta.entity
Class ExactMatchSession
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ExactMatchJobBase
-
- odata.msgraph.client.beta.entity.ExactMatchSessionBase
-
- odata.msgraph.client.beta.entity.ExactMatchSession
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ExactMatchSession extends ExactMatchSessionBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExactMatchSession.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringchecksumprotected StringdataUploadURIprotected List<String>fieldsprotected StringfieldsNextLinkprotected StringfileNameprotected IntegerrowsPerBlockprotected Stringsaltprotected StringuploadAgentId-
Fields inherited from class odata.msgraph.client.beta.entity.ExactMatchSessionBase
dataStoreId, processingCompletionDateTime, remainingBlockCount, remainingJobCount, state, totalBlockCount, totalJobCount, uploadCompletionDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.ExactMatchJobBase
completionDateTime, creationDateTime, error, lastUpdatedDateTime, startDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExactMatchSession()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExactMatchSession.BuilderbuilderExactMatchSession()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestNoReturncancel()com.github.davidmoten.odata.client.ActionRequestNoReturncommit()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getChecksum()Optional<String>getDataUploadURI()com.github.davidmoten.odata.client.CollectionPage<String>getFields()com.github.davidmoten.odata.client.CollectionPage<String>getFields(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getFileName()Optional<Integer>getRowsPerBlock()Optional<String>getSalt()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()ExactMatchUploadAgentRequestgetUploadAgent()Optional<String>getUploadAgentId()StringodataTypeName()ExactMatchSessionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ExactMatchSessionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ExactMatchSession>renew()StringtoString()ExactMatchSessionwithChecksum(String checksum)ExactMatchSessionwithDataUploadURI(String dataUploadURI)ExactMatchSessionwithFields(List<String> fields)ExactMatchSessionwithFileName(String fileName)ExactMatchSessionwithRowsPerBlock(Integer rowsPerBlock)ExactMatchSessionwithSalt(String salt)ExactMatchSessionwithUnmappedField(String name, String value)ExactMatchSessionwithUploadAgentId(String uploadAgentId)-
Methods inherited from class odata.msgraph.client.beta.entity.ExactMatchSessionBase
builderExactMatchSessionBase, getDataStoreId, getProcessingCompletionDateTime, getRemainingBlockCount, getRemainingJobCount, getState, getTotalBlockCount, getTotalJobCount, getUploadCompletionDateTime, withDataStoreId, withProcessingCompletionDateTime, withRemainingBlockCount, withRemainingJobCount, withState, withTotalBlockCount, withTotalJobCount, withUploadCompletionDateTime
-
Methods inherited from class odata.msgraph.client.beta.entity.ExactMatchJobBase
getCompletionDateTime, getCreationDateTime, getError, getLastUpdatedDateTime, getStartDateTime, withCompletionDateTime, withCreationDateTime, withError, withLastUpdatedDateTime, withStartDateTime
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classExactMatchSessionBase
-
builderExactMatchSession
public static ExactMatchSession.Builder builderExactMatchSession()
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 classExactMatchSessionBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classExactMatchSessionBase
-
withChecksum
public ExactMatchSession withChecksum(String checksum)
-
withDataUploadURI
public ExactMatchSession withDataUploadURI(String dataUploadURI)
-
getFields
public com.github.davidmoten.odata.client.CollectionPage<String> getFields()
-
withFields
public ExactMatchSession withFields(List<String> fields)
-
getFields
public com.github.davidmoten.odata.client.CollectionPage<String> getFields(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withFileName
public ExactMatchSession withFileName(String fileName)
-
withRowsPerBlock
public ExactMatchSession withRowsPerBlock(Integer rowsPerBlock)
-
withSalt
public ExactMatchSession withSalt(String salt)
-
withUploadAgentId
public ExactMatchSession withUploadAgentId(String uploadAgentId)
-
withUnmappedField
public ExactMatchSession withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classExactMatchSessionBase
-
getUploadAgent
public ExactMatchUploadAgentRequest getUploadAgent()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classExactMatchSessionBase
-
patch
public ExactMatchSession patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classExactMatchSessionBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ExactMatchSession put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classExactMatchSessionBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
cancel
public com.github.davidmoten.odata.client.ActionRequestNoReturn cancel()
-
renew
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<ExactMatchSession> renew()
-
commit
public com.github.davidmoten.odata.client.ActionRequestNoReturn commit()
-
toString
public String toString()
- Overrides:
toStringin classExactMatchSessionBase
-
-