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

org.gitlab.api.models.GitlabAward Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
package org.gitlab.api.models;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

public class GitlabAward {

    public static final String THUMBSUP = "thumbsup";

    public static final String THUMBSDOWN = "thumbsdown";

    public static final String ISSUE = "Issue";

    public static final String NOTE = "Note";
    
	public static final String URL = "/award_emoji";

    private Integer id;
    
    private String name;
    
    private GitlabUser user;

    @JsonProperty("created_at")
    private Date createdAt;

    @JsonProperty("updated_at")
    private Date updatedAt;

    @JsonProperty("awardable_id")
    private Integer awardableId;

    @JsonProperty("awardable_type")
    private String awardableType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setBody(String body) {
        this.name = body;
    }

    public GitlabUser getUser() {
        return user;
    }

    public void setUser(GitlabUser user) {
        this.user = user;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
    
    public Integer getAwardableId() {
        return awardableId;
    }

    public void setAwardableId(Integer awardableId) {
        this.awardableId = awardableId;
    }
    
    public String getAwardableType() {
        return awardableType;
    }

    public void setAwardableType(String awardableType) {
        this.awardableType = awardableType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy