Class IosAvailableUpdateVersion

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

    public class IosAvailableUpdateVersion
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “iOS available update version details”
    • 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
      • productVersion

        protected String productVersion
      • supportedDevices

        protected List<String> supportedDevices
      • supportedDevicesNextLink

        protected String supportedDevicesNextLink
    • Constructor Detail

      • IosAvailableUpdateVersion

        protected IosAvailableUpdateVersion()
    • Method Detail

      • odataTypeName

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

        public Optional<OffsetDateTime> getExpirationDateTime()
        “The expiration date of the update.”
        Returns:
        property expirationDateTime
      • withExpirationDateTime

        public IosAvailableUpdateVersion withExpirationDateTime​(OffsetDateTime expirationDateTime)
        Returns an immutable copy of this with just the expirationDateTime 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 expiration date of the update.”

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

        public Optional<OffsetDateTime> getPostingDateTime()
        “The posting date of the update.”
        Returns:
        property postingDateTime
      • withPostingDateTime

        public IosAvailableUpdateVersion withPostingDateTime​(OffsetDateTime postingDateTime)
        Returns an immutable copy of this with just the postingDateTime 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 posting date of the update.”

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

        public Optional<String> getProductVersion()
        “The version of the update.”
        Returns:
        property productVersion
      • withProductVersion

        public IosAvailableUpdateVersion withProductVersion​(String productVersion)
        Returns an immutable copy of this with just the productVersion 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 version of the update.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices()
        “List of supported devices for the update.”
        Returns:
        property supportedDevices
      • getSupportedDevices

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedDevices​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of supported devices for the update.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property supportedDevices
      • 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 IosAvailableUpdateVersion.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