ch.viascom.hipchat.api.models.message.MessageLink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hipchat-api Show documentation
Show all versions of hipchat-api Show documentation
A HipChat v2 API full implementation for Java
package ch.viascom.hipchat.api.models.message;
import ch.viascom.hipchat.api.models.message.links.MessageLinkContent;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import java.io.Serializable;
/**
* Created by patrickboesch on 21.04.16.
*/
@Data
public class MessageLink implements Serializable {
private MessageLinkType type;
private String url;
@SerializedName(value = "image", alternate = {"video", "link", "twitter_status", "twitter_user"})
private MessageLinkContent content;
}