Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WindowsSettingcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the instances property value.Gets the payloadType property value.Gets the settingType property value.Gets the windowsDeviceId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetInstances(List<WindowsSettingInstance> value) Sets the instances property value.voidsetPayloadType(String value) Sets the payloadType property value.voidsetSettingType(WindowsSettingType value) Sets the settingType property value.voidsetWindowsDeviceId(String value) Sets the windowsDeviceId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WindowsSetting
public WindowsSetting()Instantiates a newWindowsSettingand 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInstances
Gets the instances property value. A collection of setting values for a given windowsSetting.- Returns:
- a
List<WindowsSettingInstance>
-
getPayloadType
Gets the payloadType property value. The type of setting payloads contained in the instances navigation property.- Returns:
- a
String
-
getSettingType
Gets the settingType property value. The settingType property- Returns:
- a
WindowsSettingType
-
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 -
setInstances
Sets the instances property value. A collection of setting values for a given windowsSetting.- Parameters:
value- Value to set for the instances property.
-
setPayloadType
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
Sets the settingType property value. The settingType property- Parameters:
value- Value to set for the settingType property.
-
setWindowsDeviceId
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.
-