/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * PATCH Body schema to represent list of Metadata to be updated.
 */
public class UpdateMetadataDTO {
    /**
     * List of Metadata associated with answer to be deleted.
     */
    @JsonProperty(value = "delete")
    private List<MetadataDTO> delete;

    /**
     * List of metadata associated with answer to be added.
     */
    @JsonProperty(value = "add")
    private List<MetadataDTO> add;

    /**
     * Get the delete value.
     *
     * @return the delete value
     */
    public List<MetadataDTO> delete() {
        return this.delete;
    }

    /**
     * Set the delete value.
     *
     * @param delete the delete value to set
     * @return the UpdateMetadataDTO object itself.
     */
    public UpdateMetadataDTO withDelete(List<MetadataDTO> delete) {
        this.delete = delete;
        return this;
    }

    /**
     * Get the add value.
     *
     * @return the add value
     */
    public List<MetadataDTO> add() {
        return this.add;
    }

    /**
     * Set the add value.
     *
     * @param add the add value to set
     * @return the UpdateMetadataDTO object itself.
     */
    public UpdateMetadataDTO withAdd(List<MetadataDTO> add) {
        this.add = add;
        return this;
    }

}
