com.microsoft.bing.websearch.models.RankingRankingGroup Maven / Gradle / Ivy
/**
* 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.bing.websearch.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Defines a search results group, such as mainline.
*/
public class RankingRankingGroup {
/**
* A list of search result items to display in the group.
*/
@JsonProperty(value = "items", required = true)
private List items;
/**
* Get a list of search result items to display in the group.
*
* @return the items value
*/
public List items() {
return this.items;
}
/**
* Set a list of search result items to display in the group.
*
* @param items the items value to set
* @return the RankingRankingGroup object itself.
*/
public RankingRankingGroup withItems(List items) {
this.items = items;
return this;
}
}