Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
ca6cf2a7
Commit
ca6cf2a7
authored
Feb 04, 2017
by
Mirko Friedenhagen
Committed by
Tim Olshansky
Feb 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add additional fields for Runner. (#186)
The current model is missing some fields.
parent
ee7bc843
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
1 deletion
+80
-1
GitlabRunner.java
src/main/java/org/gitlab/api/models/GitlabRunner.java
+80
-1
No files found.
src/main/java/org/gitlab/api/models/GitlabRunner.java
View file @
ca6cf2a7
...
...
@@ -3,14 +3,27 @@ package org.gitlab.api.models;
import
com.fasterxml.jackson.annotation.JsonProperty
;
public
class
GitlabRunner
{
import
java.util.Date
;
import
java.util.List
;
public
class
GitlabRunner
{
private
Integer
id
;
private
String
description
;
private
Boolean
active
;
@JsonProperty
(
"is_shared"
)
private
Boolean
isShared
;
private
String
name
;
private
String
version
;
private
String
revision
;
@JsonProperty
(
"contacted_at"
)
private
Date
contactedAt
;
@JsonProperty
(
"tag_list"
)
private
List
<
String
>
tagList
;
@JsonProperty
(
"run_untagged"
)
private
Boolean
runUntagged
;
private
Boolean
locked
;
private
String
platform
;
private
String
architecture
;
public
Integer
getId
()
{
return
id
;
...
...
@@ -51,4 +64,70 @@ public class GitlabRunner {
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getVersion
()
{
return
version
;
}
public
void
setVersion
(
String
version
)
{
this
.
version
=
version
;
}
public
String
getRevision
()
{
return
revision
;
}
public
void
setRevision
(
String
revision
)
{
this
.
revision
=
revision
;
}
public
Date
getContactedAt
()
{
return
contactedAt
;
}
public
void
setContactedAt
(
Date
contactedAt
)
{
this
.
contactedAt
=
contactedAt
;
}
public
List
<
String
>
getTagList
()
{
return
tagList
;
}
public
void
setTagList
(
List
<
String
>
tagList
)
{
this
.
tagList
=
tagList
;
}
public
Boolean
isRunUntagged
()
{
return
runUntagged
;
}
public
void
setRunUntagged
(
boolean
runUntagged
)
{
this
.
runUntagged
=
runUntagged
;
}
public
Boolean
isLocked
()
{
return
locked
;
}
public
void
setLocked
(
boolean
locked
)
{
this
.
locked
=
locked
;
}
public
String
getPlatform
()
{
return
platform
;
}
public
void
setPlatform
(
String
platform
)
{
this
.
platform
=
platform
;
}
public
String
getArchitecture
()
{
return
architecture
;
}
public
void
setArchitecture
(
String
architecture
)
{
this
.
architecture
=
architecture
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment