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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • ProcessContentMetadataBase

      public ProcessContentMetadataBase()
      Instantiates a new ProcessContentMetadataBase and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getContent

      @Nullable public ContentBase 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

      @Nullable public String 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

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIdentifier

      @Nullable public String 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

      @Nullable public Boolean 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

      @Nullable public Long getLength()
      Gets the length property value. The length of the original content in bytes.
      Returns:
      a Long
    • getModifiedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public String 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

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getSequenceNumber

      @Nullable public Long 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setContent(@Nullable ContentBase value)
      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

      public void setCorrelationId(@Nullable String value)
      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

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setIdentifier(@Nullable String value)
      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

      public void setIsTruncated(@Nullable Boolean value)
      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

      public void setLength(@Nullable Long value)
      Sets the length property value. The length of the original content in bytes.
      Parameters:
      value - Value to set for the length property.
    • setModifiedDateTime

      public void setModifiedDateTime(@Nullable OffsetDateTime value)
      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

      public void setName(@Nullable String value)
      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

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setSequenceNumber

      public void setSequenceNumber(@Nullable Long value)
      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.