Class SetUserPreferredPresencePostRequestBody
java.lang.Object
com.microsoft.graph.communications.presences.item.setuserpreferredpresence.SetUserPreferredPresencePostRequestBody
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SetUserPreferredPresencePostRequestBody
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newSetUserPreferredPresencePostRequestBodyand 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 activity property value.Gets the AdditionalData property value.Gets the availability property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.com.microsoft.kiota.PeriodAndDurationGets the expirationDuration property value.The deserialization information for the current modelvoidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetActivity(String value) Sets the activity property value.voidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAvailability(String value) Sets the availability property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetExpirationDuration(com.microsoft.kiota.PeriodAndDuration value) Sets the expirationDuration property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
SetUserPreferredPresencePostRequestBody
public SetUserPreferredPresencePostRequestBody()Instantiates a newSetUserPreferredPresencePostRequestBodyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SetUserPreferredPresencePostRequestBody 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
SetUserPreferredPresencePostRequestBody
-
getActivity
Gets the activity property value. The activity property- Returns:
- a
String
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAvailability
Gets the availability property value. The availability property- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getExpirationDuration
@Nullable public com.microsoft.kiota.PeriodAndDuration getExpirationDuration()Gets the expirationDuration property value. The expirationDuration property- Returns:
- a
PeriodAndDuration
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setActivity
Sets the activity property value. The activity property- Parameters:
value- Value to set for the activity property.
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAvailability
Sets the availability property value. The availability property- Parameters:
value- Value to set for the availability property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setExpirationDuration
public void setExpirationDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the expirationDuration property value. The expirationDuration property- Parameters:
value- Value to set for the expirationDuration property.
-