Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* The windowsAutopilotDeviceIdentity resource represents a Windows Autopilot Device.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class WindowsAutopilotDeviceIdentity extends Entity implements Parsable {
/**
* Instantiates a new {@link WindowsAutopilotDeviceIdentity} and sets the default values.
*/
public WindowsAutopilotDeviceIdentity() {
super();
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link WindowsAutopilotDeviceIdentity}
*/
@jakarta.annotation.Nonnull
public static WindowsAutopilotDeviceIdentity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new WindowsAutopilotDeviceIdentity();
}
/**
* Gets the addressableUserName property value. Addressable user name.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getAddressableUserName() {
return this.backingStore.get("addressableUserName");
}
/**
* Gets the azureActiveDirectoryDeviceId property value. AAD Device ID - to be deprecated
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getAzureActiveDirectoryDeviceId() {
return this.backingStore.get("azureActiveDirectoryDeviceId");
}
/**
* Gets the displayName property value. Display Name
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getDisplayName() {
return this.backingStore.get("displayName");
}
/**
* Gets the enrollmentState property value. The enrollmentState property
* @return a {@link EnrollmentState}
*/
@jakarta.annotation.Nullable
public EnrollmentState getEnrollmentState() {
return this.backingStore.get("enrollmentState");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
deserializerMap.put("addressableUserName", (n) -> { this.setAddressableUserName(n.getStringValue()); });
deserializerMap.put("azureActiveDirectoryDeviceId", (n) -> { this.setAzureActiveDirectoryDeviceId(n.getStringValue()); });
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
deserializerMap.put("enrollmentState", (n) -> { this.setEnrollmentState(n.getEnumValue(EnrollmentState::forValue)); });
deserializerMap.put("groupTag", (n) -> { this.setGroupTag(n.getStringValue()); });
deserializerMap.put("lastContactedDateTime", (n) -> { this.setLastContactedDateTime(n.getOffsetDateTimeValue()); });
deserializerMap.put("managedDeviceId", (n) -> { this.setManagedDeviceId(n.getStringValue()); });
deserializerMap.put("manufacturer", (n) -> { this.setManufacturer(n.getStringValue()); });
deserializerMap.put("model", (n) -> { this.setModel(n.getStringValue()); });
deserializerMap.put("productKey", (n) -> { this.setProductKey(n.getStringValue()); });
deserializerMap.put("purchaseOrderIdentifier", (n) -> { this.setPurchaseOrderIdentifier(n.getStringValue()); });
deserializerMap.put("resourceName", (n) -> { this.setResourceName(n.getStringValue()); });
deserializerMap.put("serialNumber", (n) -> { this.setSerialNumber(n.getStringValue()); });
deserializerMap.put("skuNumber", (n) -> { this.setSkuNumber(n.getStringValue()); });
deserializerMap.put("systemFamily", (n) -> { this.setSystemFamily(n.getStringValue()); });
deserializerMap.put("userPrincipalName", (n) -> { this.setUserPrincipalName(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the groupTag property value. Group Tag of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getGroupTag() {
return this.backingStore.get("groupTag");
}
/**
* Gets the lastContactedDateTime property value. Intune Last Contacted Date Time of the Windows autopilot device.
* @return a {@link OffsetDateTime}
*/
@jakarta.annotation.Nullable
public OffsetDateTime getLastContactedDateTime() {
return this.backingStore.get("lastContactedDateTime");
}
/**
* Gets the managedDeviceId property value. Managed Device ID
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getManagedDeviceId() {
return this.backingStore.get("managedDeviceId");
}
/**
* Gets the manufacturer property value. Oem manufacturer of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getManufacturer() {
return this.backingStore.get("manufacturer");
}
/**
* Gets the model property value. Model name of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getModel() {
return this.backingStore.get("model");
}
/**
* Gets the productKey property value. Product Key of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getProductKey() {
return this.backingStore.get("productKey");
}
/**
* Gets the purchaseOrderIdentifier property value. Purchase Order Identifier of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getPurchaseOrderIdentifier() {
return this.backingStore.get("purchaseOrderIdentifier");
}
/**
* Gets the resourceName property value. Resource Name.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getResourceName() {
return this.backingStore.get("resourceName");
}
/**
* Gets the serialNumber property value. Serial number of the Windows autopilot device.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getSerialNumber() {
return this.backingStore.get("serialNumber");
}
/**
* Gets the skuNumber property value. SKU Number
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getSkuNumber() {
return this.backingStore.get("skuNumber");
}
/**
* Gets the systemFamily property value. System Family
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getSystemFamily() {
return this.backingStore.get("systemFamily");
}
/**
* Gets the userPrincipalName property value. User Principal Name.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getUserPrincipalName() {
return this.backingStore.get("userPrincipalName");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
writer.writeStringValue("addressableUserName", this.getAddressableUserName());
writer.writeStringValue("azureActiveDirectoryDeviceId", this.getAzureActiveDirectoryDeviceId());
writer.writeStringValue("displayName", this.getDisplayName());
writer.writeEnumValue("enrollmentState", this.getEnrollmentState());
writer.writeStringValue("groupTag", this.getGroupTag());
writer.writeOffsetDateTimeValue("lastContactedDateTime", this.getLastContactedDateTime());
writer.writeStringValue("managedDeviceId", this.getManagedDeviceId());
writer.writeStringValue("manufacturer", this.getManufacturer());
writer.writeStringValue("model", this.getModel());
writer.writeStringValue("productKey", this.getProductKey());
writer.writeStringValue("purchaseOrderIdentifier", this.getPurchaseOrderIdentifier());
writer.writeStringValue("resourceName", this.getResourceName());
writer.writeStringValue("serialNumber", this.getSerialNumber());
writer.writeStringValue("skuNumber", this.getSkuNumber());
writer.writeStringValue("systemFamily", this.getSystemFamily());
writer.writeStringValue("userPrincipalName", this.getUserPrincipalName());
}
/**
* Sets the addressableUserName property value. Addressable user name.
* @param value Value to set for the addressableUserName property.
*/
public void setAddressableUserName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("addressableUserName", value);
}
/**
* Sets the azureActiveDirectoryDeviceId property value. AAD Device ID - to be deprecated
* @param value Value to set for the azureActiveDirectoryDeviceId property.
*/
public void setAzureActiveDirectoryDeviceId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("azureActiveDirectoryDeviceId", value);
}
/**
* Sets the displayName property value. Display Name
* @param value Value to set for the displayName property.
*/
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("displayName", value);
}
/**
* Sets the enrollmentState property value. The enrollmentState property
* @param value Value to set for the enrollmentState property.
*/
public void setEnrollmentState(@jakarta.annotation.Nullable final EnrollmentState value) {
this.backingStore.set("enrollmentState", value);
}
/**
* Sets the groupTag property value. Group Tag of the Windows autopilot device.
* @param value Value to set for the groupTag property.
*/
public void setGroupTag(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("groupTag", value);
}
/**
* Sets the lastContactedDateTime property value. Intune Last Contacted Date Time of the Windows autopilot device.
* @param value Value to set for the lastContactedDateTime property.
*/
public void setLastContactedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) {
this.backingStore.set("lastContactedDateTime", value);
}
/**
* Sets the managedDeviceId property value. Managed Device ID
* @param value Value to set for the managedDeviceId property.
*/
public void setManagedDeviceId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("managedDeviceId", value);
}
/**
* Sets the manufacturer property value. Oem manufacturer of the Windows autopilot device.
* @param value Value to set for the manufacturer property.
*/
public void setManufacturer(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("manufacturer", value);
}
/**
* Sets the model property value. Model name of the Windows autopilot device.
* @param value Value to set for the model property.
*/
public void setModel(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("model", value);
}
/**
* Sets the productKey property value. Product Key of the Windows autopilot device.
* @param value Value to set for the productKey property.
*/
public void setProductKey(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("productKey", value);
}
/**
* Sets the purchaseOrderIdentifier property value. Purchase Order Identifier of the Windows autopilot device.
* @param value Value to set for the purchaseOrderIdentifier property.
*/
public void setPurchaseOrderIdentifier(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("purchaseOrderIdentifier", value);
}
/**
* Sets the resourceName property value. Resource Name.
* @param value Value to set for the resourceName property.
*/
public void setResourceName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("resourceName", value);
}
/**
* Sets the serialNumber property value. Serial number of the Windows autopilot device.
* @param value Value to set for the serialNumber property.
*/
public void setSerialNumber(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("serialNumber", value);
}
/**
* Sets the skuNumber property value. SKU Number
* @param value Value to set for the skuNumber property.
*/
public void setSkuNumber(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("skuNumber", value);
}
/**
* Sets the systemFamily property value. System Family
* @param value Value to set for the systemFamily property.
*/
public void setSystemFamily(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("systemFamily", value);
}
/**
* Sets the userPrincipalName property value. User Principal Name.
* @param value Value to set for the userPrincipalName property.
*/
public void setUserPrincipalName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("userPrincipalName", value);
}
}