Class MobileAppRelationship

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MobileAppRelationship
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class MobileAppRelationship extends Entity implements com.microsoft.kiota.serialization.Parsable
The MobileAppRelationship describes the relationship between two mobile applications by providing information that tells if an application is dependent on or superseded by another application.
  • Constructor Details

    • MobileAppRelationship

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

    • createFromDiscriminatorValue

      @Nonnull public static MobileAppRelationship 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 MobileAppRelationship
    • 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>>
    • getSourceDisplayName

      @Nullable public String getSourceDisplayName()
      Gets the sourceDisplayName property value. The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getSourceDisplayVersion

      @Nullable public String getSourceDisplayVersion()
      Gets the sourceDisplayVersion property value. The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getSourceId

      @Nullable public String getSourceId()
      Gets the sourceId property value. The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getSourcePublisherDisplayName

      @Nullable public String getSourcePublisherDisplayName()
      Gets the sourcePublisherDisplayName property value. The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getTargetDisplayName

      @Nullable public String getTargetDisplayName()
      Gets the targetDisplayName property value. The display name of the app that is the target of the mobile app relationship entity. For example: Firefox Setup 52.0.2 32bit.intunewin. Maximum length is 500 characters. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getTargetDisplayVersion

      @Nullable public String getTargetDisplayVersion()
      Gets the targetDisplayVersion property value. The display version of the app that is the target of the mobile app relationship entity. For example 1.0 or 1.2203.156. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Returns:
      a String
    • getTargetId

      @Nullable public String getTargetId()
      Gets the targetId property value. The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy.
      Returns:
      a String
    • getTargetPublisherDisplayName

      @Nullable public String getTargetPublisherDisplayName()
      Gets the targetPublisherDisplayName property value. The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setSourceDisplayName

      public void setSourceDisplayName(@Nullable String value)
      Sets the sourceDisplayName property value. The display name of the app that is the source of the mobile app relationship entity. For example: Orca. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the sourceDisplayName property.
    • setSourceDisplayVersion

      public void setSourceDisplayVersion(@Nullable String value)
      Sets the sourceDisplayVersion property value. The display version of the app that is the source of the mobile app relationship entity. For example 1.0.12 or 1.2203.156 or 3. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the sourceDisplayVersion property.
    • setSourceId

      public void setSourceId(@Nullable String value)
      Sets the sourceId property value. The unique app identifier of the source of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. If null during relationship creation, then it will be populated with parent Id. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the sourceId property.
    • setSourcePublisherDisplayName

      public void setSourcePublisherDisplayName(@Nullable String value)
      Sets the sourcePublisherDisplayName property value. The publisher display name of the app that is the source of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the sourcePublisherDisplayName property.
    • setTargetDisplayName

      public void setTargetDisplayName(@Nullable String value)
      Sets the targetDisplayName property value. The display name of the app that is the target of the mobile app relationship entity. For example: Firefox Setup 52.0.2 32bit.intunewin. Maximum length is 500 characters. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the targetDisplayName property.
    • setTargetDisplayVersion

      public void setTargetDisplayVersion(@Nullable String value)
      Sets the targetDisplayVersion property value. The display version of the app that is the target of the mobile app relationship entity. For example 1.0 or 1.2203.156. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the targetDisplayVersion property.
    • setTargetId

      public void setTargetId(@Nullable String value)
      Sets the targetId property value. The unique app identifier of the target of the mobile app relationship entity. For example: 2dbc75b9-e993-4e4d-a071-91ac5a218672. Read-Only. Returned by default. Supports: $select. Does not support $search, $filter, $orderBy.
      Parameters:
      value - Value to set for the targetId property.
    • setTargetPublisherDisplayName

      public void setTargetPublisherDisplayName(@Nullable String value)
      Sets the targetPublisherDisplayName property value. The publisher display name of the app that is the target of the mobile app relationship entity. For example: Fabrikam. Maximum length is 500 characters. Read-Only. Supports: $select. Does not support $search, $filter, $orderBy. This property is read-only.
      Parameters:
      value - Value to set for the targetPublisherDisplayName property.