com.aliyun.dingtalklive_1_0.models.SubscribeLiveRequest 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.dingtalklive_1_0.models;
import com.aliyun.tea.*;
public class SubscribeLiveRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 3dd295eb-17a1-4dfg-ae1b-aa165c5007eb
*/
@NameInMap("liveId")
public String liveId;
/**
* This parameter is required.
*/
@NameInMap("subscribe")
public Boolean subscribe;
/**
* This parameter is required.
*
* example:
* 6crtQT2XOgPHviiPvXhhiP6gdhiE
*/
@NameInMap("unionId")
public String unionId;
public static SubscribeLiveRequest build(java.util.Map map) throws Exception {
SubscribeLiveRequest self = new SubscribeLiveRequest();
return TeaModel.build(map, self);
}
public SubscribeLiveRequest setLiveId(String liveId) {
this.liveId = liveId;
return this;
}
public String getLiveId() {
return this.liveId;
}
public SubscribeLiveRequest setSubscribe(Boolean subscribe) {
this.subscribe = subscribe;
return this;
}
public Boolean getSubscribe() {
return this.subscribe;
}
public SubscribeLiveRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}