Class MobileAppInstallTimeSettings

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

    public class MobileAppInstallTimeSettings
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties used to determine when to offer an app to devices and when to install the app on devices.”
    • 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
      • useLocalTime

        protected Boolean useLocalTime
    • Constructor Detail

      • MobileAppInstallTimeSettings

        protected MobileAppInstallTimeSettings()
    • Method Detail

      • odataTypeName

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

        public Optional<OffsetDateTime> getDeadlineDateTime()
        “The time at which the app should be installed.”
        Returns:
        property deadlineDateTime
      • withDeadlineDateTime

        public MobileAppInstallTimeSettings withDeadlineDateTime​(OffsetDateTime deadlineDateTime)
        Returns an immutable copy of this with just the deadlineDateTime 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 time at which the app should be installed.”

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

        public Optional<OffsetDateTime> getStartDateTime()
        “The time at which the app should be available for installation.”
        Returns:
        property startDateTime
      • withStartDateTime

        public MobileAppInstallTimeSettings withStartDateTime​(OffsetDateTime startDateTime)
        Returns an immutable copy of this with just the startDateTime 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 time at which the app should be available for installation.”

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

        public Optional<Boolean> getUseLocalTime()
        “Whether the local device time or UTC time should be used when determining the available and deadline times.”
        Returns:
        property useLocalTime
      • withUseLocalTime

        public MobileAppInstallTimeSettings withUseLocalTime​(Boolean useLocalTime)
        Returns an immutable copy of this with just the useLocalTime 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.

        “Whether the local device time or UTC time should be used when determining the available and deadline times.”

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