From a934fb9c343df39dd9d0a5e6f8f6b31725973a89 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 5 Apr 2023 12:31:11 -0700 Subject: Rename VideosByChannelIDQuery.java to VideosByChannelIDQueryBuilder.java --- .../com/pina/query/VideosByChannelIDQuery.java | 75 ---------------------- .../pina/query/VideosByChannelIDQueryBuilder.java | 75 ++++++++++++++++++++++ 2 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 src/main/java/com/pina/query/VideosByChannelIDQuery.java create mode 100644 src/main/java/com/pina/query/VideosByChannelIDQueryBuilder.java (limited to 'src/main/java/com/pina/query') diff --git a/src/main/java/com/pina/query/VideosByChannelIDQuery.java b/src/main/java/com/pina/query/VideosByChannelIDQuery.java deleted file mode 100644 index 73999f0..0000000 --- a/src/main/java/com/pina/query/VideosByChannelIDQuery.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.pina.query; - -public class VideosByChannelIDQuery { - private String channelId; - private String type; - private String include; - private String lang; - private Integer limit; - private Integer offset; - private String paginated; - - public VideosByChannelIDQuery setChannelId(String channelId) { - this.channelId = channelId; - return this; - } - - public VideosByChannelIDQuery setType(String type) { - this.type = type; - return this; - } - - public VideosByChannelIDQuery setInclude(String include) { - this.include = include; - return this; - } - - public VideosByChannelIDQuery setLang(String lang) { - this.lang = lang; - return this; - } - - public VideosByChannelIDQuery setLimit(Integer limit) { - this.limit = limit; - return this; - } - - public VideosByChannelIDQuery setOffset(Integer offset) { - this.offset = offset; - return this; - } - - public VideosByChannelIDQuery 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; - } - -} diff --git a/src/main/java/com/pina/query/VideosByChannelIDQueryBuilder.java b/src/main/java/com/pina/query/VideosByChannelIDQueryBuilder.java new file mode 100644 index 0000000..ddaa3ec --- /dev/null +++ b/src/main/java/com/pina/query/VideosByChannelIDQueryBuilder.java @@ -0,0 +1,75 @@ +package com.pina.query; + +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; + } + +} -- cgit v1.2.3