com.aliyun.dingtalkokr_1_0.models.UpdateKROfWeightRequest 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.dingtalkokr_1_0.models;
import com.aliyun.tea.*;
public class UpdateKROfWeightRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 100
*/
@NameInMap("weight")
public Long weight;
/**
* This parameter is required.
*
* example:
* 46GM2
*/
@NameInMap("krId")
public String krId;
/**
* This parameter is required.
*
* example:
* 0115396701752283
*/
@NameInMap("userId")
public String userId;
public static UpdateKROfWeightRequest build(java.util.Map map) throws Exception {
UpdateKROfWeightRequest self = new UpdateKROfWeightRequest();
return TeaModel.build(map, self);
}
public UpdateKROfWeightRequest setWeight(Long weight) {
this.weight = weight;
return this;
}
public Long getWeight() {
return this.weight;
}
public UpdateKROfWeightRequest setKrId(String krId) {
this.krId = krId;
return this;
}
public String getKrId() {
return this.krId;
}
public UpdateKROfWeightRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}