Package odata.msgraph.client.beta.entity
Class SensitiveType
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SensitiveType
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SensitiveType extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSensitiveType.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ClassificationMethodclassificationMethodprotected Stringdescriptionprotected Stringnameprotected StringpublisherNameprotected StringrulePackageIdprotected StringrulePackageTypeprotected SensitiveTypeScopescopeprotected SensitiveTypeSourcesensitiveTypeSourceprotected Stringstate-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSensitiveType()
-
Method Summary
-
-
-
Field Detail
-
classificationMethod
protected ClassificationMethod classificationMethod
-
description
protected String description
-
name
protected String name
-
publisherName
protected String publisherName
-
rulePackageId
protected String rulePackageId
-
rulePackageType
protected String rulePackageType
-
scope
protected SensitiveTypeScope scope
-
sensitiveTypeSource
protected SensitiveTypeSource sensitiveTypeSource
-
state
protected String state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSensitiveType
public static SensitiveType.Builder builderSensitiveType()
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
-
getClassificationMethod
public Optional<ClassificationMethod> getClassificationMethod()
-
withClassificationMethod
public SensitiveType withClassificationMethod(ClassificationMethod classificationMethod)
-
withDescription
public SensitiveType withDescription(String description)
-
withName
public SensitiveType withName(String name)
-
withPublisherName
public SensitiveType withPublisherName(String publisherName)
-
withRulePackageId
public SensitiveType withRulePackageId(String rulePackageId)
-
withRulePackageType
public SensitiveType withRulePackageType(String rulePackageType)
-
getScope
public Optional<SensitiveTypeScope> getScope()
-
withScope
public SensitiveType withScope(SensitiveTypeScope scope)
-
getSensitiveTypeSource
public Optional<SensitiveTypeSource> getSensitiveTypeSource()
-
withSensitiveTypeSource
public SensitiveType withSensitiveTypeSource(SensitiveTypeSource sensitiveTypeSource)
-
withState
public SensitiveType withState(String state)
-
withUnmappedField
public SensitiveType 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 SensitiveType patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SensitiveType put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-