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

package com.azure.media.videoanalyzer.edge.models;

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

/**
 * The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the
 * cloud from behind a firewall. A remote device adapter should be created for each such IoT device. Communication
 * between the cloud and IoT device would then flow via the Video Analyzer edge module.
 */
@Fluent
public final class RemoteDeviceAdapterSetRequestBody extends MethodRequest {
    /*
     * The unique identifier for the remote device adapter.
     */
    @JsonProperty(value = "name", required = true)
    private String name;

    /*
     * Read-only system metadata associated with this object.
     */
    @JsonProperty(value = "systemData")
    private SystemData systemData;

    /*
     * Properties of the remote device adapter.
     */
    @JsonProperty(value = "properties")
    private RemoteDeviceAdapterProperties properties;

    /**
     * Creates an instance of RemoteDeviceAdapterSetRequestBody class.
     *
     * @param name the name value to set.
     */
    @JsonCreator
    public RemoteDeviceAdapterSetRequestBody(@JsonProperty(value = "name", required = true) String name) {
        this.name = name;
    }

    /**
     * Get the name property: The unique identifier for the remote device adapter.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Get the systemData property: Read-only system metadata associated with this object.
     *
     * @return the systemData value.
     */
    public SystemData getSystemData() {
        return this.systemData;
    }

    /**
     * Set the systemData property: Read-only system metadata associated with this object.
     *
     * @param systemData the systemData value to set.
     * @return the RemoteDeviceAdapterSetRequestBody object itself.
     */
    public RemoteDeviceAdapterSetRequestBody setSystemData(SystemData systemData) {
        this.systemData = systemData;
        return this;
    }

    /**
     * Get the properties property: Properties of the remote device adapter.
     *
     * @return the properties value.
     */
    public RemoteDeviceAdapterProperties getProperties() {
        return this.properties;
    }

    /**
     * Set the properties property: Properties of the remote device adapter.
     *
     * @param properties the properties value to set.
     * @return the RemoteDeviceAdapterSetRequestBody object itself.
     */
    public RemoteDeviceAdapterSetRequestBody setProperties(RemoteDeviceAdapterProperties properties) {
        this.properties = properties;
        return this;
    }
}
