Package com.microsoft.graph.models
Class PrivilegedAccessGroupEligibilityScheduleRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Request
com.microsoft.graph.models.PrivilegedAccessScheduleRequest
com.microsoft.graph.models.PrivilegedAccessGroupEligibilityScheduleRequest
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PrivilegedAccessGroupEligibilityScheduleRequest
extends PrivilegedAccessScheduleRequest
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newPrivilegedAccessGroupEligibilityScheduleRequest
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the accessId property value.The deserialization information for the current modelgetGroup()
Gets the group property value.Gets the groupId property value.Gets the principal property value.Gets the principalId property value.Gets the targetSchedule property value.Gets the targetScheduleId property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the accessId property value.void
Sets the group property value.void
setGroupId
(String value) Sets the groupId property value.void
setPrincipal
(DirectoryObject value) Sets the principal property value.void
setPrincipalId
(String value) Sets the principalId property value.void
Sets the targetSchedule property value.void
setTargetScheduleId
(String value) Sets the targetScheduleId property value.Methods inherited from class com.microsoft.graph.models.PrivilegedAccessScheduleRequest
getAction, getIsValidationOnly, getJustification, getScheduleInfo, getTicketInfo, setAction, setIsValidationOnly, setJustification, setScheduleInfo, setTicketInfo
Methods inherited from class com.microsoft.graph.models.Request
getApprovalId, getCompletedDateTime, getCreatedBy, getCreatedDateTime, getCustomData, getStatus, setApprovalId, setCompletedDateTime, setCreatedBy, setCreatedDateTime, setCustomData, setStatus
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PrivilegedAccessGroupEligibilityScheduleRequest
public PrivilegedAccessGroupEligibilityScheduleRequest()Instantiates a newPrivilegedAccessGroupEligibilityScheduleRequest
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrivilegedAccessGroupEligibilityScheduleRequest 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
PrivilegedAccessGroupEligibilityScheduleRequest
-
getAccessId
Gets the accessId property value. The identifier of membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member, unknownFutureValue.- 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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classPrivilegedAccessScheduleRequest
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroup
Gets the group property value. References the group that is the scope of the membership or ownership eligibility request through PIM for groups. Supports $expand and $select nested in $expand for select properties like id, displayName, and mail.- Returns:
- a
Group
-
getGroupId
Gets the groupId property value. The identifier of the group representing the scope of the membership and ownership eligibility through PIM for groups. Required.- Returns:
- a
String
-
getPrincipal
Gets the principal property value. References the principal that's in the scope of the membership or ownership eligibility request through the group that's governed by PIM. Supports $expand and $select nested in $expand for id only.- Returns:
- a
DirectoryObject
-
getPrincipalId
Gets the principalId property value. The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required.- Returns:
- a
String
-
getTargetSchedule
Gets the targetSchedule property value. Schedule created by this request.- Returns:
- a
PrivilegedAccessGroupEligibilitySchedule
-
getTargetScheduleId
Gets the targetScheduleId property value. The identifier of the schedule that's created from the eligibility request. Optional.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classPrivilegedAccessScheduleRequest
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAccessId
Sets the accessId property value. The identifier of membership or ownership eligibility relationship to the group. Required. The possible values are: owner, member, unknownFutureValue.- Parameters:
value
- Value to set for the accessId property.
-
setGroup
Sets the group property value. References the group that is the scope of the membership or ownership eligibility 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
Sets the groupId property value. The identifier of the group representing the scope of the membership and ownership eligibility through PIM for groups. Required.- Parameters:
value
- Value to set for the groupId property.
-
setPrincipal
Sets the principal property value. References the principal that's in the scope of the membership or ownership eligibility 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
Sets the principalId property value. The identifier of the principal whose membership or ownership eligibility to the group is managed through PIM for groups. Required.- Parameters:
value
- Value to set for the principalId property.
-
setTargetSchedule
Sets the targetSchedule property value. Schedule created by this request.- Parameters:
value
- Value to set for the targetSchedule property.
-
setTargetScheduleId
Sets the targetScheduleId property value. The identifier of the schedule that's created from the eligibility request. Optional.- Parameters:
value
- Value to set for the targetScheduleId property.
-