public class DeviceManagementExchangeOnPremisesPolicy extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementExchangeOnPremisesPolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<DeviceManagementExchangeAccessRule> |
accessRules |
protected String |
accessRulesNextLink |
protected DeviceManagementExchangeAccessLevel |
defaultAccessLevel |
protected List<DeviceManagementExchangeDeviceClass> |
knownDeviceClasses |
protected String |
knownDeviceClassesNextLink |
protected byte[] |
notificationContent |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementExchangeOnPremisesPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementExchangeOnPremisesPolicy.Builder |
builderDeviceManagementExchangeOnPremisesPolicy()
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.CollectionPage<DeviceManagementExchangeAccessRule> |
getAccessRules()
“The list of device access rules in Exchange.
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
OnPremisesConditionalAccessSettingsRequest |
getConditionalAccessSettings()
“The Exchange on premises conditional access settings.
|
Optional<DeviceManagementExchangeAccessLevel> |
getDefaultAccessLevel()
“Default access state in Exchange.
|
com.github.davidmoten.odata.client.CollectionPage<DeviceManagementExchangeDeviceClass> |
getKnownDeviceClasses()
“The list of device classes known to Exchange”
|
Optional<byte[]> |
getNotificationContent()
“Notification text that will be sent to users quarantined by this policy.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementExchangeOnPremisesPolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementExchangeOnPremisesPolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementExchangeOnPremisesPolicy |
withDefaultAccessLevel(DeviceManagementExchangeAccessLevel defaultAccessLevel)
Returns an immutable copy of
this with just the defaultAccessLevel field changed. |
DeviceManagementExchangeOnPremisesPolicy |
withNotificationContent(byte[] notificationContent)
Returns an immutable copy of
this with just the notificationContent field changed. |
protected byte[] notificationContent
protected DeviceManagementExchangeAccessLevel defaultAccessLevel
protected List<DeviceManagementExchangeAccessRule> accessRules
protected String accessRulesNextLink
protected List<DeviceManagementExchangeDeviceClass> knownDeviceClasses
protected String knownDeviceClassesNextLink
protected DeviceManagementExchangeOnPremisesPolicy()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementExchangeOnPremisesPolicy.Builder builderDeviceManagementExchangeOnPremisesPolicy()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<byte[]> getNotificationContent()
public DeviceManagementExchangeOnPremisesPolicy withNotificationContent(byte[] notificationContent)
this with just the notificationContent field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML.”
notificationContent - new value of notificationContent field (as defined in service metadata)this with just the notificationContent field changedpublic Optional<DeviceManagementExchangeAccessLevel> getDefaultAccessLevel()
public DeviceManagementExchangeOnPremisesPolicy withDefaultAccessLevel(DeviceManagementExchangeAccessLevel defaultAccessLevel)
this with just the defaultAccessLevel field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Default access state in Exchange. This rule applies globally to the entire Exchange organization”
defaultAccessLevel - new value of defaultAccessLevel field (as defined in service metadata)this with just the defaultAccessLevel field changedpublic com.github.davidmoten.odata.client.CollectionPage<DeviceManagementExchangeAccessRule> getAccessRules()
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementExchangeDeviceClass> getKnownDeviceClasses()
public OnPremisesConditionalAccessSettingsRequest getConditionalAccessSettings()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementExchangeOnPremisesPolicy patch()
this with changed fields reset.public DeviceManagementExchangeOnPremisesPolicy put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.