Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newWindowsInformationProtectionAppLockerFileand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.The deserialization information for the current modelbyte[]getFile()Gets the file property value.Gets the fileHash property value.Gets the version property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDisplayName(String value) Sets the displayName property value.voidsetFile(byte[] value) Sets the file property value.voidsetFileHash(String value) Sets the fileHash property value.voidsetVersion(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WindowsInformationProtectionAppLockerFile
public WindowsInformationProtectionAppLockerFile()Instantiates a newWindowsInformationProtectionAppLockerFileand sets the default values.
-
-
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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- 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
Gets the fileHash property value. SHA256 hash of the file- Returns:
- a
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 -
setDisplayName
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
Sets the fileHash property value. SHA256 hash of the file- Parameters:
value- Value to set for the fileHash property.
-
setVersion
Sets the version property value. Version of the entity.- Parameters:
value- Value to set for the version property.
-