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

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

    • self

      protected MergeRequestHookBuilder 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$user$com$dabsquared$gitlabjenkins$gitlab$hook$model$User

      protected User value$user$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • isSet$user$com$dabsquared$gitlabjenkins$gitlab$hook$model$User

      protected boolean isSet$user$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • value$assignee$com$dabsquared$gitlabjenkins$gitlab$hook$model$User

      protected User value$assignee$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • isSet$assignee$com$dabsquared$gitlabjenkins$gitlab$hook$model$User

      protected boolean isSet$assignee$com$dabsquared$gitlabjenkins$gitlab$hook$model$User
    • 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$objectAttributes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestObjectAttributes

      protected MergeRequestObjectAttributes value$objectAttributes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestObjectAttributes
    • isSet$objectAttributes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestObjectAttributes

      protected boolean isSet$objectAttributes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestObjectAttributes
    • value$labels$java$util$List

      protected List<MergeRequestLabel> value$labels$java$util$List
    • isSet$labels$java$util$List

      protected boolean isSet$labels$java$util$List
    • value$changes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChanges

      protected MergeRequestChanges value$changes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChanges
    • isSet$changes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChanges

      protected boolean isSet$changes$com$dabsquared$gitlabjenkins$gitlab$hook$model$MergeRequestChanges
  • Constructor Details

  • Method Details

    • mergeRequestHook

      public static MergeRequestHookBuilder mergeRequestHook()
      Factory Method to construct a MergeRequestHookBuilder
      Returns:
      a new MergeRequestHookBuilder
    • withObjectKind

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

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

      public MergeRequestHookBuilder withUser(User value)
      Sets the default value for the user property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAssignee

      public MergeRequestHookBuilder withAssignee(User value)
      Sets the default value for the assignee property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withProject

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

      public MergeRequestHookBuilder withObjectAttributes(MergeRequestObjectAttributes value)
      Sets the default value for the objectAttributes property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withLabels

      public MergeRequestHookBuilder withLabels(List<MergeRequestLabel> value)
      Sets the default value for the labels property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withChanges

      public MergeRequestHookBuilder withChanges(MergeRequestChanges value)
      Sets the default value for the changes 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 MergeRequestHookBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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