Sdílet prostřednictvím


TrendingImagesTile Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.imagesearch.models.TrendingImagesTile

public class TrendingImagesTile

Defines an image tile.

Method Summary

Modifier and Type Method and Description
ImageObject image()

Get the image value.

Query query()

Get the query value.

TrendingImagesTile withImage(ImageObject image)

Set the image value.

TrendingImagesTile withQuery(Query query)

Set the query value.

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