package cn.hztech.sdk.model.request;

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

import java.util.Map;

/**
 * API更新请求
 */
@Data
public class ApiUpdateRequest {

    @JsonProperty("id")
    private String id;

    @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("responseParams")
    private Map<String,Object> responseParams;

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