aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/pina/query/VideosByChannelIDQueryBuilder.java
blob: 43720f9aaf11947ab7dc07fd7f8e52fd86b16cb5 (plain) (blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package com.pina.query;

/**
 * Query builder for getting videos by a given channel id
 */
public class VideosByChannelIDQueryBuilder {
    private String channelId;
    private String type;
    private String include;
    private String lang;
    private Integer limit;
    private Integer offset;
    private String paginated;

    public VideosByChannelIDQueryBuilder setChannelId(String channelId) {
        this.channelId = channelId;
        return this;
    }

    public VideosByChannelIDQueryBuilder setType(String type) {
        this.type = type;
        return this;
    }

    public VideosByChannelIDQueryBuilder setInclude(String include) {
        this.include = include;
        return this;
    }

    public VideosByChannelIDQueryBuilder setLang(String lang) {
        this.lang = lang;
        return this;
    }

    public VideosByChannelIDQueryBuilder setLimit(Integer limit) {
        this.limit = limit;
        return this;
    }

    public VideosByChannelIDQueryBuilder setOffset(Integer offset) {
        this.offset = offset;
        return this;
    }

    public VideosByChannelIDQueryBuilder setPaginated(String paginated) {
        this.paginated = paginated;
        return this;
    }

    public String getChannelId() {
        return channelId;
    }

    public String getType() {
        return type;
    }

    public String getInclude() {
        return include;
    }

    public String getLang() {
        return lang;
    }

    public Integer getLimit() {
        return limit;
    }

    public Integer getOffset() {
        return offset;
    }

    public String getPaginated() {
        return paginated;
    }

}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage