
package ru.yandex.autotests.mediaplan.datacontainersauto.api5_add_sitelinks;

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.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

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

    @SerializedName("DirectSitelinksSetId")
    @Expose
    private Long directSitelinksSetId;
    @SerializedName("Sitelinks")
    @Expose
    private List<Sitelink> sitelinks = new ArrayList<Sitelink>();

    public Long getDirectSitelinksSetId() {
        return directSitelinksSetId;
    }

    public void setDirectSitelinksSetId(Long directSitelinksSetId) {
        this.directSitelinksSetId = directSitelinksSetId;
    }

    public SitelinksSet withDirectSitelinksSetId(Long directSitelinksSetId) {
        this.directSitelinksSetId = directSitelinksSetId;
        return this;
    }

    public List<Sitelink> getSitelinks() {
        return sitelinks;
    }

    public void setSitelinks(List<Sitelink> sitelinks) {
        this.sitelinks = sitelinks;
    }

    public SitelinksSet withSitelinks(List<Sitelink> sitelinks) {
        this.sitelinks = sitelinks;
        return this;
    }

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

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public boolean equals(Object other) {
        return EqualsBuilder.reflectionEquals(this, other);
    }

}
