Class BranchRestriction
- java.lang.Object
-
- com.cdancy.bitbucket.rest.domain.branch.BranchRestriction
-
public abstract class BranchRestriction extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BranchRestriction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<java.lang.Long>accessKeys()static BranchRestrictioncreate(java.lang.Long id, BranchRestrictionEnumType type, Matcher matcher, java.util.List<User> users, java.util.List<java.lang.String> groups, java.util.List<AccessKey> accessKeys)static BranchRestrictioncreateWithId(java.lang.Long id, BranchRestrictionEnumType type, Matcher matcher, java.util.List<User> users, java.util.List<java.lang.String> groups, java.util.List<java.lang.Long> accessKeysId)abstract java.util.List<java.lang.String>groups()abstract java.lang.Longid()abstract Matchermatcher()abstract BranchRestrictionEnumTypetype()abstract java.util.List<User>users()
-
-
-
Method Detail
-
id
@Nullable public abstract java.lang.Long id()
-
type
public abstract BranchRestrictionEnumType type()
-
matcher
public abstract Matcher matcher()
-
users
public abstract java.util.List<User> users()
-
groups
public abstract java.util.List<java.lang.String> groups()
-
accessKeys
@Nullable public abstract java.util.List<java.lang.Long> accessKeys()
-
createWithId
public static BranchRestriction createWithId(java.lang.Long id, BranchRestrictionEnumType type, Matcher matcher, java.util.List<User> users, java.util.List<java.lang.String> groups, java.util.List<java.lang.Long> accessKeysId)
-
create
public static BranchRestriction create(java.lang.Long id, BranchRestrictionEnumType type, Matcher matcher, java.util.List<User> users, java.util.List<java.lang.String> groups, @Nullable java.util.List<AccessKey> accessKeys)
-
-