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

com.tencent.ads.model.AuditRejectItem 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;

/** 商品失败信息Item */
@ApiModel(description = "商品失败信息Item")
public class AuditRejectItem {
  @SerializedName("feed_id")
  private Long feedId = null;

  @SerializedName("product_id")
  private String productId = null;

  @SerializedName("system_status")
  private AuditStatus systemStatus = null;

  @SerializedName("reject_message")
  private String rejectMessage = null;

  public AuditRejectItem feedId(Long feedId) {
    this.feedId = feedId;
    return this;
  }

  /**
   * Get feedId
   *
   * @return feedId
   */
  @ApiModelProperty(value = "")
  public Long getFeedId() {
    return feedId;
  }

  public void setFeedId(Long feedId) {
    this.feedId = feedId;
  }

  public AuditRejectItem productId(String productId) {
    this.productId = productId;
    return this;
  }

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

  public void setProductId(String productId) {
    this.productId = productId;
  }

  public AuditRejectItem systemStatus(AuditStatus systemStatus) {
    this.systemStatus = systemStatus;
    return this;
  }

  /**
   * Get systemStatus
   *
   * @return systemStatus
   */
  @ApiModelProperty(value = "")
  public AuditStatus getSystemStatus() {
    return systemStatus;
  }

  public void setSystemStatus(AuditStatus systemStatus) {
    this.systemStatus = systemStatus;
  }

  public AuditRejectItem rejectMessage(String rejectMessage) {
    this.rejectMessage = rejectMessage;
    return this;
  }

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

  public void setRejectMessage(String rejectMessage) {
    this.rejectMessage = rejectMessage;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AuditRejectItem auditRejectItem = (AuditRejectItem) o;
    return Objects.equals(this.feedId, auditRejectItem.feedId)
        && Objects.equals(this.productId, auditRejectItem.productId)
        && Objects.equals(this.systemStatus, auditRejectItem.systemStatus)
        && Objects.equals(this.rejectMessage, auditRejectItem.rejectMessage);
  }

  @Override
  public int hashCode() {
    return Objects.hash(feedId, productId, systemStatus, rejectMessage);
  }

  @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