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

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;

import javax.annotation.Generated;
import java.util.ArrayList;
import java.util.List;

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

    @SerializedName("AddResults")
    @Expose
    private List<AddResult> addResults = new ArrayList<AddResult>();
    @SerializedName("Timestamp")
    @Expose
    private Long timestamp;

    public List<AddResult> getAddResults() {
        return addResults;
    }

    public void setAddResults(List<AddResult> addResults) {
        this.addResults = addResults;
    }

    public Api5AddSitelinksResult withAddResults(List<AddResult> addResults) {
        this.addResults = addResults;
        return this;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Api5AddSitelinksResult withTimestamp(Long timestamp) {
        this.timestamp = timestamp;
        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);
    }

}
