aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/BitbucketPullRequestResponse.java
blob: 82e6009de18ccdeb2aa0a38f0d1920ae3554ab4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

import java.util.List;

/**
 * Created by nishio
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BitbucketPullRequestResponse {
    private int pageLength;
    private List<BitbucketPullRequestResponseValue> prValues;
    private int page;
    private int size;

    @JsonProperty("pagelen")
    public int getPageLength() {
        return pageLength;
    }

    @JsonProperty("pagelen")
    public void setPageLength(int pageLength) {
        this.pageLength = pageLength;
    }

    @JsonProperty("values")
    public List<BitbucketPullRequestResponseValue> getPrValues() {
        return prValues;
    }

    @JsonProperty("values")
    public void setPrValues(List<BitbucketPullRequestResponseValue> prValues) {
        this.prValues = prValues;
    }

    @JsonProperty("page")
    public int getPage() {
        return page;
    }

    @JsonProperty("page")
    public void setPage(int page) {
        this.page = page;
    }

    @JsonProperty("size")
    public int getSize() {
        return size;
    }

    @JsonProperty("size")
    public void setSize(int size) {
        this.size = size;
    }

}