Package com.microsoft.graph.models
Class ProcessContentMetadataBase
java.lang.Object
com.microsoft.graph.models.ProcessContentMetadataBase
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
ProcessConversationMetadata,ProcessFileMetadata
@Generated("com.microsoft.kiota")
public class ProcessContentMetadataBase
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessContentMetadataBasecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the content property value.Gets the correlationId property value.Gets the createdDateTime property value.The deserialization information for the current modelGets the identifier property value.Gets the isTruncated property value.Gets the length property value.Gets the modifiedDateTime property value.getName()Gets the name property value.Gets the @odata.type property value.Gets the sequenceNumber property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetContent(ContentBase value) Sets the content property value.voidsetCorrelationId(String value) Sets the correlationId property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetIdentifier(String value) Sets the identifier property value.voidsetIsTruncated(Boolean value) Sets the isTruncated property value.voidSets the length property value.voidSets the modifiedDateTime property value.voidSets the name property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetSequenceNumber(Long value) Sets the sequenceNumber property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
ProcessContentMetadataBase
public ProcessContentMetadataBase()Instantiates a newProcessContentMetadataBaseand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ProcessContentMetadataBase 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
ProcessContentMetadataBase
-
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. -
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
-
getContent
Gets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities.- Returns:
- a
ContentBase
-
getCorrelationId
Gets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation).- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time).- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getIdentifier
Gets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL).- Returns:
- a
String
-
getIsTruncated
Gets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits).- Returns:
- a
Boolean
-
getLength
Gets the length property value. The length of the original content in bytes.- Returns:
- a
Long
-
getModifiedDateTime
Gets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime.- Returns:
- a
OffsetDateTime
-
getName
Gets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message').- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getSequenceNumber
Gets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used.- Returns:
- a
Long
-
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
-
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.
-
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.
-
setContent
Sets the content property value. Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities.- Parameters:
value- Value to set for the content property.
-
setCorrelationId
Sets the correlationId property value. An identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation).- Parameters:
value- Value to set for the correlationId property.
-
setCreatedDateTime
Sets the createdDateTime property value. Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time).- Parameters:
value- Value to set for the createdDateTime property.
-
setIdentifier
Sets the identifier property value. Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL).- Parameters:
value- Value to set for the identifier property.
-
setIsTruncated
Sets the isTruncated property value. Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits).- Parameters:
value- Value to set for the isTruncated property.
-
setLength
Sets the length property value. The length of the original content in bytes.- Parameters:
value- Value to set for the length property.
-
setModifiedDateTime
Sets the modifiedDateTime property value. Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime.- Parameters:
value- Value to set for the modifiedDateTime property.
-
setName
Sets the name property value. Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message').- Parameters:
value- Value to set for the name property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setSequenceNumber
Sets the sequenceNumber property value. A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used.- Parameters:
value- Value to set for the sequenceNumber property.
-