Class DeviceEnrollmentPlatformRestriction

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class DeviceEnrollmentPlatformRestriction
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Platform specific enrollment restrictions”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • osMaximumVersion

        protected String osMaximumVersion
      • osMinimumVersion

        protected String osMinimumVersion
      • personalDeviceEnrollmentBlocked

        protected Boolean personalDeviceEnrollmentBlocked
      • platformBlocked

        protected Boolean platformBlocked
    • Constructor Detail

      • DeviceEnrollmentPlatformRestriction

        protected DeviceEnrollmentPlatformRestriction()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getOsMaximumVersion

        public Optional<String> getOsMaximumVersion()
        “Max OS version supported”
        Returns:
        property osMaximumVersion
      • withOsMaximumVersion

        public DeviceEnrollmentPlatformRestriction withOsMaximumVersion​(String osMaximumVersion)
        Returns an immutable copy of 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”

        Parameters:
        osMaximumVersion - new value of osMaximumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the osMaximumVersion field changed
      • getOsMinimumVersion

        public Optional<String> getOsMinimumVersion()
        “Min OS version supported”
        Returns:
        property osMinimumVersion
      • withOsMinimumVersion

        public DeviceEnrollmentPlatformRestriction withOsMinimumVersion​(String osMinimumVersion)
        Returns an immutable copy of 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”

        Parameters:
        osMinimumVersion - new value of osMinimumVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the osMinimumVersion field changed
      • getPersonalDeviceEnrollmentBlocked

        public Optional<Boolean> getPersonalDeviceEnrollmentBlocked()
        “Block personally owned devices from enrolling”
        Returns:
        property personalDeviceEnrollmentBlocked
      • withPersonalDeviceEnrollmentBlocked

        public DeviceEnrollmentPlatformRestriction withPersonalDeviceEnrollmentBlocked​(Boolean personalDeviceEnrollmentBlocked)
        Returns an immutable copy of 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”

        Parameters:
        personalDeviceEnrollmentBlocked - new value of personalDeviceEnrollmentBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the personalDeviceEnrollmentBlocked field changed
      • getPlatformBlocked

        public Optional<Boolean> getPlatformBlocked()
        “Block the platform from enrolling”
        Returns:
        property platformBlocked
      • withPlatformBlocked

        public DeviceEnrollmentPlatformRestriction withPlatformBlocked​(Boolean platformBlocked)
        Returns an immutable copy of 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”

        Parameters:
        platformBlocked - new value of platformBlocked field (as defined in service metadata)
        Returns:
        immutable copy of this with just the platformBlocked field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static DeviceEnrollmentPlatformRestriction.Builder builder()
        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