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

    • MacOSLobApp

      public MacOSLobApp()
      Instantiates a new MacOSLobApp and 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

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

      @Nullable public String getBundleId()
      Gets the bundleId property value. The primary bundleId of the package.
      Returns:
      a String
    • getChildApps

      @Nullable public List<MacOSLobChildApp> 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:
      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
    • getInstallAsManaged

      @Nullable public 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. The default value is FALSE.
      Returns:
      a Boolean
    • getMd5Hash

      @Nullable public List<String> 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.
      Returns:
      a List<String>
    • getMd5HashChunkSize

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

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

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

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

      public void setBundleId(@Nullable String value)
      Sets the bundleId property value. The primary bundleId of the package.
      Parameters:
      value - Value to set for the bundleId property.
    • setChildApps

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

      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.
    • setInstallAsManaged

      public void setInstallAsManaged(@Nullable Boolean value)
      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. The default value is FALSE.
      Parameters:
      value - Value to set for the installAsManaged property.
    • setMd5Hash

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

      public void setMd5HashChunkSize(@Nullable Integer value)
      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

      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.
    • setVersionNumber

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