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
a082fb47
Commit
a082fb47
authored
Jul 14, 2020
by
Greg Messner
Browse files
Added settings introduced in GitLab 13.0
parent
ce582a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Setting.java
View file @
a082fb47
...
@@ -577,6 +577,11 @@ public enum Setting {
...
@@ -577,6 +577,11 @@ public enum Setting {
*/
*/
MAX_ATTACHMENT_SIZE
(
Integer
.
class
),
MAX_ATTACHMENT_SIZE
(
Integer
.
class
),
/**
* Maximum import size in MB. 0 for unlimited. Default = 50
*/
MAX_IMPORT_SIZE
(
Integer
.
class
),
/**
/**
* Maximum size of pages repositories in MB
* Maximum size of pages repositories in MB
*/
*/
...
@@ -933,6 +938,16 @@ public enum Setting {
...
@@ -933,6 +938,16 @@ public enum Setting {
*/
*/
SOURCEGRAPH_URL
(
String
.
class
),
SOURCEGRAPH_URL
(
String
.
class
),
/**
* Enables Spam Check via external API endpoint. Default is false.
*/
SPAM_CHECK_ENDPOINT_ENABLED
(
Boolean
.
class
),
/**
* URL of the external Spam Check service endpoint.
*/
SPAM_CHECK_ENDPOINT_URL
(
String
.
class
),
/**
/**
* required by: {@link #PENDO_ENABLED} The Pendo endpoint url with js snippet.
* required by: {@link #PENDO_ENABLED} The Pendo endpoint url with js snippet.
* (e.g. https://cdn.pendo.io/agent/static/your-api-key/pendo.js)
* (e.g. https://cdn.pendo.io/agent/static/your-api-key/pendo.js)
...
@@ -1106,8 +1121,15 @@ public enum Setting {
...
@@ -1106,8 +1121,15 @@ public enum Setting {
* These are reported but not documented.
* These are reported but not documented.
*/
*/
EMAIL_RESTRICTIONS_ENABLED
(
Boolean
.
class
),
EMAIL_RESTRICTIONS_ENABLED
(
Boolean
.
class
),
EMAIL_RESTRICTIONS
(
String
.
class
)
;
EMAIL_RESTRICTIONS
(
String
.
class
)
,
/*
* Undocumented settings as of GitLab 13.0
* These are reported but not documented.
*/
CONTAINER_EXPIRATION_POLICIES_ENABLE_HISTORIC_ENTRIES
(
Boolean
.
class
),
ISSUES_CREATE_LIMIT
(
Integer
.
class
),
RAW_BLOB_REQUEST_LIMIT
(
Integer
.
class
);
private
static
JacksonJsonEnumHelper
<
Setting
>
enumHelper
=
new
JacksonJsonEnumHelper
<>(
Setting
.
class
);
private
static
JacksonJsonEnumHelper
<
Setting
>
enumHelper
=
new
JacksonJsonEnumHelper
<>(
Setting
.
class
);
...
...
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