com.aliyun.dingtalklive_1_0.models.CreateLiveRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalklive_1_0.models;
import com.aliyun.tea.*;
public class CreateLiveRequest extends TeaModel {
/**
* example:
* https://gw.alicdn.com/tfs/TB1thlYyAT2gK0jSZPcXXcKkpXa-1125-633.png
*/
@NameInMap("coverUrl")
public String coverUrl;
/**
* example:
* 测试直播简介
*/
@NameInMap("introduction")
public String introduction;
/**
* This parameter is required.
*
* example:
* 1659653648000
*/
@NameInMap("preEndTime")
public Long preEndTime;
/**
* This parameter is required.
*
* example:
* 1659613648000
*/
@NameInMap("preStartTime")
public Long preStartTime;
/**
* example:
* 2
*/
@NameInMap("publicType")
public Long publicType;
/**
* This parameter is required.
*
* example:
* 测试直播
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* DC7wZGOSueEEIGOf3WKwWgiEiE
*/
@NameInMap("unionId")
public String unionId;
public static CreateLiveRequest build(java.util.Map map) throws Exception {
CreateLiveRequest self = new CreateLiveRequest();
return TeaModel.build(map, self);
}
public CreateLiveRequest setCoverUrl(String coverUrl) {
this.coverUrl = coverUrl;
return this;
}
public String getCoverUrl() {
return this.coverUrl;
}
public CreateLiveRequest setIntroduction(String introduction) {
this.introduction = introduction;
return this;
}
public String getIntroduction() {
return this.introduction;
}
public CreateLiveRequest setPreEndTime(Long preEndTime) {
this.preEndTime = preEndTime;
return this;
}
public Long getPreEndTime() {
return this.preEndTime;
}
public CreateLiveRequest setPreStartTime(Long preStartTime) {
this.preStartTime = preStartTime;
return this;
}
public Long getPreStartTime() {
return this.preStartTime;
}
public CreateLiveRequest setPublicType(Long publicType) {
this.publicType = publicType;
return this;
}
public Long getPublicType() {
return this.publicType;
}
public CreateLiveRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public CreateLiveRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}