public class DeviceEnrollmentPlatformRestriction extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceEnrollmentPlatformRestriction.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
blockedManufacturers |
protected String |
blockedManufacturersNextLink |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected String |
osMaximumVersion |
protected String |
osMinimumVersion |
protected Boolean |
personalDeviceEnrollmentBlocked |
protected Boolean |
platformBlocked |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceEnrollmentPlatformRestriction() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceEnrollmentPlatformRestriction.Builder |
builder()
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<String> |
getBlockedManufacturers()
“Collection of blocked Manufacturers.”
|
Optional<String> |
getOsMaximumVersion()
“Max OS version supported”
|
Optional<String> |
getOsMinimumVersion()
“Min OS version supported”
|
Optional<Boolean> |
getPersonalDeviceEnrollmentBlocked()
“Block personally owned devices from enrolling”
|
Optional<Boolean> |
getPlatformBlocked()
“Block the platform from enrolling”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceEnrollmentPlatformRestriction |
withOsMaximumVersion(String osMaximumVersion)
Returns an immutable copy of
this with just the osMaximumVersion
field changed. |
DeviceEnrollmentPlatformRestriction |
withOsMinimumVersion(String osMinimumVersion)
Returns an immutable copy of
this with just the osMinimumVersion
field changed. |
DeviceEnrollmentPlatformRestriction |
withPersonalDeviceEnrollmentBlocked(Boolean personalDeviceEnrollmentBlocked)
Returns an immutable copy of
this with just the personalDeviceEnrollmentBlocked field changed. |
DeviceEnrollmentPlatformRestriction |
withPlatformBlocked(Boolean platformBlocked)
Returns an immutable copy of
this with just the platformBlocked
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Boolean platformBlocked
protected Boolean personalDeviceEnrollmentBlocked
protected String osMinimumVersion
protected String osMaximumVersion
protected String blockedManufacturersNextLink
protected DeviceEnrollmentPlatformRestriction()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Boolean> getPlatformBlocked()
public DeviceEnrollmentPlatformRestriction withPlatformBlocked(Boolean platformBlocked)
this with just the platformBlocked
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.
“Block the platform from enrolling”
platformBlocked - new value of platformBlocked field (as defined in service metadata)this with just the platformBlocked field changedpublic Optional<Boolean> getPersonalDeviceEnrollmentBlocked()
public DeviceEnrollmentPlatformRestriction withPersonalDeviceEnrollmentBlocked(Boolean personalDeviceEnrollmentBlocked)
this with just the personalDeviceEnrollmentBlocked 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.
“Block personally owned devices from enrolling”
personalDeviceEnrollmentBlocked - new value of personalDeviceEnrollmentBlocked field (as defined in service metadata)this with just the personalDeviceEnrollmentBlocked field changedpublic Optional<String> getOsMinimumVersion()
public DeviceEnrollmentPlatformRestriction withOsMinimumVersion(String osMinimumVersion)
this with just the osMinimumVersion
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.
“Min OS version supported”
osMinimumVersion - new value of osMinimumVersion field (as defined in service metadata)this with just the osMinimumVersion field changedpublic Optional<String> getOsMaximumVersion()
public DeviceEnrollmentPlatformRestriction withOsMaximumVersion(String osMaximumVersion)
this with just the osMaximumVersion
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.
“Max OS version supported”
osMaximumVersion - new value of osMaximumVersion field (as defined in service metadata)this with just the osMaximumVersion field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getBlockedManufacturers()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceEnrollmentPlatformRestriction.Builder builder()
Copyright © 2018–2020. All rights reserved.