Package com.microsoft.graph.models
Class MacOSLobApp
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileApp
com.microsoft.graph.models.MobileLobApp
com.microsoft.graph.models.MacOSLobApp
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MacOSLobApp
extends MobileLobApp
implements com.microsoft.kiota.serialization.Parsable
Contains properties and inherited properties for the macOS LOB App.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MacOSLobAppcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the buildNumber property value.Gets the bundleId property value.Gets the childApps property value.The deserialization information for the current modelGets the ignoreVersionDetection property value.Gets the installAsManaged property value.Gets the md5Hash property value.Gets the md5HashChunkSize property value.Gets the minimumSupportedOperatingSystem property value.Gets the versionNumber property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetBuildNumber(String value) Sets the buildNumber property value.voidsetBundleId(String value) Sets the bundleId property value.voidsetChildApps(List<MacOSLobChildApp> value) Sets the childApps property value.voidsetIgnoreVersionDetection(Boolean value) Sets the ignoreVersionDetection property value.voidsetInstallAsManaged(Boolean value) Sets the installAsManaged property value.voidsetMd5Hash(List<String> value) Sets the md5Hash property value.voidsetMd5HashChunkSize(Integer value) Sets the md5HashChunkSize property value.voidSets the minimumSupportedOperatingSystem property value.voidsetVersionNumber(String value) Sets the versionNumber 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
-
MacOSLobApp
public MacOSLobApp()Instantiates a newMacOSLobAppand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MacOSLobApp 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
MacOSLobApp
-
getBuildNumber
Gets the buildNumber property value. The build number of the package. This should match the package CFBundleShortVersionString of the .pkg file.- Returns:
- a
String
-
getBundleId
Gets the bundleId property value. The primary bundleId of the package.- Returns:
- a
String
-
getChildApps
Gets the childApps property value. List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package.- Returns:
- a
List<MacOSLobChildApp>
-
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>>
-
getIgnoreVersionDetection
Gets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature.- Returns:
- a
Boolean
-
getInstallAsManaged
Gets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged.- Returns:
- a
Boolean
-
getMd5Hash
Gets the md5Hash property value. The MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file. -
getMd5HashChunkSize
Gets the md5HashChunkSize property value. The chunk size for MD5 hash. This is '0' or empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.- Returns:
- a
Integer
-
getMinimumSupportedOperatingSystem
Gets the minimumSupportedOperatingSystem property value. ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.- Returns:
- a
MacOSMinimumOperatingSystem
-
getVersionNumber
Gets the versionNumber property value. The version number of the package. This should match the package CFBundleVersion in the packageinfo file.- 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
-
setBuildNumber
Sets the buildNumber property value. The build number of the package. This should match the package CFBundleShortVersionString of the .pkg file.- Parameters:
value- Value to set for the buildNumber property.
-
setBundleId
Sets the bundleId property value. The primary bundleId of the package.- Parameters:
value- Value to set for the bundleId property.
-
setChildApps
Sets the childApps property value. List of ComplexType macOSLobChildApp objects. Represents the apps expected to be installed by the package.- Parameters:
value- Value to set for the childApps property.
-
setIgnoreVersionDetection
Sets the ignoreVersionDetection property value. When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature.- Parameters:
value- Value to set for the ignoreVersionDetection property.
-
setInstallAsManaged
Sets the installAsManaged property value. When TRUE, indicates that the app will be installed as managed (requires macOS 11.0 and other managed package restrictions). When FALSE, indicates that the app will be installed as unmanaged.- Parameters:
value- Value to set for the installAsManaged property.
-
setMd5Hash
Sets the md5Hash property value. The MD5 hash codes. This is empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.- Parameters:
value- Value to set for the md5Hash property.
-
setMd5HashChunkSize
Sets the md5HashChunkSize property value. The chunk size for MD5 hash. This is '0' or empty if the package was uploaded directly. If the Intune App Wrapping Tool is used to create a .intunemac, this value can be found inside the Detection.xml file.- Parameters:
value- Value to set for the md5HashChunkSize property.
-
setMinimumSupportedOperatingSystem
Sets the minimumSupportedOperatingSystem property value. ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.- Parameters:
value- Value to set for the minimumSupportedOperatingSystem property.
-
setVersionNumber
Sets the versionNumber property value. The version number of the package. This should match the package CFBundleVersion in the packageinfo file.- Parameters:
value- Value to set for the versionNumber property.
-