aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java')
-rw-r--r--src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java b/src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java
new file mode 100644
index 0000000..821df24
--- /dev/null
+++ b/src/main/java/com/pinapelz/query/VideosByChannelIDQueryBuilder.java
@@ -0,0 +1,78 @@
+package com.pinapelz.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