Class BlobEvidence

java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.BlobEvidence
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class BlobEvidence extends AlertEvidence implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • BlobEvidence

      public BlobEvidence()
      Instantiates a new BlobEvidence and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static BlobEvidence 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 BlobEvidence
    • getBlobContainer

      @Nullable public BlobContainerEvidence getBlobContainer()
      Gets the blobContainer property value. The container which the blob belongs to.
      Returns:
      a BlobContainerEvidence
    • getEtag

      @Nullable public String getEtag()
      Gets the etag property value. The Etag associated with this blob.
      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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFileHashes

      @Nullable public List<FileHash> getFileHashes()
      Gets the fileHashes property value. The file hashes associated with this blob.
      Returns:
      a List<FileHash>
    • getName

      @Nullable public String getName()
      Gets the name property value. The name of the blob.
      Returns:
      a String
    • getUrl

      @Nullable public String getUrl()
      Gets the url property value. The full URL representation of the blob.
      Returns:
      a String
    • 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
      Overrides:
      serialize in class AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBlobContainer

      public void setBlobContainer(@Nullable BlobContainerEvidence value)
      Sets the blobContainer property value. The container which the blob belongs to.
      Parameters:
      value - Value to set for the blobContainer property.
    • setEtag

      public void setEtag(@Nullable String value)
      Sets the etag property value. The Etag associated with this blob.
      Parameters:
      value - Value to set for the etag property.
    • setFileHashes

      public void setFileHashes(@Nullable List<FileHash> value)
      Sets the fileHashes property value. The file hashes associated with this blob.
      Parameters:
      value - Value to set for the fileHashes property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The name of the blob.
      Parameters:
      value - Value to set for the name property.
    • setUrl

      public void setUrl(@Nullable String value)
      Sets the url property value. The full URL representation of the blob.
      Parameters:
      value - Value to set for the url property.