Package com.microsoft.graph.models
Class DeviceCompliancePolicySettingState
java.lang.Object
com.microsoft.graph.models.DeviceCompliancePolicySettingState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceCompliancePolicySettingState
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
Device Compilance Policy Setting State for a given device.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newDeviceCompliancePolicySettingStateand 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 AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the currentValue property value.Gets the errorCode property value.Gets the errorDescription property value.The deserialization information for the current modelGets the instanceDisplayName property value.Gets the @odata.type property value.Gets the setting property value.Gets the settingName property value.Gets the sources property value.getState()Gets the state property value.Gets the userEmail property value.Gets the userId property value.Gets the userName property value.Gets the userPrincipalName 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.voidsetCurrentValue(String value) Sets the currentValue property value.voidsetErrorCode(Long value) Sets the errorCode property value.voidsetErrorDescription(String value) Sets the errorDescription property value.voidsetInstanceDisplayName(String value) Sets the instanceDisplayName property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetSetting(String value) Sets the setting property value.voidsetSettingName(String value) Sets the settingName property value.voidsetSources(List<SettingSource> value) Sets the sources property value.voidsetState(ComplianceStatus value) Sets the state property value.voidsetUserEmail(String value) Sets the userEmail property value.voidSets the userId property value.voidsetUserName(String value) Sets the userName property value.voidsetUserPrincipalName(String value) Sets the userPrincipalName property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
DeviceCompliancePolicySettingState
public DeviceCompliancePolicySettingState()Instantiates a newDeviceCompliancePolicySettingStateand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceCompliancePolicySettingState 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
DeviceCompliancePolicySettingState
-
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
-
getCurrentValue
Gets the currentValue property value. Current value of setting on device- Returns:
- a
String
-
getErrorCode
Gets the errorCode property value. Error code for the setting- Returns:
- a
Long
-
getErrorDescription
Gets the errorDescription property value. Error description- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getInstanceDisplayName
Gets the instanceDisplayName property value. Name of setting instance that is being reported.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getSetting
Gets the setting property value. The setting that is being reported- Returns:
- a
String
-
getSettingName
Gets the settingName property value. Localized/user friendly setting name that is being reported- Returns:
- a
String
-
getSources
Gets the sources property value. Contributing policies- Returns:
- a
List<SettingSource>
-
getState
Gets the state property value. The state property- Returns:
- a
ComplianceStatus
-
getUserEmail
Gets the userEmail property value. UserEmail- Returns:
- a
String
-
getUserId
Gets the userId property value. UserId- Returns:
- a
String
-
getUserName
Gets the userName property value. UserName- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. UserPrincipalName.- Returns:
- a
String
-
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.
-
setCurrentValue
Sets the currentValue property value. Current value of setting on device- Parameters:
value- Value to set for the currentValue property.
-
setErrorCode
Sets the errorCode property value. Error code for the setting- Parameters:
value- Value to set for the errorCode property.
-
setErrorDescription
Sets the errorDescription property value. Error description- Parameters:
value- Value to set for the errorDescription property.
-
setInstanceDisplayName
Sets the instanceDisplayName property value. Name of setting instance that is being reported.- Parameters:
value- Value to set for the instanceDisplayName property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setSetting
Sets the setting property value. The setting that is being reported- Parameters:
value- Value to set for the setting property.
-
setSettingName
Sets the settingName property value. Localized/user friendly setting name that is being reported- Parameters:
value- Value to set for the settingName property.
-
setSources
Sets the sources property value. Contributing policies- Parameters:
value- Value to set for the sources property.
-
setState
Sets the state property value. The state property- Parameters:
value- Value to set for the state property.
-
setUserEmail
Sets the userEmail property value. UserEmail- Parameters:
value- Value to set for the userEmail property.
-
setUserId
Sets the userId property value. UserId- Parameters:
value- Value to set for the userId property.
-
setUserName
Sets the userName property value. UserName- Parameters:
value- Value to set for the userName property.
-
setUserPrincipalName
Sets the userPrincipalName property value. UserPrincipalName.- Parameters:
value- Value to set for the userPrincipalName property.
-