Class EncryptWithUserDefinedRights
- java.lang.Object
-
- odata.msgraph.client.beta.complex.LabelActionBase
-
- odata.msgraph.client.beta.complex.EncryptContent
-
- odata.msgraph.client.beta.complex.EncryptWithUserDefinedRights
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class EncryptWithUserDefinedRights extends EncryptContent implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncryptWithUserDefinedRights.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowAdHocPermissionsprotected BooleanallowMailForwardingprotected StringdecryptionRightsManagementTemplateId-
Fields inherited from class odata.msgraph.client.beta.complex.EncryptContent
encryptWith
-
Fields inherited from class odata.msgraph.client.beta.complex.LabelActionBase
contextPath, name, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptWithUserDefinedRights()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptWithUserDefinedRights.BuilderbuilderEncryptWithUserDefinedRights()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowAdHocPermissions()Optional<Boolean>getAllowMailForwarding()Optional<String>getDecryptionRightsManagementTemplateId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()EncryptWithUserDefinedRightswithAllowAdHocPermissions(Boolean allowAdHocPermissions)EncryptWithUserDefinedRightswithAllowMailForwarding(Boolean allowMailForwarding)EncryptWithUserDefinedRightswithDecryptionRightsManagementTemplateId(String decryptionRightsManagementTemplateId)EncryptWithUserDefinedRightswithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.EncryptContent
getEncryptWith, withEncryptWith
-
Methods inherited from class odata.msgraph.client.beta.complex.LabelActionBase
getName, withName
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEncryptContent
-
withAllowAdHocPermissions
public EncryptWithUserDefinedRights withAllowAdHocPermissions(Boolean allowAdHocPermissions)
-
withAllowMailForwarding
public EncryptWithUserDefinedRights withAllowMailForwarding(Boolean allowMailForwarding)
-
getDecryptionRightsManagementTemplateId
public Optional<String> getDecryptionRightsManagementTemplateId()
-
withDecryptionRightsManagementTemplateId
public EncryptWithUserDefinedRights withDecryptionRightsManagementTemplateId(String decryptionRightsManagementTemplateId)
-
withUnmappedField
public EncryptWithUserDefinedRights withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEncryptContent
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEncryptContent
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEncryptContent
-
builderEncryptWithUserDefinedRights
public static EncryptWithUserDefinedRights.Builder builderEncryptWithUserDefinedRights()
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
-
toString
public String toString()
- Overrides:
toStringin classEncryptContent
-
-