package weiboclient4j.model;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.type.TypeReference;

import java.util.List;

/**
 * @author Hover Ruan
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Count {
    public static final TypeReference<List<Count>> TYPE_COUNT_LIST = new TypeReference<List<Count>>() {
    };

    private long id;
    private int comments;
    private int reposts;

    // API V1 fields
    private int rt;

    public long getId() {
        return id;
    }

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

    public int getComments() {
        return comments;
    }

    public void setComments(int comments) {
        this.comments = comments;
    }

    public int getRt() {
        return rt;
    }

    public void setRt(int rt) {
        this.rt = rt;
    }

    public int getReposts() {
        return reposts;
    }

    public void setReposts(int reposts) {
        this.reposts = reposts;
    }
}

@@ -433,16 +433,43 @@
 reposts;
+%0A    private int attitudes;
 %0A%0A    //
@@ -1018,11 +1018,165 @@
 s;%0A    %7D
+%0A%0A    public int getAttitudes() %7B%0A        return attitudes;%0A    %7D%0A%0A    public void setAttitudes(int attitudes) %7B%0A        this.attitudes = attitudes;%0A    %7D
 %0A%7D%0A

support the field of attitudes in Count