Class MobileApp

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileApp
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
AndroidStoreApp, IosiPadOSWebClip, IosStoreApp, IosVppApp, MacOSMicrosoftDefenderApp, MacOSMicrosoftEdgeApp, MacOSOfficeSuiteApp, ManagedApp, MicrosoftStoreForBusinessApp, MobileLobApp, WebApp, WindowsMicrosoftEdgeApp, WindowsWebApp

@Generated("com.microsoft.kiota") public class MobileApp extends Entity implements com.microsoft.kiota.serialization.Parsable
An abstract class containing the base properties for Intune mobile apps. Note: Listing mobile apps with `$expand=assignments` has been deprecated. Instead get the list of apps without the `$expand` query on `assignments`. Then, perform the expansion on individual applications.
  • Constructor Details

    • MobileApp

      public MobileApp()
      Instantiates a new MobileApp and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static MobileApp 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 MobileApp
    • getAssignments

      @Nullable public List<MobileAppAssignment> getAssignments()
      Gets the assignments property value. The list of group assignments for this mobile app.
      Returns:
      a List<MobileAppAssignment>
    • getCategories

      @Nullable public List<MobileAppCategory> getCategories()
      Gets the categories property value. The list of categories for this app.
      Returns:
      a List<MobileAppCategory>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time the app was created.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description of the app.
      Returns:
      a String
    • getDeveloper

      @Nullable public String getDeveloper()
      Gets the developer property value. The developer of the app.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The admin provided or imported title of the app.
      Returns:
      a String
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInformationUrl

      @Nullable public String getInformationUrl()
      Gets the informationUrl property value. The more information Url.
      Returns:
      a String
    • getIsFeatured

      @Nullable public Boolean getIsFeatured()
      Gets the isFeatured property value. The value indicating whether the app is marked as featured by the admin.
      Returns:
      a Boolean
    • getLargeIcon

      @Nullable public MimeContent getLargeIcon()
      Gets the largeIcon property value. The large icon, to be displayed in the app details and used for upload of the icon.
      Returns:
      a MimeContent
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time the app was last modified.
      Returns:
      a OffsetDateTime
    • getNotes

      @Nullable public String getNotes()
      Gets the notes property value. Notes for the app.
      Returns:
      a String
    • getOwner

      @Nullable public String getOwner()
      Gets the owner property value. The owner of the app.
      Returns:
      a String
    • getPrivacyInformationUrl

      @Nullable public String getPrivacyInformationUrl()
      Gets the privacyInformationUrl property value. The privacy statement Url.
      Returns:
      a String
    • getPublisher

      @Nullable public String getPublisher()
      Gets the publisher property value. The publisher of the app.
      Returns:
      a String
    • getPublishingState

      @Nullable public MobileAppPublishingState getPublishingState()
      Gets the publishingState property value. Indicates the publishing state of an app.
      Returns:
      a MobileAppPublishingState
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignments

      public void setAssignments(@Nullable List<MobileAppAssignment> value)
      Sets the assignments property value. The list of group assignments for this mobile app.
      Parameters:
      value - Value to set for the assignments property.
    • setCategories

      public void setCategories(@Nullable List<MobileAppCategory> value)
      Sets the categories property value. The list of categories for this app.
      Parameters:
      value - Value to set for the categories property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time the app was created.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description of the app.
      Parameters:
      value - Value to set for the description property.
    • setDeveloper

      public void setDeveloper(@Nullable String value)
      Sets the developer property value. The developer of the app.
      Parameters:
      value - Value to set for the developer property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The admin provided or imported title of the app.
      Parameters:
      value - Value to set for the displayName property.
    • setInformationUrl

      public void setInformationUrl(@Nullable String value)
      Sets the informationUrl property value. The more information Url.
      Parameters:
      value - Value to set for the informationUrl property.
    • setIsFeatured

      public void setIsFeatured(@Nullable Boolean value)
      Sets the isFeatured property value. The value indicating whether the app is marked as featured by the admin.
      Parameters:
      value - Value to set for the isFeatured property.
    • setLargeIcon

      public void setLargeIcon(@Nullable MimeContent value)
      Sets the largeIcon property value. The large icon, to be displayed in the app details and used for upload of the icon.
      Parameters:
      value - Value to set for the largeIcon property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time the app was last modified.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setNotes

      public void setNotes(@Nullable String value)
      Sets the notes property value. Notes for the app.
      Parameters:
      value - Value to set for the notes property.
    • setOwner

      public void setOwner(@Nullable String value)
      Sets the owner property value. The owner of the app.
      Parameters:
      value - Value to set for the owner property.
    • setPrivacyInformationUrl

      public void setPrivacyInformationUrl(@Nullable String value)
      Sets the privacyInformationUrl property value. The privacy statement Url.
      Parameters:
      value - Value to set for the privacyInformationUrl property.
    • setPublisher

      public void setPublisher(@Nullable String value)
      Sets the publisher property value. The publisher of the app.
      Parameters:
      value - Value to set for the publisher property.
    • setPublishingState

      public void setPublishingState(@Nullable MobileAppPublishingState value)
      Sets the publishingState property value. Indicates the publishing state of an app.
      Parameters:
      value - Value to set for the publishingState property.