com.aliyun.dingtalkim_1_0.models.GetFamilySchoolConversationMsgRequest 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.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class GetFamilySchoolConversationMsgRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 20
*/
@NameInMap("maxResults")
public Integer maxResults;
/**
* This parameter is required.
*/
@NameInMap("msgTypes")
public java.util.List msgTypes;
/**
* This parameter is required.
*
* example:
* 1666671122000
*/
@NameInMap("nextToken")
public Long nextToken;
/**
* This parameter is required.
*
* example:
* cidxxxx
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* This parameter is required.
*
* example:
* xxx
*/
@NameInMap("unionId")
public String unionId;
public static GetFamilySchoolConversationMsgRequest build(java.util.Map map) throws Exception {
GetFamilySchoolConversationMsgRequest self = new GetFamilySchoolConversationMsgRequest();
return TeaModel.build(map, self);
}
public GetFamilySchoolConversationMsgRequest setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public GetFamilySchoolConversationMsgRequest setMsgTypes(java.util.List msgTypes) {
this.msgTypes = msgTypes;
return this;
}
public java.util.List getMsgTypes() {
return this.msgTypes;
}
public GetFamilySchoolConversationMsgRequest setNextToken(Long nextToken) {
this.nextToken = nextToken;
return this;
}
public Long getNextToken() {
return this.nextToken;
}
public GetFamilySchoolConversationMsgRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public GetFamilySchoolConversationMsgRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}