-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SAML group sync to GroupApi (#1038)
- Loading branch information
1 parent
bcc9a16
commit 1b3763e
Showing
4 changed files
with
115 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
package org.gitlab4j.api.models; | ||
|
||
import org.gitlab4j.api.utils.JacksonJson; | ||
|
||
public class SamlGroupLink { | ||
|
||
private String name; | ||
|
||
private AccessLevel accessLevel; | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String aName) { | ||
this.name = aName; | ||
} | ||
|
||
public AccessLevel getAccessLevel() { | ||
return accessLevel; | ||
} | ||
|
||
public void setAccessLevel(AccessLevel aAccessLevel) { | ||
accessLevel = aAccessLevel; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return (JacksonJson.toJsonString(this)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"access_level": 30, | ||
"name": "A_GITLAB_DEVELOPER" | ||
} |