aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/BitbucketPullRequestResponseValueRepository.java
blob: f97c0107fa18009709e5417df2518193e388e4c3 (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
package bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket;

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

/**
 * Created by nishio
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BitbucketPullRequestResponseValueRepository {
    private BitbucketPullRequestResponseValueRepositoryRepository repository;
    private BitbucketPullRequestResponseValueRepositoryBranch branch;
    private BitbucketPullRequestResponseValueRepositoryCommit commit;

    @JsonProperty("repository")
    public BitbucketPullRequestResponseValueRepositoryRepository getRepository() {
        return repository;
    }

    @JsonProperty("repository")
    public void setRepository(BitbucketPullRequestResponseValueRepositoryRepository repository) {
        this.repository = repository;
    }

    @JsonProperty("branch")
    public BitbucketPullRequestResponseValueRepositoryBranch getBranch() {
        return branch;
    }

    @JsonProperty("branch")
    public void setBranch(BitbucketPullRequestResponseValueRepositoryBranch branch) {
        this.branch = branch;
    }

    @JsonProperty("commit")
    public BitbucketPullRequestResponseValueRepositoryCommit getCommit() {
        return commit;
    }

    @JsonProperty("commit")
    public void setCommit(BitbucketPullRequestResponseValueRepositoryCommit commit) {
        this.commit = commit;
    }
}