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

com.tencent.ads.model.ProductItemsDetailGetResponseData 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.ApiModelProperty;
import java.util.Objects;

/** ProductItemsDetailGetResponseData */
public class ProductItemsDetailGetResponseData {
  @SerializedName("feed_id")
  private Long feedId = null;

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

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

  @SerializedName("product_item_spec")
  private ProductItemSpec productItemSpec = null;

  public ProductItemsDetailGetResponseData 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 ProductItemsDetailGetResponseData 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 ProductItemsDetailGetResponseData 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;
  }

  public ProductItemsDetailGetResponseData productItemSpec(ProductItemSpec productItemSpec) {
    this.productItemSpec = productItemSpec;
    return this;
  }

  /**
   * Get productItemSpec
   *
   * @return productItemSpec
   */
  @ApiModelProperty(value = "")
  public ProductItemSpec getProductItemSpec() {
    return productItemSpec;
  }

  public void setProductItemSpec(ProductItemSpec productItemSpec) {
    this.productItemSpec = productItemSpec;
  }

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

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

  @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