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

ch.viascom.hipchat.api.models.message.MessageFrom Maven / Gradle / Ivy

There is a newer version: 2.1-RC3
Show newest version
package ch.viascom.hipchat.api.models.message;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by Patrick Bösch on 04.05.16.
 */
@Data
@NoArgsConstructor
public class MessageFrom implements Serializable {
    /**
     * The user ID
     */
    private int id;

    /**
     * User's @mention name
     */
    @SerializedName("mention_name")
    private String mentionName;

    /**
     * The display user name
     */
    private String name;

    /**
     * An etag-like random version string.
     */
    private String version;

    public MessageFrom(String name){
        this.name = name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy