// 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.JsonProperty;
import java.util.List;

/** The ONVIF device properties. */
@Fluent
public final class OnvifDevice {
    /*
     * The hostname of the ONVIF device.
     */
    @JsonProperty(value = "hostname")
    private OnvifHostName hostname;

    /*
     * The system date and time of the ONVIF device.
     */
    @JsonProperty(value = "systemDateTime")
    private OnvifSystemDateTime systemDateTime;

    /*
     * The ONVIF device DNS properties.
     */
    @JsonProperty(value = "dns")
    private OnvifDns dns;

    /*
     * An array of of ONVIF media profiles supported by the ONVIF device.
     */
    @JsonProperty(value = "mediaProfiles")
    private List<MediaProfile> mediaProfiles;

    /**
     * Get the hostname property: The hostname of the ONVIF device.
     *
     * @return the hostname value.
     */
    public OnvifHostName getHostname() {
        return this.hostname;
    }

    /**
     * Set the hostname property: The hostname of the ONVIF device.
     *
     * @param hostname the hostname value to set.
     * @return the OnvifDevice object itself.
     */
    public OnvifDevice setHostname(OnvifHostName hostname) {
        this.hostname = hostname;
        return this;
    }

    /**
     * Get the systemDateTime property: The system date and time of the ONVIF device.
     *
     * @return the systemDateTime value.
     */
    public OnvifSystemDateTime getSystemDateTime() {
        return this.systemDateTime;
    }

    /**
     * Set the systemDateTime property: The system date and time of the ONVIF device.
     *
     * @param systemDateTime the systemDateTime value to set.
     * @return the OnvifDevice object itself.
     */
    public OnvifDevice setSystemDateTime(OnvifSystemDateTime systemDateTime) {
        this.systemDateTime = systemDateTime;
        return this;
    }

    /**
     * Get the dns property: The ONVIF device DNS properties.
     *
     * @return the dns value.
     */
    public OnvifDns getDns() {
        return this.dns;
    }

    /**
     * Set the dns property: The ONVIF device DNS properties.
     *
     * @param dns the dns value to set.
     * @return the OnvifDevice object itself.
     */
    public OnvifDevice setDns(OnvifDns dns) {
        this.dns = dns;
        return this;
    }

    /**
     * Get the mediaProfiles property: An array of of ONVIF media profiles supported by the ONVIF device.
     *
     * @return the mediaProfiles value.
     */
    public List<MediaProfile> getMediaProfiles() {
        return this.mediaProfiles;
    }

    /**
     * Set the mediaProfiles property: An array of of ONVIF media profiles supported by the ONVIF device.
     *
     * @param mediaProfiles the mediaProfiles value to set.
     * @return the OnvifDevice object itself.
     */
    public OnvifDevice setMediaProfiles(List<MediaProfile> mediaProfiles) {
        this.mediaProfiles = mediaProfiles;
        return this;
    }
}
