Class AccessPackageSuggestionRelatedPeopleBased

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

@Generated("com.microsoft.kiota") public class AccessPackageSuggestionRelatedPeopleBased extends AccessPackageSuggestionReason implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AccessPackageSuggestionRelatedPeopleBased 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 AccessPackageSuggestionRelatedPeopleBased
    • 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 AccessPackageSuggestionReason
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getRelatedPeople

      @Nullable public List<Identity> getRelatedPeople()
      Gets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information.
      Returns:
      a List<Identity>
    • getRelatedPeopleAssignmentCount

      @Nullable public Integer getRelatedPeopleAssignmentCount()
      Gets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting.
      Returns:
      a Integer
    • 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 AccessPackageSuggestionReason
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setRelatedPeople

      public void setRelatedPeople(@Nullable List<Identity> value)
      Sets the relatedPeople property value. A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information.
      Parameters:
      value - Value to set for the relatedPeople property.
    • setRelatedPeopleAssignmentCount

      public void setRelatedPeopleAssignmentCount(@Nullable Integer value)
      Sets the relatedPeopleAssignmentCount property value. The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting.
      Parameters:
      value - Value to set for the relatedPeopleAssignmentCount property.