java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.PushHookBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class PushHookBuilder extends Object implements Cloneable
  • Field Details

    • self

      protected PushHookBuilder self
    • value$objectKind$java$lang$String

      protected String value$objectKind$java$lang$String
    • isSet$objectKind$java$lang$String

      protected boolean isSet$objectKind$java$lang$String
    • value$repository$com$dabsquared$gitlabjenkins$gitlab$hook$model$Repository

      protected Repository value$repository$com$dabsquared$gitlabjenkins$gitlab$hook$model$Repository
    • isSet$repository$com$dabsquared$gitlabjenkins$gitlab$hook$model$Repository

      protected boolean isSet$repository$com$dabsquared$gitlabjenkins$gitlab$hook$model$Repository
    • value$before$java$lang$String

      protected String value$before$java$lang$String
    • isSet$before$java$lang$String

      protected boolean isSet$before$java$lang$String
    • value$after$java$lang$String

      protected String value$after$java$lang$String
    • isSet$after$java$lang$String

      protected boolean isSet$after$java$lang$String
    • value$ref$java$lang$String

      protected String value$ref$java$lang$String
    • isSet$ref$java$lang$String

      protected boolean isSet$ref$java$lang$String
    • value$userId$java$lang$Integer

      protected Integer value$userId$java$lang$Integer
    • isSet$userId$java$lang$Integer

      protected boolean isSet$userId$java$lang$Integer
    • value$userName$java$lang$String

      protected String value$userName$java$lang$String
    • isSet$userName$java$lang$String

      protected boolean isSet$userName$java$lang$String
    • value$userUsername$java$lang$String

      protected String value$userUsername$java$lang$String
    • isSet$userUsername$java$lang$String

      protected boolean isSet$userUsername$java$lang$String
    • value$userEmail$java$lang$String

      protected String value$userEmail$java$lang$String
    • isSet$userEmail$java$lang$String

      protected boolean isSet$userEmail$java$lang$String
    • value$userAvatar$java$lang$String

      protected String value$userAvatar$java$lang$String
    • isSet$userAvatar$java$lang$String

      protected boolean isSet$userAvatar$java$lang$String
    • value$projectId$java$lang$Integer

      protected Integer value$projectId$java$lang$Integer
    • isSet$projectId$java$lang$Integer

      protected boolean isSet$projectId$java$lang$Integer
    • value$project$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project

      protected Project value$project$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
    • isSet$project$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project

      protected boolean isSet$project$com$dabsquared$gitlabjenkins$gitlab$hook$model$Project
    • value$commits$java$util$List

      protected List<Commit> value$commits$java$util$List
    • isSet$commits$java$util$List

      protected boolean isSet$commits$java$util$List
    • value$totalCommitsCount$java$lang$Integer

      protected Integer value$totalCommitsCount$java$lang$Integer
    • isSet$totalCommitsCount$java$lang$Integer

      protected boolean isSet$totalCommitsCount$java$lang$Integer
  • Constructor Details

  • Method Details

    • pushHook

      public static PushHookBuilder pushHook()
      Factory Method to construct a PushHookBuilder
      Returns:
      a new PushHookBuilder
    • withObjectKind

      public PushHookBuilder withObjectKind(String value)
      Sets the default value for the objectKind property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withRepository

      public PushHookBuilder withRepository(Repository value)
      Sets the default value for the repository property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBefore

      public PushHookBuilder withBefore(String value)
      Sets the default value for the before property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAfter

      public PushHookBuilder withAfter(String value)
      Sets the default value for the after property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withRef

      public PushHookBuilder withRef(String value)
      Sets the default value for the ref property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserId

      public PushHookBuilder withUserId(Integer value)
      Sets the default value for the userId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserName

      public PushHookBuilder withUserName(String value)
      Sets the default value for the userName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserUsername

      public PushHookBuilder withUserUsername(String value)
      Sets the default value for the userUsername property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserEmail

      public PushHookBuilder withUserEmail(String value)
      Sets the default value for the userEmail property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserAvatar

      public PushHookBuilder withUserAvatar(String value)
      Sets the default value for the userAvatar property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withProjectId

      public PushHookBuilder withProjectId(Integer value)
      Sets the default value for the projectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withProject

      public PushHookBuilder withProject(Project value)
      Sets the default value for the project property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCommits

      public PushHookBuilder withCommits(List<Commit> value)
      Sets the default value for the commits property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTotalCommitsCount

      public PushHookBuilder withTotalCommitsCount(Integer value)
      Sets the default value for the totalCommitsCount property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public PushHookBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public PushHook build()
      Creates a new PushHook based on this builder's settings.
      Returns:
      the created PushHook