Class WindowsSetting

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

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

    • WindowsSetting

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

    • createFromDiscriminatorValue

      @Nonnull public static WindowsSetting 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 WindowsSetting
    • 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>>
    • getInstances

      @Nullable public List<WindowsSettingInstance> getInstances()
      Gets the instances property value. A collection of setting values for a given windowsSetting.
      Returns:
      a List<WindowsSettingInstance>
    • getPayloadType

      @Nullable public String getPayloadType()
      Gets the payloadType property value. The type of setting payloads contained in the instances navigation property.
      Returns:
      a String
    • getSettingType

      @Nullable public WindowsSettingType getSettingType()
      Gets the settingType property value. The settingType property
      Returns:
      a WindowsSettingType
    • getWindowsDeviceId

      @Nullable public String getWindowsDeviceId()
      Gets the windowsDeviceId property value. A unique identifier for the device the setting might belong to if it is of the settingType backup.
      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
    • setInstances

      public void setInstances(@Nullable List<WindowsSettingInstance> value)
      Sets the instances property value. A collection of setting values for a given windowsSetting.
      Parameters:
      value - Value to set for the instances property.
    • setPayloadType

      public void setPayloadType(@Nullable String value)
      Sets the payloadType property value. The type of setting payloads contained in the instances navigation property.
      Parameters:
      value - Value to set for the payloadType property.
    • setSettingType

      public void setSettingType(@Nullable WindowsSettingType value)
      Sets the settingType property value. The settingType property
      Parameters:
      value - Value to set for the settingType property.
    • setWindowsDeviceId

      public void setWindowsDeviceId(@Nullable String value)
      Sets the windowsDeviceId property value. A unique identifier for the device the setting might belong to if it is of the settingType backup.
      Parameters:
      value - Value to set for the windowsDeviceId property.