|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package kr.xit.biz.ens.model.nice;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
|
|
|
|
|
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
|
|
|
|
@ -52,7 +53,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@Builder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
|
|
|
|
public static class TokenRequest {
|
|
|
|
|
/**
|
|
|
|
@ -84,7 +85,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
public static class TokenResponse implements IApiResponse {
|
|
|
|
|
@Schema(requiredMode = RequiredMode.REQUIRED)
|
|
|
|
|
@Valid
|
|
|
|
@ -105,7 +106,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
public static class TokenRevokeResponse implements IApiResponse {
|
|
|
|
|
|
|
|
|
|
@Schema(requiredMode = RequiredMode.REQUIRED)
|
|
|
|
@ -124,7 +125,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
|
|
|
|
public static class TokenResDataBody {
|
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
@ -189,7 +190,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
public static class PublickeyRequest {
|
|
|
|
|
@Schema(requiredMode = RequiredMode.REQUIRED)
|
|
|
|
|
@Valid
|
|
|
|
@ -210,7 +211,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
public static class PublickeyResponse implements IApiResponse {
|
|
|
|
|
@Schema(requiredMode = RequiredMode.REQUIRED)
|
|
|
|
|
@Valid
|
|
|
|
@ -232,7 +233,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
|
|
|
|
public static class PublickeyReqDataBody {
|
|
|
|
|
/**
|
|
|
|
@ -254,7 +255,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
|
|
|
|
|
public static class PublickeyResDataBody {
|
|
|
|
|
/**
|
|
|
|
@ -342,7 +343,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.UpperSnakeCaseStrategy.class)
|
|
|
|
|
public static class RequestDataHeader {
|
|
|
|
|
|
|
|
|
@ -376,7 +377,7 @@ public class NiceCiDTO {
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
@SuperBuilder
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
|
@JsonNaming(PropertyNamingStrategies.UpperSnakeCaseStrategy.class)
|
|
|
|
|
public static class ResponseDataHeader {
|
|
|
|
|
/**
|
|
|
|
|