Class DeviceHealthScriptRunSchedule

    • 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
      • interval

        protected Integer interval
    • Constructor Detail

      • DeviceHealthScriptRunSchedule

        protected DeviceHealthScriptRunSchedule()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getInterval()
        “The x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule . Valid values 1 to 23”
        Returns:
        property interval
      • withInterval

        public DeviceHealthScriptRunSchedule withInterval​(Integer interval)
        Returns an immutable copy of this with just the interval 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 x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule . Valid values 1 to 23”

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