com.microsoft.bing.websearch.models.Videos 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 video answer.
*/
public class Videos extends SearchResultsAnswer {
/**
* A list of video objects that are relevant to the query.
*/
@JsonProperty(value = "value", required = true)
private List value;
/**
* The nextOffset property.
*/
@JsonProperty(value = "nextOffset", access = JsonProperty.Access.WRITE_ONLY)
private Integer nextOffset;
/**
* The queryExpansions property.
*/
@JsonProperty(value = "queryExpansions", access = JsonProperty.Access.WRITE_ONLY)
private List queryExpansions;
/**
* The relatedSearches property.
*/
@JsonProperty(value = "relatedSearches", access = JsonProperty.Access.WRITE_ONLY)
private List relatedSearches;
/**
* Get a list of video objects that are relevant to the query.
*
* @return the value value
*/
public List value() {
return this.value;
}
/**
* Set a list of video objects that are relevant to the query.
*
* @param value the value value to set
* @return the Videos object itself.
*/
public Videos withValue(List value) {
this.value = value;
return this;
}
/**
* Get the nextOffset value.
*
* @return the nextOffset value
*/
public Integer nextOffset() {
return this.nextOffset;
}
/**
* Get the queryExpansions value.
*
* @return the queryExpansions value
*/
public List queryExpansions() {
return this.queryExpansions;
}
/**
* Get the relatedSearches value.
*
* @return the relatedSearches value
*/
public List relatedSearches() {
return this.relatedSearches;
}
}