com.aliyun.ice20201109.models.DescribeRtcRobotInstanceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice20201109 Show documentation
Show all versions of ice20201109 Show documentation
Alibaba Cloud ICE (20201109) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class DescribeRtcRobotInstanceResponseBody extends TeaModel {
/**
* example:
*
*/
@NameInMap("AuthToken")
public String authToken;
/**
* example:
* testId
*/
@NameInMap("ChannelId")
public String channelId;
@NameInMap("Config")
public DescribeRtcRobotInstanceResponseBodyConfig config;
/**
* Id of the request
*
* example:
* 20B3A1B6-4BD2-5DE6-BCBC-098C9B4F4E91
*/
@NameInMap("RequestId")
public String requestId;
/**
* example:
* Executing
*/
@NameInMap("Status")
public String status;
/**
* example:
* {}
*/
@NameInMap("UserData")
public String userData;
/**
* example:
* my-robot
*/
@NameInMap("UserId")
public String userId;
public static DescribeRtcRobotInstanceResponseBody build(java.util.Map map) throws Exception {
DescribeRtcRobotInstanceResponseBody self = new DescribeRtcRobotInstanceResponseBody();
return TeaModel.build(map, self);
}
public DescribeRtcRobotInstanceResponseBody setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public DescribeRtcRobotInstanceResponseBody setChannelId(String channelId) {
this.channelId = channelId;
return this;
}
public String getChannelId() {
return this.channelId;
}
public DescribeRtcRobotInstanceResponseBody setConfig(DescribeRtcRobotInstanceResponseBodyConfig config) {
this.config = config;
return this;
}
public DescribeRtcRobotInstanceResponseBodyConfig getConfig() {
return this.config;
}
public DescribeRtcRobotInstanceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeRtcRobotInstanceResponseBody setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribeRtcRobotInstanceResponseBody setUserData(String userData) {
this.userData = userData;
return this;
}
public String getUserData() {
return this.userData;
}
public DescribeRtcRobotInstanceResponseBody setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class DescribeRtcRobotInstanceResponseBodyConfig extends TeaModel {
/**
* example:
* true
*/
@NameInMap("EnableVoiceInterrupt")
public Boolean enableVoiceInterrupt;
@NameInMap("Greeting")
public String greeting;
/**
* example:
* zhixiaoxia
*/
@NameInMap("VoiceId")
public String voiceId;
public static DescribeRtcRobotInstanceResponseBodyConfig build(java.util.Map map) throws Exception {
DescribeRtcRobotInstanceResponseBodyConfig self = new DescribeRtcRobotInstanceResponseBodyConfig();
return TeaModel.build(map, self);
}
public DescribeRtcRobotInstanceResponseBodyConfig setEnableVoiceInterrupt(Boolean enableVoiceInterrupt) {
this.enableVoiceInterrupt = enableVoiceInterrupt;
return this;
}
public Boolean getEnableVoiceInterrupt() {
return this.enableVoiceInterrupt;
}
public DescribeRtcRobotInstanceResponseBodyConfig setGreeting(String greeting) {
this.greeting = greeting;
return this;
}
public String getGreeting() {
return this.greeting;
}
public DescribeRtcRobotInstanceResponseBodyConfig setVoiceId(String voiceId) {
this.voiceId = voiceId;
return this;
}
public String getVoiceId() {
return this.voiceId;
}
}
}