Class Win32LobApp

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Win32LobApp extends MobileLobApp implements com.microsoft.kiota.serialization.Parsable
Contains properties and inherited properties for Win32 apps.
  • Constructor Details

    • Win32LobApp

      public Win32LobApp()
      Instantiates a new Win32LobApp and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Win32LobApp createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Win32LobApp
    • getAllowedArchitectures

      @Nullable public EnumSet<WindowsArchitecture> getAllowedArchitectures()
      Gets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. Possible values are: null, x86, x64, arm64. Possible values are: none, x86, x64, arm, neutral.
      Returns:
      a EnumSet<WindowsArchitecture>
    • getApplicableArchitectures

      @Nullable public EnumSet<WindowsArchitecture> getApplicableArchitectures()
      Gets the applicableArchitectures property value. Contains properties for Windows architecture.
      Returns:
      a EnumSet<WindowsArchitecture>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class MobileLobApp
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInstallCommandLine

      @Nullable public String getInstallCommandLine()
      Gets the installCommandLine property value. Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn.
      Returns:
      a String
    • getInstallExperience

      @Nullable public Win32LobAppInstallExperience getInstallExperience()
      Gets the installExperience property value. Indicates the install experience for this app.
      Returns:
      a Win32LobAppInstallExperience
    • getMinimumCpuSpeedInMHz

      @Nullable public Integer getMinimumCpuSpeedInMHz()
      Gets the minimumCpuSpeedInMHz property value. Indicates the value for the minimum CPU speed which is required to install this app. Allowed range from 0 to clock speed from WMI helper.
      Returns:
      a Integer
    • getMinimumFreeDiskSpaceInMB

      @Nullable public Integer getMinimumFreeDiskSpaceInMB()
      Gets the minimumFreeDiskSpaceInMB property value. Indicates the value for the minimum free disk space which is required to install this app. Allowed range from 0 to driver's maximum available free space.
      Returns:
      a Integer
    • getMinimumMemoryInMB

      @Nullable public Integer getMinimumMemoryInMB()
      Gets the minimumMemoryInMB property value. Indicates the value for the minimum physical memory which is required to install this app. Allowed range from 0 to total physical memory from WMI helper.
      Returns:
      a Integer
    • getMinimumNumberOfProcessors

      @Nullable public Integer getMinimumNumberOfProcessors()
      Gets the minimumNumberOfProcessors property value. Indicates the value for the minimum number of processors which is required to install this app. Minimum value is 0.
      Returns:
      a Integer
    • getMinimumSupportedWindowsRelease

      @Nullable public String getMinimumSupportedWindowsRelease()
      Gets the minimumSupportedWindowsRelease property value. Indicates the value for the minimum supported windows release. Example: Windows11_23H2.
      Returns:
      a String
    • getMsiInformation

      @Nullable public Win32LobAppMsiInformation getMsiInformation()
      Gets the msiInformation property value. Indicates the MSI details if this Win32 app is an MSI app.
      Returns:
      a Win32LobAppMsiInformation
    • getReturnCodes

      @Nullable public List<Win32LobAppReturnCode> getReturnCodes()
      Gets the returnCodes property value. Indicates the return codes for post installation behavior.
      Returns:
      a List<Win32LobAppReturnCode>
    • getRules

      @Nullable public List<Win32LobAppRule> getRules()
      Gets the rules property value. Indicates the detection and requirement rules for this app. Possible values are: Win32LobAppFileSystemRule, Win32LobAppPowerShellScriptRule, Win32LobAppProductCodeRule, Win32LobAppRegistryRule.
      Returns:
      a List<Win32LobAppRule>
    • getSetupFilePath

      @Nullable public String getSetupFilePath()
      Gets the setupFilePath property value. Indicates the relative path of the setup file in the encrypted Win32LobApp package. Example: Intel-SA-00075 Detection and Mitigation Tool.msi.
      Returns:
      a String
    • getUninstallCommandLine

      @Nullable public String getUninstallCommandLine()
      Gets the uninstallCommandLine property value. Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class MobileLobApp
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAllowedArchitectures

      public void setAllowedArchitectures(@Nullable EnumSet<WindowsArchitecture> value)
      Sets the allowedArchitectures property value. Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. Possible values are: null, x86, x64, arm64. Possible values are: none, x86, x64, arm, neutral.
      Parameters:
      value - Value to set for the allowedArchitectures property.
    • setApplicableArchitectures

      public void setApplicableArchitectures(@Nullable EnumSet<WindowsArchitecture> value)
      Sets the applicableArchitectures property value. Contains properties for Windows architecture.
      Parameters:
      value - Value to set for the applicableArchitectures property.
    • setInstallCommandLine

      public void setInstallCommandLine(@Nullable String value)
      Sets the installCommandLine property value. Indicates the command line to install this app. Used to install the Win32 app. Example: msiexec /i 'Orca.Msi' /qn.
      Parameters:
      value - Value to set for the installCommandLine property.
    • setInstallExperience

      public void setInstallExperience(@Nullable Win32LobAppInstallExperience value)
      Sets the installExperience property value. Indicates the install experience for this app.
      Parameters:
      value - Value to set for the installExperience property.
    • setMinimumCpuSpeedInMHz

      public void setMinimumCpuSpeedInMHz(@Nullable Integer value)
      Sets the minimumCpuSpeedInMHz property value. Indicates the value for the minimum CPU speed which is required to install this app. Allowed range from 0 to clock speed from WMI helper.
      Parameters:
      value - Value to set for the minimumCpuSpeedInMHz property.
    • setMinimumFreeDiskSpaceInMB

      public void setMinimumFreeDiskSpaceInMB(@Nullable Integer value)
      Sets the minimumFreeDiskSpaceInMB property value. Indicates the value for the minimum free disk space which is required to install this app. Allowed range from 0 to driver's maximum available free space.
      Parameters:
      value - Value to set for the minimumFreeDiskSpaceInMB property.
    • setMinimumMemoryInMB

      public void setMinimumMemoryInMB(@Nullable Integer value)
      Sets the minimumMemoryInMB property value. Indicates the value for the minimum physical memory which is required to install this app. Allowed range from 0 to total physical memory from WMI helper.
      Parameters:
      value - Value to set for the minimumMemoryInMB property.
    • setMinimumNumberOfProcessors

      public void setMinimumNumberOfProcessors(@Nullable Integer value)
      Sets the minimumNumberOfProcessors property value. Indicates the value for the minimum number of processors which is required to install this app. Minimum value is 0.
      Parameters:
      value - Value to set for the minimumNumberOfProcessors property.
    • setMinimumSupportedWindowsRelease

      public void setMinimumSupportedWindowsRelease(@Nullable String value)
      Sets the minimumSupportedWindowsRelease property value. Indicates the value for the minimum supported windows release. Example: Windows11_23H2.
      Parameters:
      value - Value to set for the minimumSupportedWindowsRelease property.
    • setMsiInformation

      public void setMsiInformation(@Nullable Win32LobAppMsiInformation value)
      Sets the msiInformation property value. Indicates the MSI details if this Win32 app is an MSI app.
      Parameters:
      value - Value to set for the msiInformation property.
    • setReturnCodes

      public void setReturnCodes(@Nullable List<Win32LobAppReturnCode> value)
      Sets the returnCodes property value. Indicates the return codes for post installation behavior.
      Parameters:
      value - Value to set for the returnCodes property.
    • setRules

      public void setRules(@Nullable List<Win32LobAppRule> value)
      Sets the rules property value. Indicates the detection and requirement rules for this app. Possible values are: Win32LobAppFileSystemRule, Win32LobAppPowerShellScriptRule, Win32LobAppProductCodeRule, Win32LobAppRegistryRule.
      Parameters:
      value - Value to set for the rules property.
    • setSetupFilePath

      public void setSetupFilePath(@Nullable String value)
      Sets the setupFilePath property value. Indicates the relative path of the setup file in the encrypted Win32LobApp package. Example: Intel-SA-00075 Detection and Mitigation Tool.msi.
      Parameters:
      value - Value to set for the setupFilePath property.
    • setUninstallCommandLine

      public void setUninstallCommandLine(@Nullable String value)
      Sets the uninstallCommandLine property value. Indicates the command line to uninstall this app. Used to uninstall the app. Example: msiexec /x '{85F4CBCB-9BBC-4B50-A7D8-E1106771498D}' /qn.
      Parameters:
      value - Value to set for the uninstallCommandLine property.