All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.ads.model.FloatAppDownloadSpec 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 FloatAppDownloadSpec {
  @SerializedName("title")
  private String title = null;

  @SerializedName("font_color")
  private String fontColor = null;

  @SerializedName("bg_color")
  private String bgColor = null;

  @SerializedName("app_ios_spec")
  private CanvasAppIosSpecType appIosSpec = null;

  @SerializedName("app_android_spec")
  private CanvasAppAndroidSpecType appAndroidSpec = null;

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

  /**
   * Get title
   *
   * @return title
   */
  @ApiModelProperty(value = "")
  public String getTitle() {
    return title;
  }

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

  public FloatAppDownloadSpec fontColor(String fontColor) {
    this.fontColor = fontColor;
    return this;
  }

  /**
   * Get fontColor
   *
   * @return fontColor
   */
  @ApiModelProperty(value = "")
  public String getFontColor() {
    return fontColor;
  }

  public void setFontColor(String fontColor) {
    this.fontColor = fontColor;
  }

  public FloatAppDownloadSpec bgColor(String bgColor) {
    this.bgColor = bgColor;
    return this;
  }

  /**
   * Get bgColor
   *
   * @return bgColor
   */
  @ApiModelProperty(value = "")
  public String getBgColor() {
    return bgColor;
  }

  public void setBgColor(String bgColor) {
    this.bgColor = bgColor;
  }

  public FloatAppDownloadSpec appIosSpec(CanvasAppIosSpecType appIosSpec) {
    this.appIosSpec = appIosSpec;
    return this;
  }

  /**
   * Get appIosSpec
   *
   * @return appIosSpec
   */
  @ApiModelProperty(value = "")
  public CanvasAppIosSpecType getAppIosSpec() {
    return appIosSpec;
  }

  public void setAppIosSpec(CanvasAppIosSpecType appIosSpec) {
    this.appIosSpec = appIosSpec;
  }

  public FloatAppDownloadSpec appAndroidSpec(CanvasAppAndroidSpecType appAndroidSpec) {
    this.appAndroidSpec = appAndroidSpec;
    return this;
  }

  /**
   * Get appAndroidSpec
   *
   * @return appAndroidSpec
   */
  @ApiModelProperty(value = "")
  public CanvasAppAndroidSpecType getAppAndroidSpec() {
    return appAndroidSpec;
  }

  public void setAppAndroidSpec(CanvasAppAndroidSpecType appAndroidSpec) {
    this.appAndroidSpec = appAndroidSpec;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    FloatAppDownloadSpec floatAppDownloadSpec = (FloatAppDownloadSpec) o;
    return Objects.equals(this.title, floatAppDownloadSpec.title)
        && Objects.equals(this.fontColor, floatAppDownloadSpec.fontColor)
        && Objects.equals(this.bgColor, floatAppDownloadSpec.bgColor)
        && Objects.equals(this.appIosSpec, floatAppDownloadSpec.appIosSpec)
        && Objects.equals(this.appAndroidSpec, floatAppDownloadSpec.appAndroidSpec);
  }

  @Override
  public int hashCode() {
    return Objects.hash(title, fontColor, bgColor, appIosSpec, appAndroidSpec);
  }

  @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