Class Win32LobApp

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

    public class Win32LobApp
    extends MobileLobApp
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Contains properties and inherited properties for Win32 apps.”
    • Constructor Detail

      • Win32LobApp

        protected Win32LobApp()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class MobileLobApp
      • builderWin32LobApp

        public static Win32LobApp.Builder builderWin32LobApp()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class MobileLobApp
      • postInject

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

        public Optional<WindowsArchitecture> getApplicableArchitectures()
        “The Windows architecture(s) for which this app can run on.”
        Returns:
        property applicableArchitectures
      • withApplicableArchitectures

        public Win32LobApp withApplicableArchitectures​(WindowsArchitecture applicableArchitectures)
        Returns an immutable copy of this with just the applicableArchitectures 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 Windows architecture(s) for which this app can run on.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppDetection> getDetectionRules()
        “The detection rules to detect Win32 Line of Business (LoB) app.”
        Returns:
        property detectionRules
      • withDetectionRules

        public Win32LobApp withDetectionRules​(List<Win32LobAppDetection> detectionRules)
        Returns an immutable copy of this with just the detectionRules 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 detection rules to detect Win32 Line of Business (LoB) app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppDetection> getDetectionRules​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The detection rules to detect Win32 Line of Business (LoB) app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property detectionRules
      • getDisplayVersion

        public Optional<String> getDisplayVersion()
        “The version displayed in the UX for this app.”
        Returns:
        property displayVersion
      • withDisplayVersion

        public Win32LobApp withDisplayVersion​(String displayVersion)
        Returns an immutable copy of this with just the displayVersion 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 displayed in the UX for this app.”

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

        public Optional<String> getInstallCommandLine()
        “The command line to install this app”
        Returns:
        property installCommandLine
      • withInstallCommandLine

        public Win32LobApp withInstallCommandLine​(String installCommandLine)
        Returns an immutable copy of this with just the installCommandLine 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 command line to install this app”

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

        public Win32LobApp withInstallExperience​(Win32LobAppInstallExperience installExperience)
        Returns an immutable copy of this with just the installExperience 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 install experience for this app.”

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

        public Optional<Integer> getMinimumCpuSpeedInMHz()
        “The value for the minimum CPU speed which is required to install this app.”
        Returns:
        property minimumCpuSpeedInMHz
      • withMinimumCpuSpeedInMHz

        public Win32LobApp withMinimumCpuSpeedInMHz​(Integer minimumCpuSpeedInMHz)
        Returns an immutable copy of this with just the minimumCpuSpeedInMHz 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 value for the minimum CPU speed which is required to install this app.”

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

        public Optional<Integer> getMinimumFreeDiskSpaceInMB()
        “The value for the minimum free disk space which is required to install this app.”
        Returns:
        property minimumFreeDiskSpaceInMB
      • withMinimumFreeDiskSpaceInMB

        public Win32LobApp withMinimumFreeDiskSpaceInMB​(Integer minimumFreeDiskSpaceInMB)
        Returns an immutable copy of this with just the minimumFreeDiskSpaceInMB 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 value for the minimum free disk space which is required to install this app.”

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

        public Optional<Integer> getMinimumMemoryInMB()
        “The value for the minimum physical memory which is required to install this app.”
        Returns:
        property minimumMemoryInMB
      • withMinimumMemoryInMB

        public Win32LobApp withMinimumMemoryInMB​(Integer minimumMemoryInMB)
        Returns an immutable copy of this with just the minimumMemoryInMB 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 value for the minimum physical memory which is required to install this app.”

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

        public Optional<Integer> getMinimumNumberOfProcessors()
        “The value for the minimum number of processors which is required to install this app.”
        Returns:
        property minimumNumberOfProcessors
      • withMinimumNumberOfProcessors

        public Win32LobApp withMinimumNumberOfProcessors​(Integer minimumNumberOfProcessors)
        Returns an immutable copy of this with just the minimumNumberOfProcessors 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 value for the minimum number of processors which is required to install this app.”

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

        public Optional<WindowsMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
        “The value for the minimum applicable operating system.”
        Returns:
        property minimumSupportedOperatingSystem
      • withMinimumSupportedOperatingSystem

        public Win32LobApp withMinimumSupportedOperatingSystem​(WindowsMinimumOperatingSystem minimumSupportedOperatingSystem)
        Returns an immutable copy of this with just the minimumSupportedOperatingSystem 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 value for the minimum applicable operating system.”

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

        public Optional<String> getMinimumSupportedWindowsRelease()
        “The value for the minimum supported windows release.”
        Returns:
        property minimumSupportedWindowsRelease
      • withMinimumSupportedWindowsRelease

        public Win32LobApp withMinimumSupportedWindowsRelease​(String minimumSupportedWindowsRelease)
        Returns an immutable copy of this with just the minimumSupportedWindowsRelease 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 value for the minimum supported windows release.”

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

        public Optional<Win32LobAppMsiInformation> getMsiInformation()
        “The MSI details if this Win32 app is an MSI app.”
        Returns:
        property msiInformation
      • withMsiInformation

        public Win32LobApp withMsiInformation​(Win32LobAppMsiInformation msiInformation)
        Returns an immutable copy of this with just the msiInformation 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 details if this Win32 app is an MSI app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppRequirement> getRequirementRules()
        “The requirement rules to detect Win32 Line of Business (LoB) app.”
        Returns:
        property requirementRules
      • withRequirementRules

        public Win32LobApp withRequirementRules​(List<Win32LobAppRequirement> requirementRules)
        Returns an immutable copy of this with just the requirementRules 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 requirement rules to detect Win32 Line of Business (LoB) app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppRequirement> getRequirementRules​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The requirement rules to detect Win32 Line of Business (LoB) app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property requirementRules
      • getReturnCodes

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppReturnCode> getReturnCodes()
        “The return codes for post installation behavior.”
        Returns:
        property returnCodes
      • withReturnCodes

        public Win32LobApp withReturnCodes​(List<Win32LobAppReturnCode> returnCodes)
        Returns an immutable copy of this with just the returnCodes 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 return codes for post installation behavior.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppReturnCode> getReturnCodes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The return codes for post installation behavior.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property returnCodes
      • getRules

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppRule> getRules()
        “The detection and requirement rules for this app.”
        Returns:
        property rules
      • withRules

        public Win32LobApp withRules​(List<Win32LobAppRule> rules)
        Returns an immutable copy of this with just the rules 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 detection and requirement rules for this app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Win32LobAppRule> getRules​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The detection and requirement rules for this app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property rules
      • getSetupFilePath

        public Optional<String> getSetupFilePath()
        “The relative path of the setup file in the encrypted Win32LobApp package.”
        Returns:
        property setupFilePath
      • withSetupFilePath

        public Win32LobApp withSetupFilePath​(String setupFilePath)
        Returns an immutable copy of this with just the setupFilePath 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 relative path of the setup file in the encrypted Win32LobApp package.”

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

        public Optional<String> getUninstallCommandLine()
        “The command line to uninstall this app”
        Returns:
        property uninstallCommandLine
      • withUninstallCommandLine

        public Win32LobApp withUninstallCommandLine​(String uninstallCommandLine)
        Returns an immutable copy of this with just the uninstallCommandLine 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 command line to uninstall this app”

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

        public Win32LobApp patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class MobileLobApp
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Win32LobApp put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class MobileLobApp
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected