mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 00:11:24 +00:00
19 lines
398 B
Java
19 lines
398 B
Java
package org.kohsuke.github;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author Kohsuke Kawaguchi
|
|
* @see GHBranch#disableProtection()
|
|
*/
|
|
class BranchProtection {
|
|
boolean enabled;
|
|
RequiredStatusChecks requiredStatusChecks;
|
|
|
|
static class RequiredStatusChecks {
|
|
EnforcementLevel enforcement_level;
|
|
List<String> contexts = new ArrayList<String>();
|
|
}
|
|
}
|