Package com.microsoft.graph.models
Class GroupLifecyclePolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.GroupLifecyclePolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class GroupLifecyclePolicy
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupLifecyclePolicy
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the alternateNotificationEmails property value.The deserialization information for the current modelGets the groupLifetimeInDays property value.Gets the managedGroupTypes property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the alternateNotificationEmails property value.void
setGroupLifetimeInDays
(Integer value) Sets the groupLifetimeInDays property value.void
setManagedGroupTypes
(String value) Sets the managedGroupTypes property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
GroupLifecyclePolicy
public GroupLifecyclePolicy()Instantiates a newGroupLifecyclePolicy
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static GroupLifecyclePolicy 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
GroupLifecyclePolicy
-
getAlternateNotificationEmails
Gets the alternateNotificationEmails property value. List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon.- Returns:
- a
String
-
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 classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroupLifetimeInDays
Gets the groupLifetimeInDays property value. Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.- Returns:
- a
Integer
-
getManagedGroupTypes
Gets the managedGroupTypes property value. The group type for which the expiration policy applies. Possible values are All, Selected or None.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAlternateNotificationEmails
Sets the alternateNotificationEmails property value. List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon.- Parameters:
value
- Value to set for the alternateNotificationEmails property.
-
setGroupLifetimeInDays
Sets the groupLifetimeInDays property value. Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.- Parameters:
value
- Value to set for the groupLifetimeInDays property.
-
setManagedGroupTypes
Sets the managedGroupTypes property value. The group type for which the expiration policy applies. Possible values are All, Selected or None.- Parameters:
value
- Value to set for the managedGroupTypes property.
-