Package com.microsoft.graph.models
Class ContentActivity
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ContentActivity
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ContentActivity
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 ContentActivitycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the contentMetadata property value.The deserialization information for the current modelGets the scopeIdentifier property value.Gets the userId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the contentMetadata property value.voidsetScopeIdentifier(String value) Sets the scopeIdentifier property value.voidSets the userId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ContentActivity
public ContentActivity()Instantiates a newContentActivityand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ContentActivity 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
ContentActivity
-
getContentMetadata
Gets the contentMetadata property value. The contentMetadata property- Returns:
- a
ProcessContentRequest
-
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 classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getScopeIdentifier
Gets the scopeIdentifier property value. The scope identified from computed protection scopes.- Returns:
- a
String
-
getUserId
Gets the userId property value. ID of the user.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setContentMetadata
Sets the contentMetadata property value. The contentMetadata property- Parameters:
value- Value to set for the contentMetadata property.
-
setScopeIdentifier
Sets the scopeIdentifier property value. The scope identified from computed protection scopes.- Parameters:
value- Value to set for the scopeIdentifier property.
-
setUserId
Sets the userId property value. ID of the user.- Parameters:
value- Value to set for the userId property.
-