Class GroupBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.GroupBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected GroupBuilderprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Integerprotected Stringprotected Booleanprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newGroupbased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static GroupBuildergroup()Factory Method to construct a GroupBuilderwithAvatarUrl(String value) Sets the default value for the avatarUrl property.Sets the default value for the defaultBranchProtection property.withDescription(String value) Sets the default value for the description property.withFullName(String value) Sets the default value for the fullName property.withFullPath(String value) Sets the default value for the fullPath property.Sets the default value for the id property.withMarkedForDeletionOn(String value) Sets the default value for the markedForDeletionOn property.Sets the default value for the name property.withParentId(Integer value) Sets the default value for the parentId property.Sets the default value for the path property.withRequestAccessEnabled(Boolean value) Sets the default value for the requestAccessEnabled property.withVisibility(String value) Sets the default value for the visibility property.withWebUrl(String value) Sets the default value for the webUrl property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$parentId$java$lang$Integer
-
isSet$parentId$java$lang$Integer
protected boolean isSet$parentId$java$lang$Integer -
value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String -
value$fullName$java$lang$String
-
isSet$fullName$java$lang$String
protected boolean isSet$fullName$java$lang$String -
value$path$java$lang$String
-
isSet$path$java$lang$String
protected boolean isSet$path$java$lang$String -
value$fullPath$java$lang$String
-
isSet$fullPath$java$lang$String
protected boolean isSet$fullPath$java$lang$String -
value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String -
value$visibility$java$lang$String
-
isSet$visibility$java$lang$String
protected boolean isSet$visibility$java$lang$String -
value$webUrl$java$lang$String
-
isSet$webUrl$java$lang$String
protected boolean isSet$webUrl$java$lang$String -
value$avatarUrl$java$lang$String
-
isSet$avatarUrl$java$lang$String
protected boolean isSet$avatarUrl$java$lang$String -
value$defaultBranchProtection$java$lang$Integer
-
isSet$defaultBranchProtection$java$lang$Integer
protected boolean isSet$defaultBranchProtection$java$lang$Integer -
value$requestAccessEnabled$java$lang$Boolean
-
isSet$requestAccessEnabled$java$lang$Boolean
protected boolean isSet$requestAccessEnabled$java$lang$Boolean -
value$markedForDeletionOn$java$lang$String
-
isSet$markedForDeletionOn$java$lang$String
protected boolean isSet$markedForDeletionOn$java$lang$String
-
-
Constructor Details
-
GroupBuilder
public GroupBuilder()Creates a newGroupBuilder.
-
-
Method Details
-
group
Factory Method to construct a GroupBuilder- Returns:
- a new GroupBuilder
-
withId
Sets the default value for the id property.- Parameters:
value- the default value- Returns:
- this builder
-
withParentId
Sets the default value for the parentId property.- Parameters:
value- the default value- Returns:
- this builder
-
withName
Sets the default value for the name property.- Parameters:
value- the default value- Returns:
- this builder
-
withFullName
Sets the default value for the fullName property.- Parameters:
value- the default value- Returns:
- this builder
-
withPath
Sets the default value for the path property.- Parameters:
value- the default value- Returns:
- this builder
-
withFullPath
Sets the default value for the fullPath property.- Parameters:
value- the default value- Returns:
- this builder
-
withDescription
Sets the default value for the description property.- Parameters:
value- the default value- Returns:
- this builder
-
withVisibility
Sets the default value for the visibility property.- Parameters:
value- the default value- Returns:
- this builder
-
withWebUrl
Sets the default value for the webUrl property.- Parameters:
value- the default value- Returns:
- this builder
-
withAvatarUrl
Sets the default value for the avatarUrl property.- Parameters:
value- the default value- Returns:
- this builder
-
withDefaultBranchProtection
Sets the default value for the defaultBranchProtection property.- Parameters:
value- the default value- Returns:
- this builder
-
withRequestAccessEnabled
Sets the default value for the requestAccessEnabled property.- Parameters:
value- the default value- Returns:
- this builder
-
withMarkedForDeletionOn
Sets the default value for the markedForDeletionOn property.- Parameters:
value- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newGroupbased on this builder's settings.- Returns:
- the created Group
-