com.antgroup.antchain.openapi.deps.models.QueryOpsappsvcRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-deps Show documentation
Show all versions of openapi-deps Show documentation
Ant Chain deps SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;
import com.aliyun.tea.*;
public class QueryOpsappsvcRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// 应用的名称
@NameInMap("app_name")
@Validation(required = true)
public String appName;
// 当前页码,默认为1
@NameInMap("page_num")
public Integer pageNum;
// 分页大小,默认10,最大50
@NameInMap("page_size")
public Integer pageSize;
// 应用服务的名称,如果为空,会查询该应用下所有应用服务的运维历史
@NameInMap("service_name")
public String serviceName;
public static QueryOpsappsvcRequest build(java.util.Map map) throws Exception {
QueryOpsappsvcRequest self = new QueryOpsappsvcRequest();
return TeaModel.build(map, self);
}
public QueryOpsappsvcRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryOpsappsvcRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public QueryOpsappsvcRequest setAppName(String appName) {
this.appName = appName;
return this;
}
public String getAppName() {
return this.appName;
}
public QueryOpsappsvcRequest setPageNum(Integer pageNum) {
this.pageNum = pageNum;
return this;
}
public Integer getPageNum() {
return this.pageNum;
}
public QueryOpsappsvcRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public QueryOpsappsvcRequest setServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public String getServiceName() {
return this.serviceName;
}
}