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

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 ru.yandex.autotests.mediaplan.datacontainersauto.api5_add_ads.Ad;

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

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

    @SerializedName("Ads")
    @Expose
    private List<Ad> ads = new ArrayList<Ad>();
    @SerializedName("ClientId")
    @Expose
    private Long clientId;
    @SerializedName("MediaplanId")
    @Expose
    private Long mediaplanId;
    @SerializedName("Timestamp")
    @Expose
    private Long timestamp;

    public List<Ad> getAds() {
        return ads;
    }

    public void setAds(List<Ad> ads) {
        this.ads = ads;
    }

    public ParamsApi5UpdateAds withAds(List<Ad> ads) {
        this.ads = ads;
        return this;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public ParamsApi5UpdateAds withClientId(Long clientId) {
        this.clientId = clientId;
        return this;
    }

    public Long getMediaplanId() {
        return mediaplanId;
    }

    public void setMediaplanId(Long mediaplanId) {
        this.mediaplanId = mediaplanId;
    }

    public ParamsApi5UpdateAds withMediaplanId(Long mediaplanId) {
        this.mediaplanId = mediaplanId;
        return this;
    }

    public Long getTimestamp() {
        return timestamp;
    }

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

    public ParamsApi5UpdateAds 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);
    }

}
