Class AppleDeviceFeaturesConfigurationBase

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    IosDeviceFeaturesConfiguration, MacOSDeviceFeaturesConfiguration

    public class AppleDeviceFeaturesConfigurationBase
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Apple device features configuration profile.”
    • Field Detail

      • airPrintDestinationsNextLink

        protected String airPrintDestinationsNextLink
    • Constructor Detail

      • AppleDeviceFeaturesConfigurationBase

        protected AppleDeviceFeaturesConfigurationBase()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<AirPrintDestination> getAirPrintDestinations()
        “An array of AirPrint printers that should always be shown. This collection can contain a maximum of 500 elements.”
        Returns:
        property airPrintDestinations
      • withAirPrintDestinations

        public AppleDeviceFeaturesConfigurationBase withAirPrintDestinations​(List<AirPrintDestination> airPrintDestinations)
        Returns an immutable copy of this with just the airPrintDestinations 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.

        “An array of AirPrint printers that should always be shown. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AirPrintDestination> getAirPrintDestinations​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “An array of AirPrint printers that should always be shown. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property airPrintDestinations
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public AppleDeviceFeaturesConfigurationBase patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public AppleDeviceFeaturesConfigurationBase put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected