Package com.microsoft.graph.models
Class MacOSDmgApp
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileApp
com.microsoft.graph.models.MobileLobApp
com.microsoft.graph.models.MacOSDmgApp
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MacOSDmgApp
extends MobileLobApp
implements com.microsoft.kiota.serialization.Parsable
Contains properties and inherited properties for the MacOS DMG (Apple Disk Image) App.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MacOSDmgAppcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the ignoreVersionDetection property value.Gets the includedApps property value.Gets the minimumSupportedOperatingSystem property value.Gets the primaryBundleId property value.Gets the primaryBundleVersion property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetIgnoreVersionDetection(Boolean value) Sets the ignoreVersionDetection property value.voidsetIncludedApps(List<MacOSIncludedApp> value) Sets the includedApps property value.voidSets the minimumSupportedOperatingSystem property value.voidsetPrimaryBundleId(String value) Sets the primaryBundleId property value.voidsetPrimaryBundleVersion(String value) Sets the primaryBundleVersion 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
-
MacOSDmgApp
public MacOSDmgApp()Instantiates a newMacOSDmgAppand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MacOSDmgApp 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
MacOSDmgApp
-
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. The default value is FALSE.- Returns:
- a
Boolean
-
getIncludedApps
Gets the includedApps property value. The list of .apps expected to be installed by the DMG (Apple Disk Image). This collection can contain a maximum of 500 elements.- Returns:
- a
List<MacOSIncludedApp>
-
getMinimumSupportedOperatingSystem
Gets the minimumSupportedOperatingSystem property value. ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.- Returns:
- a
MacOSMinimumOperatingSystem
-
getPrimaryBundleId
Gets the primaryBundleId property value. The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.- Returns:
- a
String
-
getPrimaryBundleVersion
Gets the primaryBundleVersion property value. The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.- 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
-
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. The default value is FALSE.- Parameters:
value- Value to set for the ignoreVersionDetection property.
-
setIncludedApps
Sets the includedApps property value. The list of .apps expected to be installed by the DMG (Apple Disk Image). This collection can contain a maximum of 500 elements.- Parameters:
value- Value to set for the includedApps 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.
-
setPrimaryBundleId
Sets the primaryBundleId property value. The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration.- Parameters:
value- Value to set for the primaryBundleId property.
-
setPrimaryBundleVersion
Sets the primaryBundleVersion property value. The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration.- Parameters:
value- Value to set for the primaryBundleVersion property.
-