Class TrendingVideosCategory
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.videosearch.models.TrendingVideosCategory
-
public class TrendingVideosCategory extends Object
The TrendingVideosCategory model.
-
-
Constructor Summary
Constructors Constructor Description TrendingVideosCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TrendingVideosSubcategory>subcategories()Get the subcategories value.Stringtitle()Get the title value.TrendingVideosCategorywithSubcategories(List<TrendingVideosSubcategory> subcategories)Set the subcategories value.TrendingVideosCategorywithTitle(String title)Set the title value.
-
-
-
Method Detail
-
title
public String title()
Get the title value.- Returns:
- the title value
-
withTitle
public TrendingVideosCategory withTitle(String title)
Set the title value.- Parameters:
title- the title value to set- Returns:
- the TrendingVideosCategory object itself.
-
subcategories
public List<TrendingVideosSubcategory> subcategories()
Get the subcategories value.- Returns:
- the subcategories value
-
withSubcategories
public TrendingVideosCategory withSubcategories(List<TrendingVideosSubcategory> subcategories)
Set the subcategories value.- Parameters:
subcategories- the subcategories value to set- Returns:
- the TrendingVideosCategory object itself.
-
-