// 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 class RemoteDeviceAdapter {
    /*
     * 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 RemoteDeviceAdapter class.
     *
     * @param name the name value to set.
     */
    @JsonCreator
    public RemoteDeviceAdapter(@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 RemoteDeviceAdapter object itself.
     */
    public RemoteDeviceAdapter 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 RemoteDeviceAdapter object itself.
     */
    public RemoteDeviceAdapter setProperties(RemoteDeviceAdapterProperties properties) {
        this.properties = properties;
        return this;
    }
}
