Package odata.msgraph.client.beta.entity
Class TextClassificationRequest
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.TextClassificationRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TextClassificationRequest extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextClassificationRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringfileExtensionprotected MlClassificationMatchTolerancematchTolerancesToIncludeprotected SensitiveTypeScopescopesToRunprotected List<String>sensitiveTypeIdsprotected StringsensitiveTypeIdsNextLinkprotected Stringtext-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextClassificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextClassificationRequest.BuilderbuilderTextClassificationRequest()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.internal.ChangedFieldsgetChangedFields()Optional<String>getFileExtension()Optional<MlClassificationMatchTolerance>getMatchTolerancesToInclude()Optional<SensitiveTypeScope>getScopesToRun()com.github.davidmoten.odata.client.CollectionPage<String>getSensitiveTypeIds()com.github.davidmoten.odata.client.CollectionPage<String>getSensitiveTypeIds(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getText()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()TextClassificationRequestpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)TextClassificationRequestput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()TextClassificationRequestwithFileExtension(String fileExtension)TextClassificationRequestwithMatchTolerancesToInclude(MlClassificationMatchTolerance matchTolerancesToInclude)TextClassificationRequestwithScopesToRun(SensitiveTypeScope scopesToRun)TextClassificationRequestwithSensitiveTypeIds(List<String> sensitiveTypeIds)TextClassificationRequestwithText(String text)TextClassificationRequestwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
fileExtension
protected String fileExtension
-
matchTolerancesToInclude
protected MlClassificationMatchTolerance matchTolerancesToInclude
-
scopesToRun
protected SensitiveTypeScope scopesToRun
-
sensitiveTypeIdsNextLink
protected String sensitiveTypeIdsNextLink
-
text
protected String text
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTextClassificationRequest
public static TextClassificationRequest.Builder builderTextClassificationRequest()
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
-
withFileExtension
public TextClassificationRequest withFileExtension(String fileExtension)
-
getMatchTolerancesToInclude
public Optional<MlClassificationMatchTolerance> getMatchTolerancesToInclude()
-
withMatchTolerancesToInclude
public TextClassificationRequest withMatchTolerancesToInclude(MlClassificationMatchTolerance matchTolerancesToInclude)
-
getScopesToRun
public Optional<SensitiveTypeScope> getScopesToRun()
-
withScopesToRun
public TextClassificationRequest withScopesToRun(SensitiveTypeScope scopesToRun)
-
getSensitiveTypeIds
public com.github.davidmoten.odata.client.CollectionPage<String> getSensitiveTypeIds()
-
withSensitiveTypeIds
public TextClassificationRequest withSensitiveTypeIds(List<String> sensitiveTypeIds)
-
getSensitiveTypeIds
public com.github.davidmoten.odata.client.CollectionPage<String> getSensitiveTypeIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withText
public TextClassificationRequest withText(String text)
-
withUnmappedField
public TextClassificationRequest withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TextClassificationRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TextClassificationRequest put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-