import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

@Generated("org.jsonschema2pojo")
public class MyFeed {

    @SerializedName("news")
    @Expose
    private List<News> news = new ArrayList<News>();
    @SerializedName("focus")
    @Expose
    private List<Focu> focus = new ArrayList<Focu>();
    @SerializedName("trending")
    @Expose
    private List<Trending> trending = new ArrayList<Trending>();

    /**
     * 
     * @return
     *     The news
     */
    public List<News> getNews() {
        return news;
    }

    /**
     * 
     * @param news
     *     The news
     */
    public void setNews(List<News> news) {
        this.news = news;
    }

    /**
     * 
     * @return
     *     The focus
     */
    public List<Focu> getFocus() {
        return focus;
    }

    /**
     * 
     * @param focus
     *     The focus
     */
    public void setFocus(List<Focu> focus) {
        this.focus = focus;
    }

    /**
     * 
     * @return
     *     The trending
     */
    public List<Trending> getTrending() {
        return trending;
    }

    /**
     * 
     * @param trending
     *     The trending
     */
    public void setTrending(List<Trending> trending) {
        this.trending = trending;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    @Override
    public int hashCode() {
        return new HashCodeBuilder().append(news).append(focus).append(trending).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof MyFeed) == false) {
            return false;
        }
        MyFeed rhs = ((MyFeed) other);
        return new EqualsBuilder().append(news, rhs.news).append(focus, rhs.focus).append(trending, rhs.trending).isEquals();
    }

}
