Class DeviceHealthScriptTimeSchedule

    • Constructor Detail

      • DeviceHealthScriptTimeSchedule

        protected DeviceHealthScriptTimeSchedule()
    • Method Detail

      • getTime

        public Optional<LocalTime> getTime()
        “At what time the script is scheduled to run. This collection can contain a maximum of 20 elements.”
        Returns:
        property time
      • withTime

        public DeviceHealthScriptTimeSchedule withTime​(LocalTime time)
        Returns an immutable copy of this with just the time 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.

        “At what time the script is scheduled to run. This collection can contain a maximum of 20 elements.”

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

        public Optional<Boolean> getUseUtc()
        “Indicate if the time is Utc or client local time.”
        Returns:
        property useUtc
      • withUseUtc

        public DeviceHealthScriptTimeSchedule withUseUtc​(Boolean useUtc)
        Returns an immutable copy of this with just the useUtc 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.

        “Indicate if the time is Utc or client local time.”

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

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

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