com.aliyun.dingtalkhrm_1_0.models.HrmPtsServiceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class HrmPtsServiceRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* dev or online
*/
@NameInMap("env")
public String env;
/**
* example:
* GET/POST
*/
@NameInMap("method")
public String method;
/**
* This parameter is required.
*
* example:
* abd123213
*/
@NameInMap("outerId")
public String outerId;
@NameInMap("params")
public Object params;
/**
* This parameter is required.
*
* example:
* /user/role/get
*/
@NameInMap("path")
public String path;
public static HrmPtsServiceRequest build(java.util.Map map) throws Exception {
HrmPtsServiceRequest self = new HrmPtsServiceRequest();
return TeaModel.build(map, self);
}
public HrmPtsServiceRequest setEnv(String env) {
this.env = env;
return this;
}
public String getEnv() {
return this.env;
}
public HrmPtsServiceRequest setMethod(String method) {
this.method = method;
return this;
}
public String getMethod() {
return this.method;
}
public HrmPtsServiceRequest setOuterId(String outerId) {
this.outerId = outerId;
return this;
}
public String getOuterId() {
return this.outerId;
}
public HrmPtsServiceRequest setParams(Object params) {
this.params = params;
return this;
}
public Object getParams() {
return this.params;
}
public HrmPtsServiceRequest setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
}