Class DeviceExchangeAccessStateSummary

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

    public class DeviceExchangeAccessStateSummary
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Device Exchange Access State summary”
    • 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
      • allowedDeviceCount

        protected Integer allowedDeviceCount
      • blockedDeviceCount

        protected Integer blockedDeviceCount
      • quarantinedDeviceCount

        protected Integer quarantinedDeviceCount
      • unavailableDeviceCount

        protected Integer unavailableDeviceCount
      • unknownDeviceCount

        protected Integer unknownDeviceCount
    • Constructor Detail

      • DeviceExchangeAccessStateSummary

        protected DeviceExchangeAccessStateSummary()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getAllowedDeviceCount()
        “Total count of devices with Exchange Access State: Allowed.”
        Returns:
        property allowedDeviceCount
      • withAllowedDeviceCount

        public DeviceExchangeAccessStateSummary withAllowedDeviceCount​(Integer allowedDeviceCount)
        Returns an immutable copy of this with just the allowedDeviceCount 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.

        “Total count of devices with Exchange Access State: Allowed.”

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

        public Optional<Integer> getBlockedDeviceCount()
        “Total count of devices with Exchange Access State: Blocked.”
        Returns:
        property blockedDeviceCount
      • withBlockedDeviceCount

        public DeviceExchangeAccessStateSummary withBlockedDeviceCount​(Integer blockedDeviceCount)
        Returns an immutable copy of this with just the blockedDeviceCount 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.

        “Total count of devices with Exchange Access State: Blocked.”

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

        public Optional<Integer> getQuarantinedDeviceCount()
        “Total count of devices with Exchange Access State: Quarantined.”
        Returns:
        property quarantinedDeviceCount
      • withQuarantinedDeviceCount

        public DeviceExchangeAccessStateSummary withQuarantinedDeviceCount​(Integer quarantinedDeviceCount)
        Returns an immutable copy of this with just the quarantinedDeviceCount 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.

        “Total count of devices with Exchange Access State: Quarantined.”

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

        public Optional<Integer> getUnavailableDeviceCount()
        “Total count of devices for which no Exchange Access State could be found.”
        Returns:
        property unavailableDeviceCount
      • withUnavailableDeviceCount

        public DeviceExchangeAccessStateSummary withUnavailableDeviceCount​(Integer unavailableDeviceCount)
        Returns an immutable copy of this with just the unavailableDeviceCount 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.

        “Total count of devices for which no Exchange Access State could be found.”

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

        public Optional<Integer> getUnknownDeviceCount()
        “Total count of devices with Exchange Access State: Unknown.”
        Returns:
        property unknownDeviceCount
      • withUnknownDeviceCount

        public DeviceExchangeAccessStateSummary withUnknownDeviceCount​(Integer unknownDeviceCount)
        Returns an immutable copy of this with just the unknownDeviceCount 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.

        “Total count of devices with Exchange Access State: Unknown.”

        Parameters:
        unknownDeviceCount - new value of unknownDeviceCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the unknownDeviceCount 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 DeviceExchangeAccessStateSummary.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