java.lang.Object
com.gitee.jenkins.gitee.hook.model.builder.generated.NoteHookBuilder
All Implemented Interfaces:
Cloneable

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

    • self

      protected NoteHookBuilder self
    • value$jsonBody$java$lang$String

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

      protected boolean isSet$jsonBody$java$lang$String
    • value$hookName$java$lang$String

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

      protected boolean isSet$hookName$java$lang$String
    • 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$gitee$jenkins$gitee$hook$model$Repository

      protected Repository value$repository$com$gitee$jenkins$gitee$hook$model$Repository
    • isSet$repository$com$gitee$jenkins$gitee$hook$model$Repository

      protected boolean isSet$repository$com$gitee$jenkins$gitee$hook$model$Repository
    • value$sender$com$gitee$jenkins$gitee$hook$model$User

      protected User value$sender$com$gitee$jenkins$gitee$hook$model$User
    • isSet$sender$com$gitee$jenkins$gitee$hook$model$User

      protected boolean isSet$sender$com$gitee$jenkins$gitee$hook$model$User
    • value$action$com$gitee$jenkins$gitee$hook$model$NoteAction

      protected NoteAction value$action$com$gitee$jenkins$gitee$hook$model$NoteAction
    • isSet$action$com$gitee$jenkins$gitee$hook$model$NoteAction

      protected boolean isSet$action$com$gitee$jenkins$gitee$hook$model$NoteAction
    • value$user$com$gitee$jenkins$gitee$hook$model$User

      protected User value$user$com$gitee$jenkins$gitee$hook$model$User
    • isSet$user$com$gitee$jenkins$gitee$hook$model$User

      protected boolean isSet$user$com$gitee$jenkins$gitee$hook$model$User
    • value$project$com$gitee$jenkins$gitee$hook$model$Project

      protected Project value$project$com$gitee$jenkins$gitee$hook$model$Project
    • isSet$project$com$gitee$jenkins$gitee$hook$model$Project

      protected boolean isSet$project$com$gitee$jenkins$gitee$hook$model$Project
    • value$comment$com$gitee$jenkins$gitee$hook$model$NoteObjectAttributes

      protected NoteObjectAttributes value$comment$com$gitee$jenkins$gitee$hook$model$NoteObjectAttributes
    • isSet$comment$com$gitee$jenkins$gitee$hook$model$NoteObjectAttributes

      protected boolean isSet$comment$com$gitee$jenkins$gitee$hook$model$NoteObjectAttributes
    • value$pullRequest$com$gitee$jenkins$gitee$hook$model$PullRequestObjectAttributes

      protected PullRequestObjectAttributes value$pullRequest$com$gitee$jenkins$gitee$hook$model$PullRequestObjectAttributes
    • isSet$pullRequest$com$gitee$jenkins$gitee$hook$model$PullRequestObjectAttributes

      protected boolean isSet$pullRequest$com$gitee$jenkins$gitee$hook$model$PullRequestObjectAttributes
  • Constructor Details

  • Method Details

    • noteHook

      public static NoteHookBuilder noteHook()
      Factory Method to construct a NoteHookBuilder
      Returns:
      a new NoteHookBuilder
    • withJsonBody

      public NoteHookBuilder withJsonBody(String value)
      Sets the default value for the jsonBody property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withHookName

      public NoteHookBuilder withHookName(String value)
      Sets the default value for the hookName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withObjectKind

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

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

      public NoteHookBuilder withSender(User value)
      Sets the default value for the sender property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAction

      public NoteHookBuilder withAction(NoteAction value)
      Sets the default value for the action property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUser

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

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

      public NoteHookBuilder withComment(NoteObjectAttributes value)
      Sets the default value for the comment property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withPullRequest

      public NoteHookBuilder withPullRequest(PullRequestObjectAttributes value)
      Sets the default value for the pullRequest 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 NoteHookBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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