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

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

    @SerializedName("Timestamp")
    @Expose
    private Long timestamp;
    @SerializedName("UpdateResults")
    @Expose
    private List<UpdateResult> updateResults = new ArrayList<UpdateResult>();

    public Long getTimestamp() {
        return timestamp;
    }

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

    public Api5UpdateAdsResult withTimestamp(Long timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public List<UpdateResult> getUpdateResults() {
        return updateResults;
    }

    public void setUpdateResults(List<UpdateResult> updateResults) {
        this.updateResults = updateResults;
    }

    public Api5UpdateAdsResult withUpdateResults(List<UpdateResult> updateResults) {
        this.updateResults = updateResults;
        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);
    }

}
