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 Details

    • backingStore

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

    • RegistryKeyState

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

      @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
    • 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>>
    • getHive

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

      @Nullable public String getKey()
      Gets the key property value. Current (i.e. changed) registry key (excludes HIVE).
      Returns:
      a String
    • getOdataType

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

      @Nullable public String getOldKey()
      Gets the oldKey property value. Previous (i.e. before changed) registry key (excludes HIVE).
      Returns:
      a String
    • getOldValueData

      @Nullable public String getOldValueData()
      Gets the oldValueData property value. Previous (i.e. before changed) registry key value data (contents).
      Returns:
      a String
    • getOldValueName

      @Nullable public String getOldValueName()
      Gets the oldValueName property value. Previous (i.e. before changed) registry key value name.
      Returns:
      a String
    • getOperation

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

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

      @Nullable public String getValueData()
      Gets the valueData property value. Current (i.e. changed) registry key value data (contents).
      Returns:
      a String
    • getValueName

      @Nullable public String getValueName()
      Gets the valueName property value. Current (i.e. changed) registry key value name
      Returns:
      a String
    • getValueType

      @Nullable public RegistryValueType 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:
      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.
    • setHive

      public void setHive(@Nullable RegistryHive value)
      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

      public void setKey(@Nullable String value)
      Sets the key property value. Current (i.e. changed) registry key (excludes HIVE).
      Parameters:
      value - Value to set for the key 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.
    • setOldKey

      public void setOldKey(@Nullable String value)
      Sets the oldKey property value. Previous (i.e. before changed) registry key (excludes HIVE).
      Parameters:
      value - Value to set for the oldKey property.
    • setOldValueData

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

      public void setOldValueName(@Nullable String value)
      Sets the oldValueName property value. Previous (i.e. before changed) registry key value name.
      Parameters:
      value - Value to set for the oldValueName property.
    • setOperation

      public void setOperation(@Nullable RegistryOperation value)
      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

      public void setProcessId(@Nullable Integer value)
      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

      public void setValueData(@Nullable String value)
      Sets the valueData property value. Current (i.e. changed) registry key value data (contents).
      Parameters:
      value - Value to set for the valueData property.
    • setValueName

      public void setValueName(@Nullable String value)
      Sets the valueName property value. Current (i.e. changed) registry key value name
      Parameters:
      value - Value to set for the valueName property.
    • setValueType

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