com.aliyun.dingtalkrobot_1_0.models.UpdateInstalledRobotRequest 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.dingtalkrobot_1_0.models;
import com.aliyun.tea.*;
public class UpdateInstalledRobotRequest extends TeaModel {
// 机器人的简要描述。
@NameInMap("brief")
public String brief;
// 机器人的详细描述。
@NameInMap("description")
public String description;
// 机器人图标的mediaId。
@NameInMap("icon")
public String icon;
// 机器人的名称。
@NameInMap("name")
public String name;
// 机器人的robotCode。
@NameInMap("robotCode")
public String robotCode;
// 更新名字或头像时是否更新群里已添加机器人的名字或头像。
// 0-不更新群里机器人名字或头像
// 1-更新群里机器人名字或头像
@NameInMap("updateType")
public Integer updateType;
public static UpdateInstalledRobotRequest build(java.util.Map map) throws Exception {
UpdateInstalledRobotRequest self = new UpdateInstalledRobotRequest();
return TeaModel.build(map, self);
}
public UpdateInstalledRobotRequest setBrief(String brief) {
this.brief = brief;
return this;
}
public String getBrief() {
return this.brief;
}
public UpdateInstalledRobotRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateInstalledRobotRequest setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public UpdateInstalledRobotRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateInstalledRobotRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public UpdateInstalledRobotRequest setUpdateType(Integer updateType) {
this.updateType = updateType;
return this;
}
public Integer getUpdateType() {
return this.updateType;
}
}