Skip to content

Commit

Permalink
refactor: Modify download naming & Delete ResultDto
Browse files Browse the repository at this point in the history
  • Loading branch information
npole0103 committed Oct 20, 2022
1 parent ded51b8 commit d87f1cd
Showing 1 changed file with 1 addition and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Request {
@Builder
@AllArgsConstructor
@NoArgsConstructor
class ObjectUrl {
class Download {
@NotBlank
private String objectUrl;
}
Expand Down Expand Up @@ -64,25 +64,4 @@ class PullRequest {
private String pullRequestUrl;
}

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
class Result {
@NotNull
private Long id;

@NotBlank
@Pattern(regexp = "(?:https://)github.com[:/](.*).git")
private String githubOriginalUrl;

@NotBlank
private String readmeText;

private String objectUrl;

@DateTimeFormat
private LocalDateTime createdTime;
}
}

0 comments on commit d87f1cd

Please sign in to comment.