// 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;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.util.List;

/** A list of PEM formatted certificates. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type")
@JsonTypeName("#Microsoft.VideoAnalyzer.PemCertificateList")
@Fluent
public final class PemCertificateList extends CertificateSource {
    /*
     * PEM formatted public certificates. One certificate per entry.
     */
    @JsonProperty(value = "certificates", required = true)
    private List<String> certificates;

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

    /**
     * Get the certificates property: PEM formatted public certificates. One certificate per entry.
     *
     * @return the certificates value.
     */
    public List<String> getCertificates() {
        return this.certificates;
    }
}
