Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
45ff580c
Commit
45ff580c
authored
Apr 16, 2019
by
Greg Messner
Browse files
Removed use of JAXB (#327).
parent
7a0906fd
Changes
113
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/DeployKey.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
DeployKey
{
private
Integer
id
;
...
...
src/main/java/org/gitlab4j/api/models/Diff.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Diff
{
@JsonInclude
(
JsonInclude
.
Include
.
ALWAYS
)
...
...
src/main/java/org/gitlab4j/api/models/Discussion.java
View file @
45ff580c
...
...
@@ -2,14 +2,8 @@ package org.gitlab4j.api.models;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Discussion
{
private
String
id
;
...
...
src/main/java/org/gitlab4j/api/models/Epic.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Epic
{
private
Integer
id
;
...
...
src/main/java/org/gitlab4j/api/models/EpicIssue.java
View file @
45ff580c
...
...
@@ -3,15 +3,11 @@ package org.gitlab4j.api.models;
import
java.util.Map
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
org.gitlab4j.api.utils.JacksonJson
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonProperty
;
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
EpicIssue
extends
Issue
{
private
Integer
downvotes
;
...
...
src/main/java/org/gitlab4j/api/models/Event.java
View file @
45ff580c
...
...
@@ -3,15 +3,9 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.Constants.TargetType
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Event
{
private
String
actionName
;
...
...
src/main/java/org/gitlab4j/api/models/EventData.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
EventData
{
private
String
after
;
...
...
src/main/java/org/gitlab4j/api/models/FileUpload.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
FileUpload
{
private
String
alt
;
...
...
src/main/java/org/gitlab4j/api/models/Group.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Group
{
public
class
Statistics
{
...
...
src/main/java/org/gitlab4j/api/models/HealthCheckInfo.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
HealthCheckInfo
{
private
HealthCheckItem
dbCheck
;
private
HealthCheckItem
redisCheck
;
...
...
src/main/java/org/gitlab4j/api/models/HealthCheckItem.java
View file @
45ff580c
...
...
@@ -2,12 +2,8 @@ package org.gitlab4j.api.models;
import
java.util.Map
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
HealthCheckItem
{
private
HealthCheckStatus
status
;
private
Map
<
String
,
String
>
labels
;
...
...
src/main/java/org/gitlab4j/api/models/Identity.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Identity
{
private
String
provider
;
...
...
src/main/java/org/gitlab4j/api/models/ImpersonationToken.java
View file @
45ff580c
...
...
@@ -3,16 +3,12 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
org.gitlab4j.api.utils.JacksonJson
;
import
org.gitlab4j.api.utils.JacksonJsonEnumHelper
;
import
com.fasterxml.jackson.annotation.JsonCreator
;
import
com.fasterxml.jackson.annotation.JsonValue
;
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
ImpersonationToken
{
/** Enum to specify the scope of an ImpersonationToken. */
...
...
src/main/java/org/gitlab4j/api/models/Issue.java
View file @
45ff580c
...
...
@@ -4,15 +4,9 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.Constants.IssueState
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Issue
{
private
Assignee
assignee
;
...
...
src/main/java/org/gitlab4j/api/models/Job.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Job
{
private
Integer
id
;
...
...
src/main/java/org/gitlab4j/api/models/Key.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Key
{
private
Date
createdAt
;
...
...
src/main/java/org/gitlab4j/api/models/Label.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Label
{
private
Integer
id
;
...
...
src/main/java/org/gitlab4j/api/models/LicenseTemplate.java
View file @
45ff580c
...
...
@@ -2,14 +2,8 @@ package org.gitlab4j.api.models;
import
java.util.List
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
LicenseTemplate
{
private
String
key
;
...
...
src/main/java/org/gitlab4j/api/models/Markdown.java
View file @
45ff580c
package
org.gitlab4j.api.models
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Markdown
{
private
String
html
;
...
...
src/main/java/org/gitlab4j/api/models/Member.java
View file @
45ff580c
...
...
@@ -3,14 +3,8 @@ package org.gitlab4j.api.models;
import
java.util.Date
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlRootElement
;
import
org.gitlab4j.api.utils.JacksonJson
;
@XmlRootElement
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
Member
{
private
AccessLevel
accessLevel
;
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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