public class DeviceEnrollmentPlatformRestrictionsConfiguration extends DeviceEnrollmentConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceEnrollmentPlatformRestrictionsConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceEnrollmentPlatformRestriction |
androidForWorkRestriction |
protected DeviceEnrollmentPlatformRestriction |
androidRestriction |
protected DeviceEnrollmentPlatformRestriction |
iosRestriction |
protected DeviceEnrollmentPlatformRestriction |
macOSRestriction |
protected DeviceEnrollmentPlatformRestriction |
macRestriction |
protected DeviceEnrollmentPlatformRestriction |
windowsMobileRestriction |
protected DeviceEnrollmentPlatformRestriction |
windowsRestriction |
createdDateTime, description, displayName, lastModifiedDateTime, priority, roleScopeTagIds, roleScopeTagIdsNextLink, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceEnrollmentPlatformRestrictionsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceEnrollmentPlatformRestrictionsConfiguration.Builder |
builderDeviceEnrollmentPlatformRestrictionsConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DeviceEnrollmentPlatformRestriction> |
getAndroidForWorkRestriction()
“Android for work restrictions based on platform, platform operating system
version, and device ownership”
|
Optional<DeviceEnrollmentPlatformRestriction> |
getAndroidRestriction()
“Android restrictions based on platform, platform operating system version, and
device ownership”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<DeviceEnrollmentPlatformRestriction> |
getIosRestriction()
“Ios restrictions based on platform, platform operating system version, and
device ownership”
|
Optional<DeviceEnrollmentPlatformRestriction> |
getMacOSRestriction()
“Mac restrictions based on platform, platform operating system version, and
device ownership”
|
Optional<DeviceEnrollmentPlatformRestriction> |
getMacRestriction()
“Mac restrictions based on platform, platform operating system version, and
device ownership”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<DeviceEnrollmentPlatformRestriction> |
getWindowsMobileRestriction()
“Windows mobile restrictions based on platform, platform operating system version
, and device ownership”
|
Optional<DeviceEnrollmentPlatformRestriction> |
getWindowsRestriction()
“Windows restrictions based on platform, platform operating system version, and
device ownership”
|
String |
odataTypeName() |
DeviceEnrollmentPlatformRestrictionsConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceEnrollmentPlatformRestrictionsConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withAndroidForWorkRestriction(DeviceEnrollmentPlatformRestriction androidForWorkRestriction)
Returns an immutable copy of
this with just the androidForWorkRestriction field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withAndroidRestriction(DeviceEnrollmentPlatformRestriction androidRestriction)
Returns an immutable copy of
this with just the androidRestriction field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withIosRestriction(DeviceEnrollmentPlatformRestriction iosRestriction)
Returns an immutable copy of
this with just the iosRestriction
field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withMacOSRestriction(DeviceEnrollmentPlatformRestriction macOSRestriction)
Returns an immutable copy of
this with just the macOSRestriction
field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withMacRestriction(DeviceEnrollmentPlatformRestriction macRestriction)
Returns an immutable copy of
this with just the macRestriction
field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withWindowsMobileRestriction(DeviceEnrollmentPlatformRestriction windowsMobileRestriction)
Returns an immutable copy of
this with just the windowsMobileRestriction field changed. |
DeviceEnrollmentPlatformRestrictionsConfiguration |
withWindowsRestriction(DeviceEnrollmentPlatformRestriction windowsRestriction)
Returns an immutable copy of
this with just the windowsRestriction field changed. |
assign, getAssignments, getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getPriority, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, setPriority, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withPriority, withVersionprotected DeviceEnrollmentPlatformRestriction iosRestriction
protected DeviceEnrollmentPlatformRestriction windowsRestriction
protected DeviceEnrollmentPlatformRestriction windowsMobileRestriction
protected DeviceEnrollmentPlatformRestriction androidRestriction
protected DeviceEnrollmentPlatformRestriction androidForWorkRestriction
protected DeviceEnrollmentPlatformRestriction macRestriction
protected DeviceEnrollmentPlatformRestriction macOSRestriction
protected DeviceEnrollmentPlatformRestrictionsConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceEnrollmentConfigurationpublic static DeviceEnrollmentPlatformRestrictionsConfiguration.Builder builderDeviceEnrollmentPlatformRestrictionsConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceEnrollmentConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceEnrollmentConfigurationpublic Optional<DeviceEnrollmentPlatformRestriction> getIosRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withIosRestriction(DeviceEnrollmentPlatformRestriction iosRestriction)
this with just the iosRestriction
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.
“Ios restrictions based on platform, platform operating system version, and device ownership”
iosRestriction - new value of iosRestriction field (as defined in service metadata)this with just the iosRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getWindowsRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withWindowsRestriction(DeviceEnrollmentPlatformRestriction windowsRestriction)
this with just the windowsRestriction 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.
“Windows restrictions based on platform, platform operating system version, and device ownership”
windowsRestriction - new value of windowsRestriction field (as defined in service metadata)this with just the windowsRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getWindowsMobileRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withWindowsMobileRestriction(DeviceEnrollmentPlatformRestriction windowsMobileRestriction)
this with just the windowsMobileRestriction 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.
“Windows mobile restrictions based on platform, platform operating system version , and device ownership”
windowsMobileRestriction - new value of windowsMobileRestriction field (as defined in service metadata)this with just the windowsMobileRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getAndroidRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withAndroidRestriction(DeviceEnrollmentPlatformRestriction androidRestriction)
this with just the androidRestriction 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.
“Android restrictions based on platform, platform operating system version, and device ownership”
androidRestriction - new value of androidRestriction field (as defined in service metadata)this with just the androidRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getAndroidForWorkRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withAndroidForWorkRestriction(DeviceEnrollmentPlatformRestriction androidForWorkRestriction)
this with just the androidForWorkRestriction 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.
“Android for work restrictions based on platform, platform operating system version, and device ownership”
androidForWorkRestriction - new value of androidForWorkRestriction field (as defined in service metadata)this with just the androidForWorkRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getMacRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withMacRestriction(DeviceEnrollmentPlatformRestriction macRestriction)
this with just the macRestriction
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.
“Mac restrictions based on platform, platform operating system version, and device ownership”
macRestriction - new value of macRestriction field (as defined in service metadata)this with just the macRestriction field changedpublic Optional<DeviceEnrollmentPlatformRestriction> getMacOSRestriction()
public DeviceEnrollmentPlatformRestrictionsConfiguration withMacOSRestriction(DeviceEnrollmentPlatformRestriction macOSRestriction)
this with just the macOSRestriction
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.
“Mac restrictions based on platform, platform operating system version, and device ownership”
macOSRestriction - new value of macOSRestriction field (as defined in service metadata)this with just the macOSRestriction field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceEnrollmentConfigurationpublic DeviceEnrollmentPlatformRestrictionsConfiguration patch()
this with changed fields reset.patch in class DeviceEnrollmentConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DeviceEnrollmentPlatformRestrictionsConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceEnrollmentConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceEnrollmentConfigurationCopyright © 2018–2020. All rights reserved.