
com.aliyun.ice20201109.models.GetCategoriesRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class GetCategoriesRequest extends TeaModel {
/**
* The category ID. You can use one of the following methods to obtain the ID:
*
* - Log on to the Intelligent Media Services (IMS) console and choose Media Asset Management > Category Management to view the category ID.
* - View the value of CateId returned by the AddCategory operation that you called to create a category.
* - View the value of CateId returned by the GetCategories operation that you called to query a category.
*
*
* example:
* 33
*/
@NameInMap("CateId")
public Long cateId;
/**
* The page number. Default value: 1
*
* example:
* 1
*/
@NameInMap("PageNo")
public Long pageNo;
/**
* The number of entries per page. Valid values: 10 to 100.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Long pageSize;
/**
* The sorting rule of results. Valid values:
* \- CreationTime:Desc (default): The results are sorted in reverse chronological order based on the creation time.
* \- CreationTime:Asc: The results are sorted in chronological order based on the creation time.
*
* example:
* CreationTime:Desc
*/
@NameInMap("SortBy")
public String sortBy;
/**
* The type of the category. Valid values: default and material. A value of default indicates audio, video, and image files. This is the default value. A value of material indicates short video materials.
*
* example:
* default
*/
@NameInMap("Type")
public String type;
public static GetCategoriesRequest build(java.util.Map map) throws Exception {
GetCategoriesRequest self = new GetCategoriesRequest();
return TeaModel.build(map, self);
}
public GetCategoriesRequest setCateId(Long cateId) {
this.cateId = cateId;
return this;
}
public Long getCateId() {
return this.cateId;
}
public GetCategoriesRequest setPageNo(Long pageNo) {
this.pageNo = pageNo;
return this;
}
public Long getPageNo() {
return this.pageNo;
}
public GetCategoriesRequest setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public GetCategoriesRequest setSortBy(String sortBy) {
this.sortBy = sortBy;
return this;
}
public String getSortBy() {
return this.sortBy;
}
public GetCategoriesRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy