![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalklive_activities_1_0.models.PushLiveActivityRequest 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_activities_1_0.models;
import com.aliyun.tea.*;
public class PushLiveActivityRequest extends TeaModel {
@NameInMap("activityEventData")
public PushLiveActivityRequestActivityEventData activityEventData;
@NameInMap("activityEventOption")
public PushLiveActivityRequestActivityEventOption activityEventOption;
/**
* example:
* bizUniqueId
*/
@NameInMap("activityId")
public String activityId;
public static PushLiveActivityRequest build(java.util.Map map) throws Exception {
PushLiveActivityRequest self = new PushLiveActivityRequest();
return TeaModel.build(map, self);
}
public PushLiveActivityRequest setActivityEventData(PushLiveActivityRequestActivityEventData activityEventData) {
this.activityEventData = activityEventData;
return this;
}
public PushLiveActivityRequestActivityEventData getActivityEventData() {
return this.activityEventData;
}
public PushLiveActivityRequest setActivityEventOption(PushLiveActivityRequestActivityEventOption activityEventOption) {
this.activityEventOption = activityEventOption;
return this;
}
public PushLiveActivityRequestActivityEventOption getActivityEventOption() {
return this.activityEventOption;
}
public PushLiveActivityRequest setActivityId(String activityId) {
this.activityId = activityId;
return this;
}
public String getActivityId() {
return this.activityId;
}
public static class PushLiveActivityRequestActivityEventData extends TeaModel {
@NameInMap("i18nContentState")
public Object i18nContentState;
/**
* example:
* ride_with_alibtrip
*/
@NameInMap("templateId")
public String templateId;
public static PushLiveActivityRequestActivityEventData build(java.util.Map map) throws Exception {
PushLiveActivityRequestActivityEventData self = new PushLiveActivityRequestActivityEventData();
return TeaModel.build(map, self);
}
public PushLiveActivityRequestActivityEventData setI18nContentState(Object i18nContentState) {
this.i18nContentState = i18nContentState;
return this;
}
public Object getI18nContentState() {
return this.i18nContentState;
}
public PushLiveActivityRequestActivityEventData setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
}
public static class PushLiveActivityRequestActivityEventOption extends TeaModel {
/**
* example:
* 1686903998
*/
@NameInMap("dismissalDate")
public Long dismissalDate;
/**
* example:
* update
*/
@NameInMap("pushType")
public String pushType;
/**
* example:
* 1686903998
*/
@NameInMap("sendDate")
public Long sendDate;
/**
* example:
* 1686903998
*/
@NameInMap("staleDate")
public Long staleDate;
public static PushLiveActivityRequestActivityEventOption build(java.util.Map map) throws Exception {
PushLiveActivityRequestActivityEventOption self = new PushLiveActivityRequestActivityEventOption();
return TeaModel.build(map, self);
}
public PushLiveActivityRequestActivityEventOption setDismissalDate(Long dismissalDate) {
this.dismissalDate = dismissalDate;
return this;
}
public Long getDismissalDate() {
return this.dismissalDate;
}
public PushLiveActivityRequestActivityEventOption setPushType(String pushType) {
this.pushType = pushType;
return this;
}
public String getPushType() {
return this.pushType;
}
public PushLiveActivityRequestActivityEventOption setSendDate(Long sendDate) {
this.sendDate = sendDate;
return this;
}
public Long getSendDate() {
return this.sendDate;
}
public PushLiveActivityRequestActivityEventOption setStaleDate(Long staleDate) {
this.staleDate = staleDate;
return this;
}
public Long getStaleDate() {
return this.staleDate;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy