Class 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.
  • Constructor Details

    • MacOSDmgApp

      public MacOSDmgApp()
      Instantiates a new MacOSDmgApp and 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class MobileLobApp
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIgnoreVersionDetection

      @Nullable public Boolean 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

      @Nullable public List<MacOSIncludedApp> 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

      @Nullable public MacOSMinimumOperatingSystem getMinimumSupportedOperatingSystem()
      Gets the minimumSupportedOperatingSystem property value. ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application.
      Returns:
      a MacOSMinimumOperatingSystem
    • getPrimaryBundleId

      @Nullable public String 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

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class MobileLobApp
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIgnoreVersionDetection

      public void setIgnoreVersionDetection(@Nullable Boolean value)
      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

      public void setIncludedApps(@Nullable List<MacOSIncludedApp> value)
      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

      public void setMinimumSupportedOperatingSystem(@Nullable MacOSMinimumOperatingSystem value)
      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

      public void setPrimaryBundleId(@Nullable String value)
      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

      public void setPrimaryBundleVersion(@Nullable String value)
      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.