/**
 * 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.search.videosearch.models;

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

/**
 * The TrendingVideos model.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "_type", defaultImpl = TrendingVideos.class)
@JsonTypeName("TrendingVideos")
public class TrendingVideos extends Response {
    /**
     * The bannerTiles property.
     */
    @JsonProperty(value = "bannerTiles", required = true)
    private List<TrendingVideosTile> bannerTiles;

    /**
     * The categories property.
     */
    @JsonProperty(value = "categories", required = true)
    private List<TrendingVideosCategory> categories;

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

    /**
     * Set the bannerTiles value.
     *
     * @param bannerTiles the bannerTiles value to set
     * @return the TrendingVideos object itself.
     */
    public TrendingVideos withBannerTiles(List<TrendingVideosTile> bannerTiles) {
        this.bannerTiles = bannerTiles;
        return this;
    }

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

    /**
     * Set the categories value.
     *
     * @param categories the categories value to set
     * @return the TrendingVideos object itself.
     */
    public TrendingVideos withCategories(List<TrendingVideosCategory> categories) {
        this.categories = categories;
        return this;
    }

}
