Class PrivilegedAccessGroupEligibilitySchedule

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static PrivilegedAccessGroupEligibilitySchedule 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 PrivilegedAccessGroupEligibilitySchedule
    • getAccessId

      @Nullable public PrivilegedAccessGroupRelationships getAccessId()
      Gets the accessId property value. The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. Supports $filter (eq).
      Returns:
      a PrivilegedAccessGroupRelationships
    • 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 PrivilegedAccessSchedule
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroup

      @Nullable public Group getGroup()
      Gets the group property value. References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand.
      Returns:
      a Group
    • getGroupId

      @Nullable public String getGroupId()
      Gets the groupId property value. The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq).
      Returns:
      a String
    • getMemberType

      @Nullable public PrivilegedAccessGroupMemberType getMemberType()
      Gets the memberType property value. Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).
      Returns:
      a PrivilegedAccessGroupMemberType
    • getPrincipal

      @Nullable public DirectoryObject getPrincipal()
      Gets the principal property value. References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand.
      Returns:
      a DirectoryObject
    • getPrincipalId

      @Nullable public String getPrincipalId()
      Gets the principalId property value. The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq).
      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 PrivilegedAccessSchedule
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAccessId

      public void setAccessId(@Nullable PrivilegedAccessGroupRelationships value)
      Sets the accessId property value. The identifier of the membership or ownership eligibility to the group that is governed by PIM. Required. The possible values are: owner, member. Supports $filter (eq).
      Parameters:
      value - Value to set for the accessId property.
    • setGroup

      public void setGroup(@Nullable Group value)
      Sets the group property value. References the group that is the scope of the membership or ownership eligibility through PIM for groups. Supports $expand.
      Parameters:
      value - Value to set for the group property.
    • setGroupId

      public void setGroupId(@Nullable String value)
      Sets the groupId property value. The identifier of the group representing the scope of the membership or ownership eligibility through PIM for groups. Required. Supports $filter (eq).
      Parameters:
      value - Value to set for the groupId property.
    • setMemberType

      public void setMemberType(@Nullable PrivilegedAccessGroupMemberType value)
      Sets the memberType property value. Indicates whether the assignment is derived from a group assignment. It can further imply whether the caller can manage the schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).
      Parameters:
      value - Value to set for the memberType property.
    • setPrincipal

      public void setPrincipal(@Nullable DirectoryObject value)
      Sets the principal property value. References the principal that's in the scope of this membership or ownership eligibility request to the group that's governed by PIM. Supports $expand.
      Parameters:
      value - Value to set for the principal property.
    • setPrincipalId

      public void setPrincipalId(@Nullable String value)
      Sets the principalId property value. The identifier of the principal whose membership or ownership eligibility is granted through PIM for groups. Required. Supports $filter (eq).
      Parameters:
      value - Value to set for the principalId property.