// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.desktopvirtualization.fluent.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Desktop properties that can be patched. */
@Fluent
public final class DesktopPatchProperties {
    /*
     * Description of Desktop.
     */
    @JsonProperty(value = "description")
    private String description;

    /*
     * Friendly name of Desktop.
     */
    @JsonProperty(value = "friendlyName")
    private String friendlyName;

    /** Creates an instance of DesktopPatchProperties class. */
    public DesktopPatchProperties() {
    }

    /**
     * Get the description property: Description of Desktop.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Description of Desktop.
     *
     * @param description the description value to set.
     * @return the DesktopPatchProperties object itself.
     */
    public DesktopPatchProperties withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the friendlyName property: Friendly name of Desktop.
     *
     * @return the friendlyName value.
     */
    public String friendlyName() {
        return this.friendlyName;
    }

    /**
     * Set the friendlyName property: Friendly name of Desktop.
     *
     * @param friendlyName the friendlyName value to set.
     * @return the DesktopPatchProperties object itself.
     */
    public DesktopPatchProperties withFriendlyName(String friendlyName) {
        this.friendlyName = friendlyName;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
