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

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

  @SerializedName("brand_name")
  private String brandName = null;

  @SerializedName("brand_description")
  private String brandDescription = null;

  public BrandStruct brandImg(String brandImg) {
    this.brandImg = brandImg;
    return this;
  }

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

  public void setBrandImg(String brandImg) {
    this.brandImg = brandImg;
  }

  public BrandStruct brandName(String brandName) {
    this.brandName = brandName;
    return this;
  }

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

  public void setBrandName(String brandName) {
    this.brandName = brandName;
  }

  public BrandStruct brandDescription(String brandDescription) {
    this.brandDescription = brandDescription;
    return this;
  }

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

  public void setBrandDescription(String brandDescription) {
    this.brandDescription = brandDescription;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BrandStruct brandStruct = (BrandStruct) o;
    return Objects.equals(this.brandImg, brandStruct.brandImg)
        && Objects.equals(this.brandName, brandStruct.brandName)
        && Objects.equals(this.brandDescription, brandStruct.brandDescription);
  }

  @Override
  public int hashCode() {
    return Objects.hash(brandImg, brandName, brandDescription);
  }

  @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