Class DeviceHealthScriptRemediationHistory

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

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

        protected String historyDataNextLink
    • Constructor Detail

      • DeviceHealthScriptRemediationHistory

        protected DeviceHealthScriptRemediationHistory()
    • Method Detail

      • odataTypeName

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

        public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptRemediationHistoryData> getHistoryData()
        “The number of devices remediated by the device health script on the given date.”
        Returns:
        property historyData
      • getHistoryData

        public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptRemediationHistoryData> getHistoryData​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The number of devices remediated by the device health script on the given date.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property historyData
      • getLastModifiedDateTime

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date on which the results history is calculated for the healthscript.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public DeviceHealthScriptRemediationHistory withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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 the results history is calculated for the healthscript.”

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