File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ public class SshKey {
1212 private String title ;
1313 private String key ;
1414 private Date createdAt ;
15+ private Date expiresAt ;
1516
1617 private Long userId ;
1718
@@ -47,6 +48,14 @@ public void setCreatedAt(Date createdAt) {
4748 this .createdAt = createdAt ;
4849 }
4950
51+ public Date getExpiresAt () {
52+ return expiresAt ;
53+ }
54+
55+ public void setExpiresAt (Date expiresAt ) {
56+ this .expiresAt = expiresAt ;
57+ }
58+
5059 @ JsonIgnore
5160 public Long getUserId () {
5261 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"
67}
You can’t perform that action at this time.
0 commit comments