Package com.microsoft.graph.models
Class PrivilegedAccessGroupAssignmentScheduleInstance
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrivilegedAccessScheduleInstance
com.microsoft.graph.models.PrivilegedAccessGroupAssignmentScheduleInstance
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PrivilegedAccessGroupAssignmentScheduleInstance
extends PrivilegedAccessScheduleInstance
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newPrivilegedAccessGroupAssignmentScheduleInstanceand 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.Gets the activatedUsing property value.Gets the assignmentScheduleId property value.Gets the assignmentType property value.The deserialization information for the current modelgetGroup()Gets the group property value.Gets the groupId property value.Gets the memberType property value.Gets the principal property value.Gets the principalId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the accessId property value.voidSets the activatedUsing property value.voidsetAssignmentScheduleId(String value) Sets the assignmentScheduleId property value.voidSets the assignmentType property value.voidSets the group property value.voidsetGroupId(String value) Sets the groupId property value.voidSets the memberType property value.voidsetPrincipal(DirectoryObject value) Sets the principal property value.voidsetPrincipalId(String value) Sets the principalId property value.Methods inherited from class com.microsoft.graph.models.PrivilegedAccessScheduleInstance
getEndDateTime, getStartDateTime, setEndDateTime, setStartDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PrivilegedAccessGroupAssignmentScheduleInstance
public PrivilegedAccessGroupAssignmentScheduleInstance()Instantiates a newPrivilegedAccessGroupAssignmentScheduleInstanceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PrivilegedAccessGroupAssignmentScheduleInstance 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
PrivilegedAccessGroupAssignmentScheduleInstance
-
getAccessId
Gets the accessId property value. The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq).- Returns:
- a
PrivilegedAccessGroupRelationships
-
getActivatedUsing
Gets the activatedUsing property value. When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it is null. -
getAssignmentScheduleId
Gets the assignmentScheduleId property value. The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. Supports $filter (eq, ne).- Returns:
- a
String
-
getAssignmentType
Gets the assignmentType property value. Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq).- Returns:
- a
PrivilegedAccessGroupAssignmentType
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classPrivilegedAccessScheduleInstance- 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 assignment through PIM for groups. Supports $expand.- Returns:
- a
Group
-
getGroupId
Gets the groupId property value. The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Optional. Supports $filter (eq).- Returns:
- a
String
-
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 assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).- Returns:
- a
PrivilegedAccessGroupMemberType
-
getPrincipal
Gets the principal property value. References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand.- Returns:
- a
DirectoryObject
-
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. 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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classPrivilegedAccessScheduleInstance- Parameters:
writer- Serialization writer to use to serialize this model
-
setAccessId
Sets the accessId property value. The identifier of the membership or ownership assignment relationship to the group. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq).- Parameters:
value- Value to set for the accessId property.
-
setActivatedUsing
Sets the activatedUsing property value. When the request activates a membership or ownership in PIM for groups, this object represents the eligibility request for the group. Otherwise, it is null.- Parameters:
value- Value to set for the activatedUsing property.
-
setAssignmentScheduleId
Sets the assignmentScheduleId property value. The identifier of the privilegedAccessGroupAssignmentSchedule from which this instance was created. Required. Supports $filter (eq, ne).- Parameters:
value- Value to set for the assignmentScheduleId property.
-
setAssignmentType
Sets the assignmentType property value. Indicates whether the membership or ownership assignment is granted through activation of an eligibility or through direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq).- Parameters:
value- Value to set for the assignmentType property.
-
setGroup
Sets the group property value. References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand.- 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 or ownership assignment through PIM for groups. Optional. Supports $filter (eq).- Parameters:
value- Value to set for the groupId property.
-
setMemberType
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 assignment schedule. Required. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).- Parameters:
value- Value to set for the memberType property.
-
setPrincipal
Sets the principal property value. References the principal that's in the scope of the membership or ownership assignment request through the group that's governed by PIM. Supports $expand.- Parameters:
value- Value to set for the principal property.
-
setPrincipalId
Sets the principalId property value. The identifier of the principal whose membership or ownership assignment to the group is managed through PIM for groups. Required. Supports $filter (eq).- Parameters:
value- Value to set for the principalId property.
-