File tree 2 files changed +15
-5
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ public class SshKey {
12
12
private String title ;
13
13
private String key ;
14
14
private Date createdAt ;
15
+ private Date expiresAt ;
15
16
16
17
private Long userId ;
17
18
@@ -47,6 +48,14 @@ public void setCreatedAt(Date createdAt) {
47
48
this .createdAt = createdAt ;
48
49
}
49
50
51
+ public Date getExpiresAt () {
52
+ return expiresAt ;
53
+ }
54
+
55
+ public void setExpiresAt (Date expiresAt ) {
56
+ this .expiresAt = expiresAt ;
57
+ }
58
+
50
59
@ JsonIgnore
51
60
public Long getUserId () {
52
61
return userId ;
Original file line number Diff line number Diff line change 1
- {
2
- "id" : 1 ,
3
- "title" : " Public key" ,
4
- "key" : " ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" ,
5
- "created_at" : " 2014-08-01T14:47:39.080Z"
1
+ {
2
+ "id" : 1 ,
3
+ "title" : " Public key" ,
4
+ "key" : " ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" ,
5
+ "created_at" : " 2014-08-01T14:47:39.080Z" ,
6
+ "expires_at" : " 2015-08-01T14:47:39.080Z"
6
7
}
You can’t perform that action at this time.
0 commit comments