Class WindowsInformationProtectionAppLockerFile

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WindowsInformationProtectionAppLockerFile
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WindowsInformationProtectionAppLockerFile extends Entity implements com.microsoft.kiota.serialization.Parsable
Windows Information Protection AppLocker File
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WindowsInformationProtectionAppLockerFile 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 WindowsInformationProtectionAppLockerFile
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The friendly name
      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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFile

      @Nullable public byte[] getFile()
      Gets the file property value. File as a byte array
      Returns:
      a
      invalid reference
      byte[]
    • getFileHash

      @Nullable public String getFileHash()
      Gets the fileHash property value. SHA256 hash of the file
      Returns:
      a String
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. Version of the entity.
      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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The friendly name
      Parameters:
      value - Value to set for the displayName property.
    • setFile

      public void setFile(@Nullable byte[] value)
      Sets the file property value. File as a byte array
      Parameters:
      value - Value to set for the file property.
    • setFileHash

      public void setFileHash(@Nullable String value)
      Sets the fileHash property value. SHA256 hash of the file
      Parameters:
      value - Value to set for the fileHash property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. Version of the entity.
      Parameters:
      value - Value to set for the version property.