com.aliyun.dingtalklink_1_0.models.UpdateShortcutsRequest 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.dingtalklink_1_0.models;
import com.aliyun.tea.*;
public class UpdateShortcutsRequest extends TeaModel {
@NameInMap("details")
public java.util.List details;
/**
* This parameter is required.
*
* example:
* sid001234
*/
@NameInMap("sessionId")
public String sessionId;
/**
* This parameter is required.
*
* example:
* idzb26bxl64vqx2keyi
*/
@NameInMap("userId")
public String userId;
public static UpdateShortcutsRequest build(java.util.Map map) throws Exception {
UpdateShortcutsRequest self = new UpdateShortcutsRequest();
return TeaModel.build(map, self);
}
public UpdateShortcutsRequest setDetails(java.util.List details) {
this.details = details;
return this;
}
public java.util.List getDetails() {
return this.details;
}
public UpdateShortcutsRequest setSessionId(String sessionId) {
this.sessionId = sessionId;
return this;
}
public String getSessionId() {
return this.sessionId;
}
public UpdateShortcutsRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class UpdateShortcutsRequestDetails extends TeaModel {
/**
* example:
*
*/
@NameInMap("actionUrl")
public String actionUrl;
/**
* example:
* 033bd94b1168d7e4f0d644c3c95e35bf
*/
@NameInMap("callbackKey")
public String callbackKey;
/**
* example:
* e73e
*/
@NameInMap("iconFont")
public String iconFont;
/**
* This parameter is required.
*
* example:
* @lADPDg7mWPzw0i_NArzNArw
*/
@NameInMap("iconMediaId")
public String iconMediaId;
/**
* This parameter is required.
*
* example:
* test123456
*/
@NameInMap("shortcutId")
public String shortcutId;
/**
* example:
* @lADPDg7mWPzw0i_NArzNArw
*/
@NameInMap("slideIconMediaId")
public String slideIconMediaId;
/**
* This parameter is required.
*
* example:
* 测试
*/
@NameInMap("title")
public String title;
public static UpdateShortcutsRequestDetails build(java.util.Map map) throws Exception {
UpdateShortcutsRequestDetails self = new UpdateShortcutsRequestDetails();
return TeaModel.build(map, self);
}
public UpdateShortcutsRequestDetails setActionUrl(String actionUrl) {
this.actionUrl = actionUrl;
return this;
}
public String getActionUrl() {
return this.actionUrl;
}
public UpdateShortcutsRequestDetails setCallbackKey(String callbackKey) {
this.callbackKey = callbackKey;
return this;
}
public String getCallbackKey() {
return this.callbackKey;
}
public UpdateShortcutsRequestDetails setIconFont(String iconFont) {
this.iconFont = iconFont;
return this;
}
public String getIconFont() {
return this.iconFont;
}
public UpdateShortcutsRequestDetails setIconMediaId(String iconMediaId) {
this.iconMediaId = iconMediaId;
return this;
}
public String getIconMediaId() {
return this.iconMediaId;
}
public UpdateShortcutsRequestDetails setShortcutId(String shortcutId) {
this.shortcutId = shortcutId;
return this;
}
public String getShortcutId() {
return this.shortcutId;
}
public UpdateShortcutsRequestDetails setSlideIconMediaId(String slideIconMediaId) {
this.slideIconMediaId = slideIconMediaId;
return this;
}
public String getSlideIconMediaId() {
return this.slideIconMediaId;
}
public UpdateShortcutsRequestDetails setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}