com.pdd.pop.sdk.http.api.pop.response.PddAdApiGoodsQueryPageResponse Maven / Gradle / Ivy
package com.pdd.pop.sdk.http.api.pop.response;
import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.PopBaseHttpResponse;
import java.util.List;
public class PddAdApiGoodsQueryPageResponse extends PopBaseHttpResponse {
/**
*
*/
@JsonProperty("response")
private Response response;
public Response getResponse() {
return response;
}
public static class Response {
/**
*
*/
@JsonProperty("errorCode")
private Integer errorCode;
/**
*
*/
@JsonProperty("errorMsg")
private String errorMsg;
/**
*
*/
@JsonProperty("result")
private ResponseResult result;
/**
*
*/
@JsonProperty("success")
private Boolean success;
public Integer getErrorCode() {
return errorCode;
}
public String getErrorMsg() {
return errorMsg;
}
public ResponseResult getResult() {
return result;
}
public Boolean getSuccess() {
return success;
}
}
public static class ResponseResult {
/**
*
*/
@JsonProperty("result")
private List result;
/**
*
*/
@JsonProperty("total")
private Long total;
public List getResult() {
return result;
}
public Long getTotal() {
return total;
}
}
public static class ResponseResultResultItem {
/**
* 商品类目Id
*/
@JsonProperty("catId")
private Long catId;
/**
* 商品类目名称
*/
@JsonProperty("catName")
private String catName;
/**
* 商品Id
*/
@JsonProperty("goodsId")
private Long goodsId;
/**
* 商品名称
*/
@JsonProperty("goodsName")
private String goodsName;
/**
* 商品最小团购价
*/
@JsonProperty("minGroupPrice")
private Long minGroupPrice;
/**
* 商品库存
*/
@JsonProperty("quantity")
private Long quantity;
/**
* 商品销量
*/
@JsonProperty("soldQuantity")
private Long soldQuantity;
/**
* 商品图片链接
*/
@JsonProperty("thumbUrl")
private String thumbUrl;
public Long getCatId() {
return catId;
}
public String getCatName() {
return catName;
}
public Long getGoodsId() {
return goodsId;
}
public String getGoodsName() {
return goodsName;
}
public Long getMinGroupPrice() {
return minGroupPrice;
}
public Long getQuantity() {
return quantity;
}
public Long getSoldQuantity() {
return soldQuantity;
}
public String getThumbUrl() {
return thumbUrl;
}
}
}