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

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

    @SerializedName("AdImageHash")
    @Expose
    private String adImageHash;
    @SerializedName("Href")
    @Expose
    private String href;
    @SerializedName("SitelinksSetId")
    @Expose
    private Long sitelinksSetId;
    @SerializedName("Text")
    @Expose
    private String text;
    @SerializedName("Title")
    @Expose
    private String title;
    @SerializedName("VCardId")
    @Expose
    private Long vCardId;

    public String getAdImageHash() {
        return adImageHash;
    }

    public void setAdImageHash(String adImageHash) {
        this.adImageHash = adImageHash;
    }

    public TextAd withAdImageHash(String adImageHash) {
        this.adImageHash = adImageHash;
        return this;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public TextAd withHref(String href) {
        this.href = href;
        return this;
    }

    public Long getSitelinksSetId() {
        return sitelinksSetId;
    }

    public void setSitelinksSetId(Long sitelinksSetId) {
        this.sitelinksSetId = sitelinksSetId;
    }

    public TextAd withSitelinksSetId(Long sitelinksSetId) {
        this.sitelinksSetId = sitelinksSetId;
        return this;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public TextAd withText(String text) {
        this.text = text;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public TextAd withTitle(String title) {
        this.title = title;
        return this;
    }

    public Long getVCardId() {
        return vCardId;
    }

    public void setVCardId(Long vCardId) {
        this.vCardId = vCardId;
    }

    public TextAd withVCardId(Long vCardId) {
        this.vCardId = vCardId;
        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);
    }

}
