com.aliyun.dingtalkexclusive_1_0.models.UpdateVoiceMsgCtrlStatusRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class UpdateVoiceMsgCtrlStatusRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1-检测通过,2-检测失败
*/
@NameInMap("status")
public Integer status;
/**
* This parameter is required.
*/
@NameInMap("voiceMsgCtrlInfo")
public UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo voiceMsgCtrlInfo;
public static UpdateVoiceMsgCtrlStatusRequest build(java.util.Map map) throws Exception {
UpdateVoiceMsgCtrlStatusRequest self = new UpdateVoiceMsgCtrlStatusRequest();
return TeaModel.build(map, self);
}
public UpdateVoiceMsgCtrlStatusRequest setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public UpdateVoiceMsgCtrlStatusRequest setVoiceMsgCtrlInfo(UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo voiceMsgCtrlInfo) {
this.voiceMsgCtrlInfo = voiceMsgCtrlInfo;
return this;
}
public UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo getVoiceMsgCtrlInfo() {
return this.voiceMsgCtrlInfo;
}
public static class UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* This parameter is required.
*/
@NameInMap("openMsgId")
public String openMsgId;
/**
* This parameter is required.
*/
@NameInMap("userId")
public String userId;
public static UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo build(java.util.Map map) throws Exception {
UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo self = new UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo();
return TeaModel.build(map, self);
}
public UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo setOpenMsgId(String openMsgId) {
this.openMsgId = openMsgId;
return this;
}
public String getOpenMsgId() {
return this.openMsgId;
}
public UpdateVoiceMsgCtrlStatusRequestVoiceMsgCtrlInfo setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}