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 ALX8sXeSS {

    @SerializedName("my_feed")
    @Expose
    private MyFeed myFeed;
    @SerializedName("category_news")
    @Expose
    private List<CategoryNews> categoryNews = new ArrayList<CategoryNews>();

    /**
     * 
     * @return
     *     The myFeed
     */
    public MyFeed getMyFeed() {
        return myFeed;
    }

    /**
     * 
     * @param myFeed
     *     The my_feed
     */
    public void setMyFeed(MyFeed myFeed) {
        this.myFeed = myFeed;
    }

    /**
     * 
     * @return
     *     The categoryNews
     */
    public List<CategoryNews> getCategoryNews() {
        return categoryNews;
    }

    /**
     * 
     * @param categoryNews
     *     The category_news
     */
    public void setCategoryNews(List<CategoryNews> categoryNews) {
        this.categoryNews = categoryNews;
    }

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

    @Override
    public int hashCode() {
        return new HashCodeBuilder().append(myFeed).append(categoryNews).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof ALX8sXeSS) == false) {
            return false;
        }
        ALX8sXeSS rhs = ((ALX8sXeSS) other);
        return new EqualsBuilder().append(myFeed, rhs.myFeed).append(categoryNews, rhs.categoryNews).isEquals();
    }

}
