/**
 * 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.vision.computervision.models;

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

/**
 * A collection of content tags, along with a list of captions sorted by
 * confidence level, and image metadata.
 */
public class ImageDescriptionDetails {
    /**
     * A collection of image tags.
     */
    @JsonProperty(value = "tags")
    private List<String> tags;

    /**
     * A list of captions, sorted by confidence level.
     */
    @JsonProperty(value = "captions")
    private List<ImageCaption> captions;

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

    /**
     * Set the tags value.
     *
     * @param tags the tags value to set
     * @return the ImageDescriptionDetails object itself.
     */
    public ImageDescriptionDetails withTags(List<String> tags) {
        this.tags = tags;
        return this;
    }

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

    /**
     * Set the captions value.
     *
     * @param captions the captions value to set
     * @return the ImageDescriptionDetails object itself.
     */
    public ImageDescriptionDetails withCaptions(List<ImageCaption> captions) {
        this.captions = captions;
        return this;
    }

}
