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

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

    @SerializedName("Mediaplans")
    @Expose
    private List<Mediaplan> mediaplans = new ArrayList<Mediaplan>();

    public List<Mediaplan> getMediaplans() {
        return mediaplans;
    }

    public void setMediaplans(List<Mediaplan> mediaplans) {
        this.mediaplans = mediaplans;
    }

    public ParamsApi5AddMediaplans withMediaplans(List<Mediaplan> mediaplans) {
        this.mediaplans = mediaplans;
        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);
    }

}
