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

com.pdd.pop.sdk.http.api.pop.request.PddAdApiGoodsQueryLongImagesRequest Maven / Gradle / Ivy

The newest version!
package com.pdd.pop.sdk.http.api.pop.request;

import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.api.pop.response.PddAdApiGoodsQueryLongImagesResponse;
import com.pdd.pop.sdk.http.HttpMethod;
import com.pdd.pop.sdk.http.PopBaseHttpRequest;

import java.util.Map;

public class PddAdApiGoodsQueryLongImagesRequest extends PopBaseHttpRequest {

    /**
     * 商品Id
     */
    @JsonProperty("goodsId")
    private Long goodsId;

    @Override
    public String getVersion() {
        return "V1";
    }

    @Override
    public String getDataType() {
        return "JSON";
    }

    @Override
    public Integer getPlatform() {
        return 0;
    }

    @Override
    public String getType() {
        return "pdd.ad.api.goods.query.long.images";
    }

    @Override
    public HttpMethod getHttpMethod() {
        return HttpMethod.POST;
    }

    @Override
    public Class getResponseClass() {
        return PddAdApiGoodsQueryLongImagesResponse.class;
    }

    @Override
    protected void setUserParams(Map params) {
        setUserParam(params, "goodsId", goodsId);
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy