All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spring.boxes.webhook.starter.push.dingtalk.DingRobotAt Maven / Gradle / Ivy

The newest version!
package com.spring.boxes.webhook.starter.push.dingtalk;

import lombok.*;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DingRobotAt implements Serializable {

    private List atMobiles;

    private List atUserIds;

    private Boolean isAtAll = Boolean.FALSE;

    public String getAtMobilesString() {
        if (atMobiles == null) return "";
        StringBuilder at = new StringBuilder();
        for (String mobile : atMobiles) {
            at.append("@").append(mobile);
        }
        return at.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy