
com.tencent.ads.model.AdcreativeVideoPopupButton Maven / Gradle / Ivy
/*
* Marketing API
* Marketing API
*
* OpenAPI spec version: 1.3
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.tencent.ads.model;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** 视频浮层按钮信息 */
@ApiModel(description = "视频浮层按钮信息")
public class AdcreativeVideoPopupButton {
@SerializedName("video_popup_button_text")
private String videoPopupButtonText = null;
@SerializedName("video_popup_button_url")
private String videoPopupButtonUrl = null;
public AdcreativeVideoPopupButton videoPopupButtonText(String videoPopupButtonText) {
this.videoPopupButtonText = videoPopupButtonText;
return this;
}
/**
* Get videoPopupButtonText
*
* @return videoPopupButtonText
*/
@ApiModelProperty(value = "")
public String getVideoPopupButtonText() {
return videoPopupButtonText;
}
public void setVideoPopupButtonText(String videoPopupButtonText) {
this.videoPopupButtonText = videoPopupButtonText;
}
public AdcreativeVideoPopupButton videoPopupButtonUrl(String videoPopupButtonUrl) {
this.videoPopupButtonUrl = videoPopupButtonUrl;
return this;
}
/**
* Get videoPopupButtonUrl
*
* @return videoPopupButtonUrl
*/
@ApiModelProperty(value = "")
public String getVideoPopupButtonUrl() {
return videoPopupButtonUrl;
}
public void setVideoPopupButtonUrl(String videoPopupButtonUrl) {
this.videoPopupButtonUrl = videoPopupButtonUrl;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdcreativeVideoPopupButton adcreativeVideoPopupButton = (AdcreativeVideoPopupButton) o;
return Objects.equals(
this.videoPopupButtonText, adcreativeVideoPopupButton.videoPopupButtonText)
&& Objects.equals(this.videoPopupButtonUrl, adcreativeVideoPopupButton.videoPopupButtonUrl);
}
@Override
public int hashCode() {
return Objects.hash(videoPopupButtonText, videoPopupButtonUrl);
}
@Override
public String toString() {
Gson gson = new Gson();
return gson.toJson(this);
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy