com.spring.boxes.webhook.starter.push.feishu.MarkdownElement Maven / Gradle / Ivy
The newest version!
package com.spring.boxes.webhook.starter.push.feishu;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MarkdownElement implements Element {
@JsonProperty("tag")
private String tag = "markdown";
@JsonProperty("content")
private String content;
@JsonProperty("href")
private Href href;
public MarkdownElement(String content) {
this.content = content;
}
@Override
public String getTag() {
return tag;
}
}