DTOs

mail@pastecode.io avatar
unknown
plain_text
8 months ago
1.0 kB
3
Indexable
Never
DTOs -

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class ZtpData {
  private Boolean isZtp;

  @NonNull private CallRecordingConstant.ZtpStatus status;

  private RemarkData remark;
}

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class RemarkData {
  private String sentence;
  private Double ztpscore;
}

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class AnalyticsEngineAuditInfoDto {
  //  @NonNull
  //  @Pattern(regexp = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$")
  private String externalReferenceId;

  //  @NonNull
  //  @Pattern(regexp = "^s3:\\/\\/([^/]+)\\/([\\w\\W]+)\\.(.*)")
  private String sourceRecordingPath;

  //  @NonNull
  private String destinationTranscriptionPath;

  //  @NonNull
  private String lineOfBusiness;

  //  @NonNull
  private CallRecordingConstant.Status status;

  private ZtpData result;
}
Leave a Comment