summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java')
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java154
1 files changed, 154 insertions, 0 deletions
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java
new file mode 100644
index 0000000..35f1320
--- /dev/null
+++ b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/response/Channel.java
@@ -0,0 +1,154 @@
+/**
+ * Copyright (C) 2016 The CyanogenMod Project
+ * <p/>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.cyanogenmod.yahooweatherprovider.yahoo.response;
+
+public class Channel {
+ private Wind wind;
+
+ private Location location;
+
+ private String link;
+
+ private Atmosphere atmosphere;
+
+ private Image image;
+
+ private String ttl;
+
+ private Astronomy astronomy;
+
+ private Units units;
+
+ private String title;
+
+ private String description;
+
+ private Item item;
+
+ private String lastBuildDate;
+
+ private String language;
+
+ public Wind getWind() {
+ return wind;
+ }
+
+ public void setWind(Wind wind) {
+ this.wind = wind;
+ }
+
+ public Location getLocation() {
+ return location;
+ }
+
+ public void setLocation(Location location) {
+ this.location = location;
+ }
+
+ public String getLink() {
+ return link;
+ }
+
+ public void setLink(String link) {
+ this.link = link;
+ }
+
+ public Atmosphere getAtmosphere() {
+ return atmosphere;
+ }
+
+ public void setAtmosphere(Atmosphere atmosphere) {
+ this.atmosphere = atmosphere;
+ }
+
+ public Image getImage() {
+ return image;
+ }
+
+ public void setImage(Image image) {
+ this.image = image;
+ }
+
+ public String getTtl() {
+ return ttl;
+ }
+
+ public void setTtl(String ttl) {
+ this.ttl = ttl;
+ }
+
+ public Astronomy getAstronomy() {
+ return astronomy;
+ }
+
+ public void setAstronomy(Astronomy astronomy) {
+ this.astronomy = astronomy;
+ }
+
+ public Units getUnits() {
+ return units;
+ }
+
+ public void setUnits(Units units) {
+ this.units = units;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public Item getItem() {
+ return item;
+ }
+
+ public void setItem(Item item) {
+ this.item = item;
+ }
+
+ public String getLastBuildDate() {
+ return lastBuildDate;
+ }
+
+ public void setLastBuildDate(String lastBuildDate) {
+ this.lastBuildDate = lastBuildDate;
+ }
+
+ public String getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(String language) {
+ this.language = language;
+ }
+
+ @Override
+ public String toString() {
+ return "[wind = " + wind + ", location = " + location + ", link = " + link + ", atmosphere = " + atmosphere + ", image = " + image + ", ttl = " + ttl + ", astronomy = " + astronomy + ", units = " + units + ", title = " + title + ", description = " + description + ", item = " + item + ", lastBuildDate = " + lastBuildDate + ", language = " + language + "]";
+ }
+} \ No newline at end of file