Package com.microsoft.graph.models
Class Win32LobApp
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileApp
com.microsoft.graph.models.MobileLobApp
com.microsoft.graph.models.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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Win32LobAppcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the allowedArchitectures property value.Gets the applicableArchitectures property value.The deserialization information for the current modelGets the installCommandLine property value.Gets the installExperience property value.Gets the minimumCpuSpeedInMHz property value.Gets the minimumFreeDiskSpaceInMB property value.Gets the minimumMemoryInMB property value.Gets the minimumNumberOfProcessors property value.Gets the minimumSupportedWindowsRelease property value.Gets the msiInformation property value.Gets the returnCodes property value.getRules()Gets the rules property value.Gets the setupFilePath property value.Gets the uninstallCommandLine property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the allowedArchitectures property value.voidSets the applicableArchitectures property value.voidsetInstallCommandLine(String value) Sets the installCommandLine property value.voidSets the installExperience property value.voidsetMinimumCpuSpeedInMHz(Integer value) Sets the minimumCpuSpeedInMHz property value.voidSets the minimumFreeDiskSpaceInMB property value.voidsetMinimumMemoryInMB(Integer value) Sets the minimumMemoryInMB property value.voidSets the minimumNumberOfProcessors property value.voidSets the minimumSupportedWindowsRelease property value.voidSets the msiInformation property value.voidsetReturnCodes(List<Win32LobAppReturnCode> value) Sets the returnCodes property value.voidsetRules(List<Win32LobAppRule> value) Sets the rules property value.voidsetSetupFilePath(String value) Sets the setupFilePath property value.voidsetUninstallCommandLine(String value) Sets the uninstallCommandLine property value.Methods inherited from class com.microsoft.graph.models.MobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, setCommittedContentVersion, setContentVersions, setFileName, setSizeMethods inherited from class com.microsoft.graph.models.MobileApp
getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, setAssignments, setCategories, setCreatedDateTime, setDescription, setDeveloper, setDisplayName, setInformationUrl, setIsFeatured, setLargeIcon, setLastModifiedDateTime, setNotes, setOwner, setPrivacyInformationUrl, setPublisher, setPublishingStateMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Win32LobApp
public Win32LobApp()Instantiates a newWin32LobAppand 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
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classMobileLobApp- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the installExperience property value. Indicates the install experience for this app.- Returns:
- a
Win32LobAppInstallExperience
-
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
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
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
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
Gets the minimumSupportedWindowsRelease property value. Indicates the value for the minimum supported windows release. Example: Windows11_23H2.- Returns:
- a
String
-
getMsiInformation
Gets the msiInformation property value. Indicates the MSI details if this Win32 app is an MSI app.- Returns:
- a
Win32LobAppMsiInformation
-
getReturnCodes
Gets the returnCodes property value. Indicates the return codes for post installation behavior.- Returns:
- a
List<Win32LobAppReturnCode>
-
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
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
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classMobileLobApp- Parameters:
writer- Serialization writer to use to serialize this model
-
setAllowedArchitectures
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
Sets the applicableArchitectures property value. Contains properties for Windows architecture.- Parameters:
value- Value to set for the applicableArchitectures property.
-
setInstallCommandLine
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
Sets the installExperience property value. Indicates the install experience for this app.- Parameters:
value- Value to set for the installExperience property.
-
setMinimumCpuSpeedInMHz
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
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
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
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
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
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
Sets the returnCodes property value. Indicates the return codes for post installation behavior.- Parameters:
value- Value to set for the returnCodes property.
-
setRules
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
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
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.
-