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

import java.lang.*;
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 DeleteResult {

    @SerializedName("Errors")
    @Expose
    private List<java.lang.Error> errors = new ArrayList<java.lang.Error>();
    @SerializedName("Id")
    @Expose
    private Long id;
    @SerializedName("Warnings")
    @Expose
    private List<Warning> warnings = new ArrayList<Warning>();

    public List<java.lang.Error> getErrors() {
        return errors;
    }

    public void setErrors(List<java.lang.Error> errors) {
        this.errors = errors;
    }

    public DeleteResult withErrors(List<java.lang.Error> errors) {
        this.errors = errors;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public DeleteResult withId(Long id) {
        this.id = id;
        return this;
    }

    public List<Warning> getWarnings() {
        return warnings;
    }

    public void setWarnings(List<Warning> warnings) {
        this.warnings = warnings;
    }

    public DeleteResult withWarnings(List<Warning> warnings) {
        this.warnings = warnings;
        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);
    }

}
