Class Win32LobAppMsiInformation

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

    public class Win32LobAppMsiInformation
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Contains MSI app properties for a Win32 App.”
    • 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
      • productCode

        protected String productCode
      • productName

        protected String productName
      • productVersion

        protected String productVersion
      • publisher

        protected String publisher
      • requiresReboot

        protected Boolean requiresReboot
      • upgradeCode

        protected String upgradeCode
    • Constructor Detail

      • Win32LobAppMsiInformation

        protected Win32LobAppMsiInformation()
    • Method Detail

      • odataTypeName

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

        public Win32LobAppMsiInformation withPackageType​(Win32LobAppMsiPackageType packageType)
        Returns an immutable copy of this with just the packageType 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 MSI package type.”

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

        public Optional<String> getProductCode()
        “The MSI product code.”
        Returns:
        property productCode
      • withProductCode

        public Win32LobAppMsiInformation withProductCode​(String productCode)
        Returns an immutable copy of this with just the productCode 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 MSI product code.”

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

        public Optional<String> getProductName()
        “The MSI product name.”
        Returns:
        property productName
      • withProductName

        public Win32LobAppMsiInformation withProductName​(String productName)
        Returns an immutable copy of this with just the productName 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 MSI product name.”

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

        public Optional<String> getProductVersion()
        “The MSI product version.”
        Returns:
        property productVersion
      • withProductVersion

        public Win32LobAppMsiInformation 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 MSI product version.”

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

        public Optional<String> getPublisher()
        “The MSI publisher.”
        Returns:
        property publisher
      • withPublisher

        public Win32LobAppMsiInformation withPublisher​(String publisher)
        Returns an immutable copy of this with just the publisher 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 MSI publisher.”

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

        public Optional<Boolean> getRequiresReboot()
        “Whether the MSI app requires the machine to reboot to complete installation.”
        Returns:
        property requiresReboot
      • withRequiresReboot

        public Win32LobAppMsiInformation withRequiresReboot​(Boolean requiresReboot)
        Returns an immutable copy of this with just the requiresReboot 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 MSI app requires the machine to reboot to complete installation.”

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

        public Optional<String> getUpgradeCode()
        “The MSI upgrade code.”
        Returns:
        property upgradeCode
      • withUpgradeCode

        public Win32LobAppMsiInformation withUpgradeCode​(String upgradeCode)
        Returns an immutable copy of this with just the upgradeCode 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 MSI upgrade code.”

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