Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Eclipse Foundation Profile API
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
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
APIs
Eclipse Foundation Profile API
Merge requests
!26
feat: Improve code quality
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Improve code quality
zacharysabourin/eclipsefdn-profile-api:zacharysabourin/main/65
into
main
Overview
3
Commits
9
Pipelines
0
Changes
31
Merged
Zachary Sabourin
requested to merge
zacharysabourin/eclipsefdn-profile-api:zacharysabourin/main/65
into
main
1 year ago
Overview
3
Commits
9
Pipelines
0
Changes
31
Expand
Relates to
#65 (closed)
0
0
Merge request reports
Compare
main
version 8
5670a36a
1 year ago
version 7
7ffc59db
1 year ago
version 6
cdb37e0f
1 year ago
version 5
3182691f
1 year ago
version 4
991ad35f
1 year ago
version 3
47962e99
1 year ago
version 2
a1e55ee9
1 year ago
version 1
77b18e01
1 year ago
main (base)
and
latest version
latest version
cd89f251
9 commits,
1 year ago
version 8
5670a36a
8 commits,
1 year ago
version 7
7ffc59db
7 commits,
1 year ago
version 6
cdb37e0f
6 commits,
1 year ago
version 5
3182691f
5 commits,
1 year ago
version 4
991ad35f
4 commits,
1 year ago
version 3
47962e99
3 commits,
1 year ago
version 2
a1e55ee9
2 commits,
1 year ago
version 1
77b18e01
1 commit,
1 year ago
31 files
+
660
−
736
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
31
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/eclipsefoundation/profile/api/models/AccountsProfileData.java deleted
100644 → 0
+
0
−
112
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: Zachary Sabourin <zachary.sabourin@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package
org.eclipsefoundation.profile.api.models
;
import
java.util.List
;
import
java.util.Map
;
import
javax.annotation.Nullable
;
import
org.eclipsefoundation.efservices.api.models.EfUser.Country
;
import
org.eclipsefoundation.efservices.api.models.EfUser.PublisherAgreement
;
import
com.fasterxml.jackson.databind.annotation.JsonDeserialize
;
import
com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder
;
import
com.google.auto.value.AutoValue
;
/**
* The additional profile data retrieved from the Drupal Accounts-API.
* Used to supplment the data retrieved through LDAP.
*/
@AutoValue
@JsonDeserialize
(
builder
=
AutoValue_AccountsProfileData
.
Builder
.
class
)
public
abstract
class
AccountsProfileData
{
public
abstract
Integer
getUid
();
public
abstract
String
getName
();
public
abstract
String
getPicture
();
public
abstract
String
getFirstName
();
public
abstract
String
getLastName
();
public
abstract
Map
<
String
,
PublisherAgreement
>
getPublisherAgreements
();
public
abstract
String
getTwitterHandle
();
public
abstract
String
getGithubHandle
();
public
abstract
String
getOrg
();
@Nullable
public
abstract
String
getOrgId
();
public
abstract
String
getJobTitle
();
public
abstract
String
getWebsite
();
public
abstract
Country
getCountry
();
@Nullable
public
abstract
String
getBio
();
public
abstract
List
<
String
>
getInterests
();
public
abstract
List
<
String
>
getWorkingGroupsInterests
();
public
abstract
Builder
toBuilder
();
public
static
Builder
builder
()
{
return
new
AutoValue_AccountsProfileData
.
Builder
();
}
@AutoValue
.
Builder
@JsonPOJOBuilder
(
withPrefix
=
"set"
)
public
abstract
static
class
Builder
{
public
abstract
Builder
setUid
(
Integer
uid
);
public
abstract
Builder
setName
(
String
name
);
public
abstract
Builder
setPicture
(
String
picture
);
public
abstract
Builder
setFirstName
(
String
fName
);
public
abstract
Builder
setLastName
(
String
lName
);
public
abstract
Builder
setPublisherAgreements
(
Map
<
String
,
PublisherAgreement
>
agreements
);
public
abstract
Builder
setTwitterHandle
(
String
handle
);
public
abstract
Builder
setGithubHandle
(
String
handle
);
public
abstract
Builder
setOrg
(
String
org
);
public
abstract
Builder
setOrgId
(
@Nullable
String
id
);
public
abstract
Builder
setJobTitle
(
String
title
);
public
abstract
Builder
setWebsite
(
String
website
);
public
abstract
Builder
setCountry
(
Country
country
);
public
abstract
Builder
setBio
(
@Nullable
String
bio
);
public
abstract
Builder
setInterests
(
List
<
String
>
interests
);
public
abstract
Builder
setWorkingGroupsInterests
(
List
<
String
>
interests
);
public
abstract
AccountsProfileData
build
();
}
}
Loading