TrendingImagesTile Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. TrendingImagesTile
- com.
public class TrendingImagesTile
Defines an image tile.
Constructor Summary
Constructor | Description | |
---|---|---|
TrendingImagesTile() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
image()
Get the image value. |
Query |
query()
Get the query value. |
Trending |
withImage(ImageObject image)
Set the image value. |
Trending |
withQuery(Query query)
Set the query value. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
TrendingImagesTile
public TrendingImagesTile()
Method Details
image
public ImageObject image()
Get the image value.
Returns:
the image value
query
public Query query()
Get the query value.
Returns:
the query value
withImage
public TrendingImagesTile withImage(ImageObject image)
Set the image value.
Parameters:
image
- the image value to set
Returns:
the TrendingImagesTile object itself.
withQuery
public TrendingImagesTile withQuery(Query query)
Set the query value.
Parameters:
query
- the query value to set
Returns:
the TrendingImagesTile object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java