package cn.hztech.sdk.model.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Map;

/**
 * API创建请求
 */
@Data
public class ApiCreateRequest {

    @JsonProperty("apiName")
    private String apiName;

    @JsonProperty("apiCode")
    private String apiCode;

    @JsonProperty("apiPath")
    private String apiPath;

    @JsonProperty("apiMethod")
    private String apiMethod;

    @JsonProperty("description")
    private String description;

    @JsonProperty("requestParams")
    private Map<String,Object> requestParams;

    @JsonProperty("requestBody")
    private Map<String,Object> requestBody;

    @JsonProperty("responseParams")
    private Map<String,Object> responseParams;

    @JsonProperty("rateLimit")
    private Integer rateLimit;

    @JsonProperty("status")
    private Integer status;
}
