cn.authing.sdk.java.dto.CreateAccessKeyResponseDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import cn.authing.sdk.java.dto.CreateAccessKeyRespDto;
public class CreateAccessKeyResponseDto {
/**
* 业务状态码,可以通过此状态码判断操作是否成功,200 表示成功。
*/
@JsonProperty("statusCode")
private Integer statusCode;
/**
* 描述信息
*/
@JsonProperty("message")
private String message;
/**
* 细分错误码,可通过此错误码得到具体的错误类型(成功请求不返回)。详细错误码列表请见:[API Code 列表](https://api-explorer.authing.cn/?tag=group/%E5%BC%80%E5%8F%91%E5%87%86%E5%A4%87#tag/%E5%BC%80%E5%8F%91%E5%87%86%E5%A4%87/%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86/apiCode)
*/
@JsonProperty("apiCode")
private Integer apiCode;
/**
* 请求 ID。当请求失败时会返回。
*/
@JsonProperty("requestId")
private String requestId;
/**
* 响应数据
*/
@JsonProperty("data")
private List data;
public Integer getStatusCode() {
return statusCode;
}
public void setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getApiCode() {
return apiCode;
}
public void setApiCode(Integer apiCode) {
this.apiCode = apiCode;
}
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
}