Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
standalone-reports-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
Webdev
standalone-reports-scripts
Merge requests
!3
Add additional metrics to the spam report to identify bad users
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add additional metrics to the spam report to identify bad users
malowe/main/spam-report
into
main
Overview
0
Commits
2
Changes
7
Merged
Martin Lowe
requested to merge
malowe/main/spam-report
into
main
1 year ago
Overview
0
Commits
2
Changes
7
Expand
0
0
Merge request reports
Compare
main
version 1
933d9a0c
1 year ago
main (base)
and
latest version
latest version
b86527a7
2 commits,
1 year ago
version 1
933d9a0c
1 commit,
1 year ago
7 files
+
393
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/eclipsefoundation/reports/api/models/EclipseForumResponse.java
0 → 100644
+
64
−
0
Options
/**
* Copyright (c) 2023 Eclipse Foundation
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Author: Martin Lowe <martin.lowe@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
package
org.eclipsefoundation.reports.api.models
;
import
java.util.List
;
import
com.fasterxml.jackson.databind.annotation.JsonDeserialize
;
import
com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder
;
import
com.google.auto.value.AutoValue
;
@AutoValue
@JsonDeserialize
(
builder
=
AutoValue_EclipseForumResponse
.
Builder
.
class
)
public
abstract
class
EclipseForumResponse
{
public
abstract
String
getPostedMsgCount
();
public
abstract
List
<
ForumPost
>
getPosts
();
public
abstract
Builder
toBuilder
();
public
static
Builder
builder
()
{
return
new
AutoValue_EclipseForumResponse
.
Builder
();
}
@AutoValue
.
Builder
@JsonPOJOBuilder
(
withPrefix
=
"set"
)
public
abstract
static
class
Builder
{
public
abstract
Builder
setPostedMsgCount
(
String
query
);
public
abstract
Builder
setPosts
(
List
<
ForumPost
>
posts
);
public
abstract
EclipseForumResponse
build
();
}
@AutoValue
@JsonDeserialize
(
builder
=
AutoValue_EclipseForumResponse_ForumPost
.
Builder
.
class
)
public
abstract
static
class
ForumPost
{
public
abstract
String
getRootMsgSubject
();
public
static
Builder
builder
()
{
return
new
AutoValue_EclipseForumResponse_ForumPost
.
Builder
();
}
@AutoValue
.
Builder
@JsonPOJOBuilder
(
withPrefix
=
"set"
)
public
abstract
static
class
Builder
{
public
abstract
Builder
setRootMsgSubject
(
String
rootMsgSubject
);
public
abstract
ForumPost
build
();
}
}
}
\ No newline at end of file
Loading