com.microsoft.azure.cognitiveservices.search.customimagesearch.models.Images Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
This package contains Microsoft Cognitive Service Custom Image Search SDK.
The newest version!
/**
* 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.customimagesearch.models;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Defines an image answer.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "_type", defaultImpl = Images.class)
@JsonTypeName("Images")
public class Images extends SearchResultsAnswer {
/**
* Used as part of deduping. Tells client the next offset that client
* should use in the next pagination request.
*/
@JsonProperty(value = "nextOffset", access = JsonProperty.Access.WRITE_ONLY)
private Integer nextOffset;
/**
* A list of image objects that are relevant to the query. If there are no
* results, the List is empty.
*/
@JsonProperty(value = "value", required = true)
private List value;
/**
* Get the nextOffset value.
*
* @return the nextOffset value
*/
public Integer nextOffset() {
return this.nextOffset;
}
/**
* Get the value value.
*
* @return the value value
*/
public List value() {
return this.value;
}
/**
* Set the value value.
*
* @param value the value value to set
* @return the Images object itself.
*/
public Images withValue(List value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy