koalanlp / kr.bydelta.koala.etri / ResultPayload

ResultPayload

data class ResultPayload (source)

ETRI Open API의 분석 결과 Json을 해석한 객체

Parameters

code - 분석 결과코드. 0: 정상, -1: 비정상

msg - 서버 메시지 (오류가 있을때만 not null)

result - 분석 결과 객체. ResultContent 또는 null

Constructors

<init>

ETRI Open API의 분석 결과 Json을 해석한 객체

ResultPayload(code: Int, msg: String = "", result: ResultContent = ResultContent())

Properties

code

분석 결과코드. 0: 정상, -1: 비정상

val code: Int

msg

서버 메시지 (오류가 있을때만 not null)

val msg: String

result

분석 결과 객체. ResultContent 또는 null

val result: ResultContent