Class PrivilegedAccessGroupAssignmentScheduleRequest

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

  • Method Details

    • createFromDiscriminatorValue

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

      @Nullable public PrivilegedAccessGroupRelationships getAccessId()
      Gets the accessId property value. The identifier of a membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue.
      Returns:
      a PrivilegedAccessGroupRelationships
    • getActivatedUsing

      @Nullable public PrivilegedAccessGroupEligibilitySchedule getActivatedUsing()
      Gets the activatedUsing property value. When the request activates a membership or ownership assignment in PIM for Groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand.
      Returns:
      a PrivilegedAccessGroupEligibilitySchedule
    • 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 PrivilegedAccessScheduleRequest
      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 assignment request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail.
      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 assignment through PIM for Groups. Required.
      Returns:
      a String
    • getPrincipal

      @Nullable public DirectoryObject getPrincipal()
      Gets the principal property value. References the principal that's in the scope of this membership or ownership assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only.
      Returns:
      a DirectoryObject
    • getPrincipalId

      @Nullable public String getPrincipalId()
      Gets the principalId property value. The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for Groups. Supports $filter (eq, ne).
      Returns:
      a String
    • getTargetSchedule

      @Nullable public PrivilegedAccessGroupEligibilitySchedule getTargetSchedule()
      Gets the targetSchedule property value. Schedule created by this request. Supports $expand.
      Returns:
      a PrivilegedAccessGroupEligibilitySchedule
    • getTargetScheduleId

      @Nullable public String getTargetScheduleId()
      Gets the targetScheduleId property value. The identifier of the schedule that's created from the membership or ownership assignment request. Supports $filter (eq, ne).
      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 PrivilegedAccessScheduleRequest
      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 a membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue.
      Parameters:
      value - Value to set for the accessId property.
    • setActivatedUsing

      public void setActivatedUsing(@Nullable PrivilegedAccessGroupEligibilitySchedule value)
      Sets the activatedUsing property value. When the request activates a membership or ownership assignment in PIM for Groups, this object represents the eligibility policy for the group. Otherwise, it is null. Supports $expand.
      Parameters:
      value - Value to set for the activatedUsing 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 assignment request through PIM for Groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail.
      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 assignment through PIM for Groups. Required.
      Parameters:
      value - Value to set for the groupId 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 assignment request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only.
      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 assignment to the group is managed through PIM for Groups. Supports $filter (eq, ne).
      Parameters:
      value - Value to set for the principalId property.
    • setTargetSchedule

      public void setTargetSchedule(@Nullable PrivilegedAccessGroupEligibilitySchedule value)
      Sets the targetSchedule property value. Schedule created by this request. Supports $expand.
      Parameters:
      value - Value to set for the targetSchedule property.
    • setTargetScheduleId

      public void setTargetScheduleId(@Nullable String value)
      Sets the targetScheduleId property value. The identifier of the schedule that's created from the membership or ownership assignment request. Supports $filter (eq, ne).
      Parameters:
      value - Value to set for the targetScheduleId property.