com.antgroup.antchain.openapi.rms.models.QueryXmetricInstantRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-rms Show documentation
Show all versions of openapi-rms Show documentation
Ant Chain RMS SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.rms.models;
import com.aliyun.tea.*;
public class QueryXmetricInstantRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
//
@NameInMap("workspace_name")
@Validation(required = true)
public String workspaceName;
// time 必填
@NameInMap("data")
@Validation(required = true)
public XMetricQuery data;
public static QueryXmetricInstantRequest build(java.util.Map map) throws Exception {
QueryXmetricInstantRequest self = new QueryXmetricInstantRequest();
return TeaModel.build(map, self);
}
public QueryXmetricInstantRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryXmetricInstantRequest setWorkspaceName(String workspaceName) {
this.workspaceName = workspaceName;
return this;
}
public String getWorkspaceName() {
return this.workspaceName;
}
public QueryXmetricInstantRequest setData(XMetricQuery data) {
this.data = data;
return this;
}
public XMetricQuery getData() {
return this.data;
}
}