com.aliyun.dingtalkhrm_1_0.models.HrmMailSendRequest Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class HrmMailSendRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("mail")
public HrmMailSendRequestMail mail;
/**
* This parameter is required.
*/
@NameInMap("operator")
public HrmMailSendRequestOperator operator;
public static HrmMailSendRequest build(java.util.Map map) throws Exception {
HrmMailSendRequest self = new HrmMailSendRequest();
return TeaModel.build(map, self);
}
public HrmMailSendRequest setMail(HrmMailSendRequestMail mail) {
this.mail = mail;
return this;
}
public HrmMailSendRequestMail getMail() {
return this.mail;
}
public HrmMailSendRequest setOperator(HrmMailSendRequestOperator operator) {
this.operator = operator;
return this;
}
public HrmMailSendRequestOperator getOperator() {
return this.operator;
}
public static class HrmMailSendRequestMailAttachments extends TeaModel {
/**
* This parameter is required.
*
* example:
* 测试.pdf
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* @asdc12312
*/
@NameInMap("path")
public String path;
/**
* This parameter is required.
*
* example:
* media
*/
@NameInMap("type")
public String type;
public static HrmMailSendRequestMailAttachments build(java.util.Map map) throws Exception {
HrmMailSendRequestMailAttachments self = new HrmMailSendRequestMailAttachments();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMailAttachments setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public HrmMailSendRequestMailAttachments setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public HrmMailSendRequestMailAttachments setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class HrmMailSendRequestMailMeetingAlarm extends TeaModel {
/**
* This parameter is required.
*
* example:
* 还有10分钟开始
*/
@NameInMap("alarmDesc")
public String alarmDesc;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("alarmMinutes")
public Integer alarmMinutes;
/**
* This parameter is required.
*/
@NameInMap("alarmSummary")
public String alarmSummary;
public static HrmMailSendRequestMailMeetingAlarm build(java.util.Map map) throws Exception {
HrmMailSendRequestMailMeetingAlarm self = new HrmMailSendRequestMailMeetingAlarm();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMailMeetingAlarm setAlarmDesc(String alarmDesc) {
this.alarmDesc = alarmDesc;
return this;
}
public String getAlarmDesc() {
return this.alarmDesc;
}
public HrmMailSendRequestMailMeetingAlarm setAlarmMinutes(Integer alarmMinutes) {
this.alarmMinutes = alarmMinutes;
return this;
}
public Integer getAlarmMinutes() {
return this.alarmMinutes;
}
public HrmMailSendRequestMailMeetingAlarm setAlarmSummary(String alarmSummary) {
this.alarmSummary = alarmSummary;
return this;
}
public String getAlarmSummary() {
return this.alarmSummary;
}
}
public static class HrmMailSendRequestMailMeetingAttendees extends TeaModel {
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("address")
public String address;
/**
* This parameter is required.
*
* example:
* 参会人1
*/
@NameInMap("name")
public String name;
public static HrmMailSendRequestMailMeetingAttendees build(java.util.Map map) throws Exception {
HrmMailSendRequestMailMeetingAttendees self = new HrmMailSendRequestMailMeetingAttendees();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMailMeetingAttendees setAddress(String address) {
this.address = address;
return this;
}
public String getAddress() {
return this.address;
}
public HrmMailSendRequestMailMeetingAttendees setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class HrmMailSendRequestMailMeetingOrganizer extends TeaModel {
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("address")
public String address;
/**
* This parameter is required.
*
* example:
* 系统
*/
@NameInMap("name")
public String name;
public static HrmMailSendRequestMailMeetingOrganizer build(java.util.Map map) throws Exception {
HrmMailSendRequestMailMeetingOrganizer self = new HrmMailSendRequestMailMeetingOrganizer();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMailMeetingOrganizer setAddress(String address) {
this.address = address;
return this;
}
public String getAddress() {
return this.address;
}
public HrmMailSendRequestMailMeetingOrganizer setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class HrmMailSendRequestMailMeeting extends TeaModel {
@NameInMap("alarm")
public HrmMailSendRequestMailMeetingAlarm alarm;
@NameInMap("attendees")
public java.util.List attendees;
/**
* example:
* 会议描述
*/
@NameInMap("description")
public String description;
/**
* This parameter is required.
*
* example:
* 1701692590881
*/
@NameInMap("endTime")
public Long endTime;
/**
* example:
* 会议室
*/
@NameInMap("location")
public String location;
/**
* This parameter is required.
*
* example:
* REQUEST
*/
@NameInMap("method")
public String method;
@NameInMap("organizer")
public HrmMailSendRequestMailMeetingOrganizer organizer;
/**
* example:
* 1
*/
@NameInMap("sequence")
public Integer sequence;
/**
* This parameter is required.
*
* example:
* 1701692590881
*/
@NameInMap("startTime")
public Long startTime;
/**
* This parameter is required.
*
* example:
* 测试会议
*/
@NameInMap("summary")
public String summary;
/**
* This parameter is required.
*
* example:
* uuidssssss
*/
@NameInMap("uuid")
public String uuid;
public static HrmMailSendRequestMailMeeting build(java.util.Map map) throws Exception {
HrmMailSendRequestMailMeeting self = new HrmMailSendRequestMailMeeting();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMailMeeting setAlarm(HrmMailSendRequestMailMeetingAlarm alarm) {
this.alarm = alarm;
return this;
}
public HrmMailSendRequestMailMeetingAlarm getAlarm() {
return this.alarm;
}
public HrmMailSendRequestMailMeeting setAttendees(java.util.List attendees) {
this.attendees = attendees;
return this;
}
public java.util.List getAttendees() {
return this.attendees;
}
public HrmMailSendRequestMailMeeting setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public HrmMailSendRequestMailMeeting setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public HrmMailSendRequestMailMeeting setLocation(String location) {
this.location = location;
return this;
}
public String getLocation() {
return this.location;
}
public HrmMailSendRequestMailMeeting setMethod(String method) {
this.method = method;
return this;
}
public String getMethod() {
return this.method;
}
public HrmMailSendRequestMailMeeting setOrganizer(HrmMailSendRequestMailMeetingOrganizer organizer) {
this.organizer = organizer;
return this;
}
public HrmMailSendRequestMailMeetingOrganizer getOrganizer() {
return this.organizer;
}
public HrmMailSendRequestMailMeeting setSequence(Integer sequence) {
this.sequence = sequence;
return this;
}
public Integer getSequence() {
return this.sequence;
}
public HrmMailSendRequestMailMeeting setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public HrmMailSendRequestMailMeeting setSummary(String summary) {
this.summary = summary;
return this;
}
public String getSummary() {
return this.summary;
}
public HrmMailSendRequestMailMeeting setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
}
public static class HrmMailSendRequestMail extends TeaModel {
@NameInMap("attachments")
public java.util.List attachments;
/**
* example:
* [email protected],[email protected],
*/
@NameInMap("bccAddress")
public String bccAddress;
/**
* example:
* [email protected],[email protected],
*/
@NameInMap("ccAddress")
public String ccAddress;
/**
* This parameter is required.
*
* example:
* 请及时填写请填写入职登记表
*/
@NameInMap("content")
public String content;
@NameInMap("meeting")
public HrmMailSendRequestMailMeeting meeting;
/**
* This parameter is required.
*
* example:
* [email protected],[email protected],
*/
@NameInMap("receiverAddress")
public String receiverAddress;
/**
* This parameter is required.
*
* example:
* 智能人事入职
*/
@NameInMap("senderAlias")
public String senderAlias;
/**
* This parameter is required.
*
* example:
* 请填写入职登记表
*/
@NameInMap("subject")
public String subject;
public static HrmMailSendRequestMail build(java.util.Map map) throws Exception {
HrmMailSendRequestMail self = new HrmMailSendRequestMail();
return TeaModel.build(map, self);
}
public HrmMailSendRequestMail setAttachments(java.util.List attachments) {
this.attachments = attachments;
return this;
}
public java.util.List getAttachments() {
return this.attachments;
}
public HrmMailSendRequestMail setBccAddress(String bccAddress) {
this.bccAddress = bccAddress;
return this;
}
public String getBccAddress() {
return this.bccAddress;
}
public HrmMailSendRequestMail setCcAddress(String ccAddress) {
this.ccAddress = ccAddress;
return this;
}
public String getCcAddress() {
return this.ccAddress;
}
public HrmMailSendRequestMail setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public HrmMailSendRequestMail setMeeting(HrmMailSendRequestMailMeeting meeting) {
this.meeting = meeting;
return this;
}
public HrmMailSendRequestMailMeeting getMeeting() {
return this.meeting;
}
public HrmMailSendRequestMail setReceiverAddress(String receiverAddress) {
this.receiverAddress = receiverAddress;
return this;
}
public String getReceiverAddress() {
return this.receiverAddress;
}
public HrmMailSendRequestMail setSenderAlias(String senderAlias) {
this.senderAlias = senderAlias;
return this;
}
public String getSenderAlias() {
return this.senderAlias;
}
public HrmMailSendRequestMail setSubject(String subject) {
this.subject = subject;
return this;
}
public String getSubject() {
return this.subject;
}
}
public static class HrmMailSendRequestOperator extends TeaModel {
/**
* This parameter is required.
*
* example:
* biz222ddd
*/
@NameInMap("bizId")
public String bizId;
/**
* This parameter is required.
*
* example:
* hrm
*/
@NameInMap("mailAccountType")
public String mailAccountType;
/**
* This parameter is required.
*
* example:
* tokenabcd
*/
@NameInMap("token")
public String token;
public static HrmMailSendRequestOperator build(java.util.Map map) throws Exception {
HrmMailSendRequestOperator self = new HrmMailSendRequestOperator();
return TeaModel.build(map, self);
}
public HrmMailSendRequestOperator setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public HrmMailSendRequestOperator setMailAccountType(String mailAccountType) {
this.mailAccountType = mailAccountType;
return this;
}
public String getMailAccountType() {
return this.mailAccountType;
}
public HrmMailSendRequestOperator setToken(String token) {
this.token = token;
return this;
}
public String getToken() {
return this.token;
}
}
}