Package com.microsoft.graph.models
Class RegistryKeyState
java.lang.Object
com.microsoft.graph.models.RegistryKeyState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class RegistryKeyState
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 RegistryKeyStatecreateFromDiscriminatorValue(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.The deserialization information for the current modelgetHive()Gets the hive property value.getKey()Gets the key property value.Gets the @odata.type property value.Gets the oldKey property value.Gets the oldValueData property value.Gets the oldValueName property value.Gets the operation property value.Gets the processId property value.Gets the valueData property value.Gets the valueName property value.Gets the valueType 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.voidsetHive(RegistryHive value) Sets the hive property value.voidSets the key property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the oldKey property value.voidsetOldValueData(String value) Sets the oldValueData property value.voidsetOldValueName(String value) Sets the oldValueName property value.voidsetOperation(RegistryOperation value) Sets the operation property value.voidsetProcessId(Integer value) Sets the processId property value.voidsetValueData(String value) Sets the valueData property value.voidsetValueName(String value) Sets the valueName property value.voidsetValueType(RegistryValueType value) Sets the valueType property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
RegistryKeyState
public RegistryKeyState()Instantiates a newRegistryKeyStateand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static RegistryKeyState 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
RegistryKeyState
-
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
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getHive
Gets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault.- Returns:
- a
RegistryHive
-
getKey
Gets the key property value. Current (i.e. changed) registry key (excludes HIVE).- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOldKey
Gets the oldKey property value. Previous (i.e. before changed) registry key (excludes HIVE).- Returns:
- a
String
-
getOldValueData
Gets the oldValueData property value. Previous (i.e. before changed) registry key value data (contents).- Returns:
- a
String
-
getOldValueName
Gets the oldValueName property value. Previous (i.e. before changed) registry key value name.- Returns:
- a
String
-
getOperation
Gets the operation property value. Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete.- Returns:
- a
RegistryOperation
-
getProcessId
Gets the processId property value. Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection).- Returns:
- a
Integer
-
getValueData
Gets the valueData property value. Current (i.e. changed) registry key value data (contents).- Returns:
- a
String
-
getValueName
Gets the valueName property value. Current (i.e. changed) registry key value name- Returns:
- a
String
-
getValueType
Gets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz.- Returns:
- a
RegistryValueType
-
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.
-
setHive
Sets the hive property value. A Windows registry hive : HKEYCURRENTCONFIG HKEYCURRENTUSER HKEYLOCALMACHINE/SAM HKEYLOCALMACHINE/Security HKEYLOCALMACHINE/Software HKEYLOCALMACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault.- Parameters:
value- Value to set for the hive property.
-
setKey
Sets the key property value. Current (i.e. changed) registry key (excludes HIVE).- Parameters:
value- Value to set for the key property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOldKey
Sets the oldKey property value. Previous (i.e. before changed) registry key (excludes HIVE).- Parameters:
value- Value to set for the oldKey property.
-
setOldValueData
Sets the oldValueData property value. Previous (i.e. before changed) registry key value data (contents).- Parameters:
value- Value to set for the oldValueData property.
-
setOldValueName
Sets the oldValueName property value. Previous (i.e. before changed) registry key value name.- Parameters:
value- Value to set for the oldValueName property.
-
setOperation
Sets the operation property value. Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete.- Parameters:
value- Value to set for the operation property.
-
setProcessId
Sets the processId property value. Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection).- Parameters:
value- Value to set for the processId property.
-
setValueData
Sets the valueData property value. Current (i.e. changed) registry key value data (contents).- Parameters:
value- Value to set for the valueData property.
-
setValueName
Sets the valueName property value. Current (i.e. changed) registry key value name- Parameters:
value- Value to set for the valueName property.
-
setValueType
Sets the valueType property value. Registry key value type REGBINARY REGDWORD REGDWORDLITTLEENDIAN REGDWORDBIGENDIANREGEXPANDSZ REGLINK REGMULTISZ REGNONE REGQWORD REGQWORDLITTLEENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz.- Parameters:
value- Value to set for the valueType property.
-