Class DeviceHealthScriptRemediationHistoryData

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

    public class DeviceHealthScriptRemediationHistoryData
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “The number of devices remediated by a device health script on a given date.”
    • 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
      • noIssueDeviceCount

        protected Integer noIssueDeviceCount
      • remediatedDeviceCount

        protected Integer remediatedDeviceCount
    • Constructor Detail

      • DeviceHealthScriptRemediationHistoryData

        protected DeviceHealthScriptRemediationHistoryData()
    • Method Detail

      • odataTypeName

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

        public Optional<LocalDate> getDate()
        “The date on which devices were remediated by the device health script.”
        Returns:
        property date
      • withDate

        public DeviceHealthScriptRemediationHistoryData withDate​(LocalDate date)
        Returns an immutable copy of this with just the date 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.

        “The date on which devices were remediated by the device health script.”

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

        public Optional<Integer> getNoIssueDeviceCount()
        “The number of devices that were found to have no issue by the device health script.”
        Returns:
        property noIssueDeviceCount
      • withNoIssueDeviceCount

        public DeviceHealthScriptRemediationHistoryData withNoIssueDeviceCount​(Integer noIssueDeviceCount)
        Returns an immutable copy of this with just the noIssueDeviceCount 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.

        “The number of devices that were found to have no issue by the device health script.”

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

        public Optional<Integer> getRemediatedDeviceCount()
        “The number of devices remediated by the device health script.”
        Returns:
        property remediatedDeviceCount
      • withRemediatedDeviceCount

        public DeviceHealthScriptRemediationHistoryData withRemediatedDeviceCount​(Integer remediatedDeviceCount)
        Returns an immutable copy of this with just the remediatedDeviceCount 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.

        “The number of devices remediated by the device health script.”

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