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

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

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Describes the properties of an API collection. */
@Fluent
public final class ApiCollectionProperties {
    /*
     * The display name of the Azure API Management API.
     */
    @JsonProperty(value = "displayName")
    private String displayName;

    /*
     * Additional data regarding the API collection.
     */
    @JsonProperty(value = "additionalData")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map<String, String> additionalData;

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

    /**
     * Get the displayName property: The display name of the Azure API Management API.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Set the displayName property: The display name of the Azure API Management API.
     *
     * @param displayName the displayName value to set.
     * @return the ApiCollectionProperties object itself.
     */
    public ApiCollectionProperties withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    /**
     * Get the additionalData property: Additional data regarding the API collection.
     *
     * @return the additionalData value.
     */
    public Map<String, String> additionalData() {
        return this.additionalData;
    }

    /**
     * Set the additionalData property: Additional data regarding the API collection.
     *
     * @param additionalData the additionalData value to set.
     * @return the ApiCollectionProperties object itself.
     */
    public ApiCollectionProperties withAdditionalData(Map<String, String> additionalData) {
        this.additionalData = additionalData;
        return this;
    }

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