Class ImmutablePushRepository

    • Method Detail

      • withCreatedAt

        public final ImmutablePushRepository withCreatedAt​(@Nullable
                                                           GitHubInstant value)
        Copy the current immutable object by setting a value for the createdAt attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for createdAt (can be null)
        Returns:
        A modified copy of the this object
      • withUpdatedAt

        public final ImmutablePushRepository withUpdatedAt​(@Nullable
                                                           GitHubInstant value)
        Copy the current immutable object by setting a value for the updatedAt attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for updatedAt (can be null)
        Returns:
        A modified copy of the this object
      • withId

        public final ImmutablePushRepository withId​(@Nullable
                                                    Integer value)
        Copy the current immutable object by setting a value for the id attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for id (can be null)
        Returns:
        A modified copy of the this object
      • withName

        public final ImmutablePushRepository withName​(@Nullable
                                                      String value)
        Copy the current immutable object by setting a value for the name attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for name (can be null)
        Returns:
        A modified copy of the this object
      • withFullName

        public final ImmutablePushRepository withFullName​(@Nullable
                                                          String value)
        Copy the current immutable object by setting a value for the fullName attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for fullName (can be null)
        Returns:
        A modified copy of the this object
      • withDescription

        public final ImmutablePushRepository withDescription​(String value)
        Copy the current immutable object by setting a present value for the optional description attribute.
        Parameters:
        value - The value for description
        Returns:
        A modified copy of this object
      • withDescription

        public final ImmutablePushRepository withDescription​(Optional<String> optional)
        Copy the current immutable object by setting an optional value for the description attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for description
        Returns:
        A modified copy of this object
      • withIsPrivate

        public final ImmutablePushRepository withIsPrivate​(@Nullable
                                                           Boolean value)
        Copy the current immutable object by setting a value for the isPrivate attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for isPrivate (can be null)
        Returns:
        A modified copy of the this object
      • withIsArchived

        public final ImmutablePushRepository withIsArchived​(@Nullable
                                                            Boolean value)
        Copy the current immutable object by setting a value for the isArchived attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for isArchived (can be null)
        Returns:
        A modified copy of the this object
      • withIsPublic

        public final ImmutablePushRepository withIsPublic​(boolean value)
        Copy the current immutable object by setting a present value for the optional isPublic attribute.
        Parameters:
        value - The value for isPublic
        Returns:
        A modified copy of this object
      • withIsPublic

        public final ImmutablePushRepository withIsPublic​(Optional<Boolean> optional)
        Copy the current immutable object by setting an optional value for the isPublic attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for isPublic
        Returns:
        A modified copy of this object
      • withFork

        public final ImmutablePushRepository withFork​(@Nullable
                                                      Boolean value)
        Copy the current immutable object by setting a value for the fork attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for fork (can be null)
        Returns:
        A modified copy of the this object
      • withUrl

        public final ImmutablePushRepository withUrl​(@Nullable
                                                     URI value)
        Copy the current immutable object by setting a value for the url attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for url (can be null)
        Returns:
        A modified copy of the this object
      • withHtmlUrl

        public final ImmutablePushRepository withHtmlUrl​(@Nullable
                                                         URI value)
        Copy the current immutable object by setting a value for the htmlUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for htmlUrl (can be null)
        Returns:
        A modified copy of the this object
      • withAllowSquashMerge

        public final ImmutablePushRepository withAllowSquashMerge​(@Nullable
                                                                  Boolean value)
        Copy the current immutable object by setting a value for the allowSquashMerge attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for allowSquashMerge (can be null)
        Returns:
        A modified copy of the this object
      • withAllowMergeCommit

        public final ImmutablePushRepository withAllowMergeCommit​(@Nullable
                                                                  Boolean value)
        Copy the current immutable object by setting a value for the allowMergeCommit attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for allowMergeCommit (can be null)
        Returns:
        A modified copy of the this object
      • withAllowRebaseMerge

        public final ImmutablePushRepository withAllowRebaseMerge​(@Nullable
                                                                  Boolean value)
        Copy the current immutable object by setting a value for the allowRebaseMerge attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for allowRebaseMerge (can be null)
        Returns:
        A modified copy of the this object
      • withArchiveUrl

        public final ImmutablePushRepository withArchiveUrl​(@Nullable
                                                            String value)
        Copy the current immutable object by setting a value for the archiveUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for archiveUrl (can be null)
        Returns:
        A modified copy of the this object
      • withAssigneesUrl

        public final ImmutablePushRepository withAssigneesUrl​(@Nullable
                                                              String value)
        Copy the current immutable object by setting a value for the assigneesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for assigneesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withBlobsUrl

        public final ImmutablePushRepository withBlobsUrl​(@Nullable
                                                          String value)
        Copy the current immutable object by setting a value for the blobsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for blobsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withBranchesUrl

        public final ImmutablePushRepository withBranchesUrl​(@Nullable
                                                             String value)
        Copy the current immutable object by setting a value for the branchesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for branchesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withCloneUrl

        public final ImmutablePushRepository withCloneUrl​(@Nullable
                                                          URI value)
        Copy the current immutable object by setting a value for the cloneUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for cloneUrl (can be null)
        Returns:
        A modified copy of the this object
      • withCollaboratorsUrl

        public final ImmutablePushRepository withCollaboratorsUrl​(@Nullable
                                                                  String value)
        Copy the current immutable object by setting a value for the collaboratorsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for collaboratorsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withCommentsUrl

        public final ImmutablePushRepository withCommentsUrl​(@Nullable
                                                             String value)
        Copy the current immutable object by setting a value for the commentsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for commentsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withCommitsUrl

        public final ImmutablePushRepository withCommitsUrl​(@Nullable
                                                            String value)
        Copy the current immutable object by setting a value for the commitsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for commitsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withCompareUrl

        public final ImmutablePushRepository withCompareUrl​(@Nullable
                                                            String value)
        Copy the current immutable object by setting a value for the compareUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for compareUrl (can be null)
        Returns:
        A modified copy of the this object
      • withContentsUrl

        public final ImmutablePushRepository withContentsUrl​(@Nullable
                                                             String value)
        Copy the current immutable object by setting a value for the contentsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for contentsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withContributorsUrl

        public final ImmutablePushRepository withContributorsUrl​(@Nullable
                                                                 URI value)
        Copy the current immutable object by setting a value for the contributorsUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for contributorsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withDeploymentsUrl

        public final ImmutablePushRepository withDeploymentsUrl​(URI value)
        Copy the current immutable object by setting a present value for the optional deploymentsUrl attribute.
        Parameters:
        value - The value for deploymentsUrl
        Returns:
        A modified copy of this object
      • withDeploymentsUrl

        public final ImmutablePushRepository withDeploymentsUrl​(Optional<? extends URI> optional)
        Copy the current immutable object by setting an optional value for the deploymentsUrl attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for deploymentsUrl
        Returns:
        A modified copy of this object
      • withDownloadsUrl

        public final ImmutablePushRepository withDownloadsUrl​(@Nullable
                                                              URI value)
        Copy the current immutable object by setting a value for the downloadsUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for downloadsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withEventsUrl

        public final ImmutablePushRepository withEventsUrl​(@Nullable
                                                           URI value)
        Copy the current immutable object by setting a value for the eventsUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for eventsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withForksUrl

        public final ImmutablePushRepository withForksUrl​(@Nullable
                                                          URI value)
        Copy the current immutable object by setting a value for the forksUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for forksUrl (can be null)
        Returns:
        A modified copy of the this object
      • withGitCommitsUrl

        public final ImmutablePushRepository withGitCommitsUrl​(@Nullable
                                                               String value)
        Copy the current immutable object by setting a value for the gitCommitsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for gitCommitsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withGitRefsUrl

        public final ImmutablePushRepository withGitRefsUrl​(@Nullable
                                                            String value)
        Copy the current immutable object by setting a value for the gitRefsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for gitRefsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withGitTagsUrl

        public final ImmutablePushRepository withGitTagsUrl​(@Nullable
                                                            String value)
        Copy the current immutable object by setting a value for the gitTagsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for gitTagsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withGitUrl

        public final ImmutablePushRepository withGitUrl​(@Nullable
                                                        URI value)
        Copy the current immutable object by setting a value for the gitUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for gitUrl (can be null)
        Returns:
        A modified copy of the this object
      • withHooksUrl

        public final ImmutablePushRepository withHooksUrl​(@Nullable
                                                          URI value)
        Copy the current immutable object by setting a value for the hooksUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for hooksUrl (can be null)
        Returns:
        A modified copy of the this object
      • withHomepage

        public final ImmutablePushRepository withHomepage​(String value)
        Copy the current immutable object by setting a present value for the optional homepage attribute.
        Parameters:
        value - The value for homepage
        Returns:
        A modified copy of this object
      • withHomepage

        public final ImmutablePushRepository withHomepage​(Optional<String> optional)
        Copy the current immutable object by setting an optional value for the homepage attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for homepage
        Returns:
        A modified copy of this object
      • withLanguage

        public final ImmutablePushRepository withLanguage​(String value)
        Copy the current immutable object by setting a present value for the optional language attribute.
        Parameters:
        value - The value for language
        Returns:
        A modified copy of this object
      • withLanguage

        public final ImmutablePushRepository withLanguage​(Optional<String> optional)
        Copy the current immutable object by setting an optional value for the language attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for language
        Returns:
        A modified copy of this object
      • withForksCount

        public final ImmutablePushRepository withForksCount​(@Nullable
                                                            Integer value)
        Copy the current immutable object by setting a value for the forksCount attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for forksCount (can be null)
        Returns:
        A modified copy of the this object
      • withStargazersCount

        public final ImmutablePushRepository withStargazersCount​(@Nullable
                                                                 Integer value)
        Copy the current immutable object by setting a value for the stargazersCount attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for stargazersCount (can be null)
        Returns:
        A modified copy of the this object
      • withWatchersCount

        public final ImmutablePushRepository withWatchersCount​(@Nullable
                                                               Integer value)
        Copy the current immutable object by setting a value for the watchersCount attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for watchersCount (can be null)
        Returns:
        A modified copy of the this object
      • withSize

        public final ImmutablePushRepository withSize​(@Nullable
                                                      Integer value)
        Copy the current immutable object by setting a value for the size attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for size (can be null)
        Returns:
        A modified copy of the this object
      • withDefaultBranch

        public final ImmutablePushRepository withDefaultBranch​(@Nullable
                                                               String value)
        Copy the current immutable object by setting a value for the defaultBranch attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for defaultBranch (can be null)
        Returns:
        A modified copy of the this object
      • withOpenIssuesCount

        public final ImmutablePushRepository withOpenIssuesCount​(@Nullable
                                                                 Integer value)
        Copy the current immutable object by setting a value for the openIssuesCount attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for openIssuesCount (can be null)
        Returns:
        A modified copy of the this object
      • withHasIssues

        public final ImmutablePushRepository withHasIssues​(@Nullable
                                                           Boolean value)
        Copy the current immutable object by setting a value for the hasIssues attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for hasIssues (can be null)
        Returns:
        A modified copy of the this object
      • withHasWiki

        public final ImmutablePushRepository withHasWiki​(@Nullable
                                                         Boolean value)
        Copy the current immutable object by setting a value for the hasWiki attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for hasWiki (can be null)
        Returns:
        A modified copy of the this object
      • withHasPages

        public final ImmutablePushRepository withHasPages​(@Nullable
                                                          Boolean value)
        Copy the current immutable object by setting a value for the hasPages attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for hasPages (can be null)
        Returns:
        A modified copy of the this object
      • withHasDownloads

        public final ImmutablePushRepository withHasDownloads​(@Nullable
                                                              Boolean value)
        Copy the current immutable object by setting a value for the hasDownloads attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for hasDownloads (can be null)
        Returns:
        A modified copy of the this object
      • withPermissions

        public final ImmutablePushRepository withPermissions​(Permissions value)
        Copy the current immutable object by setting a present value for the optional permissions attribute.
        Parameters:
        value - The value for permissions
        Returns:
        A modified copy of this object
      • withPermissions

        public final ImmutablePushRepository withPermissions​(Optional<? extends Permissions> optional)
        Copy the current immutable object by setting an optional value for the permissions attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for permissions
        Returns:
        A modified copy of this object
      • withForks

        @Deprecated
        public final ImmutablePushRepository withForks​(@Nullable
                                                       Integer value)
        Deprecated.
        Copy the current immutable object by setting a value for the forks attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for forks (can be null)
        Returns:
        A modified copy of the this object
      • withPushedAt

        public final ImmutablePushRepository withPushedAt​(@Nullable
                                                          GitHubInstant value)
        Copy the current immutable object by setting a value for the pushedAt attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for pushedAt (can be null)
        Returns:
        A modified copy of the this object
      • withIssuesUrl

        public final ImmutablePushRepository withIssuesUrl​(@Nullable
                                                           String value)
        Copy the current immutable object by setting a value for the issuesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for issuesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withIssueCommentUrl

        public final ImmutablePushRepository withIssueCommentUrl​(@Nullable
                                                                 String value)
        Copy the current immutable object by setting a value for the issueCommentUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for issueCommentUrl (can be null)
        Returns:
        A modified copy of the this object
      • withIssueEventsUrl

        public final ImmutablePushRepository withIssueEventsUrl​(@Nullable
                                                                String value)
        Copy the current immutable object by setting a value for the issueEventsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for issueEventsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withKeysUrl

        public final ImmutablePushRepository withKeysUrl​(@Nullable
                                                         String value)
        Copy the current immutable object by setting a value for the keysUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for keysUrl (can be null)
        Returns:
        A modified copy of the this object
      • withLabelsUrl

        public final ImmutablePushRepository withLabelsUrl​(@Nullable
                                                           String value)
        Copy the current immutable object by setting a value for the labelsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for labelsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withLanguagesUrl

        public final ImmutablePushRepository withLanguagesUrl​(@Nullable
                                                              URI value)
        Copy the current immutable object by setting a value for the languagesUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for languagesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withMergesUrl

        public final ImmutablePushRepository withMergesUrl​(@Nullable
                                                           URI value)
        Copy the current immutable object by setting a value for the mergesUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for mergesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withMilestonesUrl

        public final ImmutablePushRepository withMilestonesUrl​(@Nullable
                                                               String value)
        Copy the current immutable object by setting a value for the milestonesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for milestonesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withMirrorUrl

        public final ImmutablePushRepository withMirrorUrl​(URI value)
        Copy the current immutable object by setting a present value for the optional mirrorUrl attribute.
        Parameters:
        value - The value for mirrorUrl
        Returns:
        A modified copy of this object
      • withMirrorUrl

        public final ImmutablePushRepository withMirrorUrl​(Optional<? extends URI> optional)
        Copy the current immutable object by setting an optional value for the mirrorUrl attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for mirrorUrl
        Returns:
        A modified copy of this object
      • withNotificationsUrl

        public final ImmutablePushRepository withNotificationsUrl​(@Nullable
                                                                  String value)
        Copy the current immutable object by setting a value for the notificationsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for notificationsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withOpenIssues

        @Deprecated
        public final ImmutablePushRepository withOpenIssues​(int value)
        Deprecated.
        Copy the current immutable object by setting a present value for the optional openIssues attribute.
        Parameters:
        value - The value for openIssues
        Returns:
        A modified copy of this object
      • withOpenIssues

        @Deprecated
        public final ImmutablePushRepository withOpenIssues​(Optional<Integer> optional)
        Deprecated.
        Copy the current immutable object by setting an optional value for the openIssues attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for openIssues
        Returns:
        A modified copy of this object
      • withPullsUrl

        public final ImmutablePushRepository withPullsUrl​(@Nullable
                                                          String value)
        Copy the current immutable object by setting a value for the pullsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for pullsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withReleasesUrl

        public final ImmutablePushRepository withReleasesUrl​(@Nullable
                                                             String value)
        Copy the current immutable object by setting a value for the releasesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for releasesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withSshUrl

        public final ImmutablePushRepository withSshUrl​(@Nullable
                                                        String value)
        Copy the current immutable object by setting a value for the sshUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for sshUrl (can be null)
        Returns:
        A modified copy of the this object
      • withStargazersUrl

        public final ImmutablePushRepository withStargazersUrl​(@Nullable
                                                               URI value)
        Copy the current immutable object by setting a value for the stargazersUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for stargazersUrl (can be null)
        Returns:
        A modified copy of the this object
      • withStatusesUrl

        public final ImmutablePushRepository withStatusesUrl​(@Nullable
                                                             String value)
        Copy the current immutable object by setting a value for the statusesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for statusesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withSubscribersUrl

        public final ImmutablePushRepository withSubscribersUrl​(@Nullable
                                                                URI value)
        Copy the current immutable object by setting a value for the subscribersUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for subscribersUrl (can be null)
        Returns:
        A modified copy of the this object
      • withSubscriptionUrl

        public final ImmutablePushRepository withSubscriptionUrl​(@Nullable
                                                                 URI value)
        Copy the current immutable object by setting a value for the subscriptionUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for subscriptionUrl (can be null)
        Returns:
        A modified copy of the this object
      • withSvnUrl

        public final ImmutablePushRepository withSvnUrl​(@Nullable
                                                        URI value)
        Copy the current immutable object by setting a value for the svnUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for svnUrl (can be null)
        Returns:
        A modified copy of the this object
      • withTagsUrl

        public final ImmutablePushRepository withTagsUrl​(@Nullable
                                                         URI value)
        Copy the current immutable object by setting a value for the tagsUrl attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for tagsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withTreesUrl

        public final ImmutablePushRepository withTreesUrl​(@Nullable
                                                          String value)
        Copy the current immutable object by setting a value for the treesUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for treesUrl (can be null)
        Returns:
        A modified copy of the this object
      • withTeamsUrl

        public final ImmutablePushRepository withTeamsUrl​(@Nullable
                                                          String value)
        Copy the current immutable object by setting a value for the teamsUrl attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for teamsUrl (can be null)
        Returns:
        A modified copy of the this object
      • withWatchers

        @Deprecated
        public final ImmutablePushRepository withWatchers​(int value)
        Deprecated.
        Copy the current immutable object by setting a present value for the optional watchers attribute.
        Parameters:
        value - The value for watchers
        Returns:
        A modified copy of this object
      • withWatchers

        @Deprecated
        public final ImmutablePushRepository withWatchers​(Optional<Integer> optional)
        Deprecated.
        Copy the current immutable object by setting an optional value for the watchers attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for watchers
        Returns:
        A modified copy of this object
      • withStargazers

        @Deprecated
        public final ImmutablePushRepository withStargazers​(int value)
        Deprecated.
        Copy the current immutable object by setting a present value for the optional stargazers attribute.
        Parameters:
        value - The value for stargazers
        Returns:
        A modified copy of this object
      • withStargazers

        @Deprecated
        public final ImmutablePushRepository withStargazers​(Optional<Integer> optional)
        Deprecated.
        Copy the current immutable object by setting an optional value for the stargazers attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for stargazers
        Returns:
        A modified copy of this object
      • withMasterBranch

        @Deprecated
        public final ImmutablePushRepository withMasterBranch​(String value)
        Deprecated.
        Copy the current immutable object by setting a present value for the optional masterBranch attribute.
        Parameters:
        value - The value for masterBranch
        Returns:
        A modified copy of this object
      • withMasterBranch

        @Deprecated
        public final ImmutablePushRepository withMasterBranch​(Optional<String> optional)
        Deprecated.
        Copy the current immutable object by setting an optional value for the masterBranch attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
        Parameters:
        optional - A value for masterBranch
        Returns:
        A modified copy of this object
      • withOwner

        public final ImmutablePushRepository withOwner​(@Nullable
                                                       Author value)
        Copy the current immutable object by setting a value for the owner attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for owner (can be null)
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutablePushRepository that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: createdAt, updatedAt, id, name, fullName, description, isPrivate, isArchived, isPublic, fork, url, htmlUrl, allowSquashMerge, allowMergeCommit, allowRebaseMerge, archiveUrl, assigneesUrl, blobsUrl, branchesUrl, cloneUrl, collaboratorsUrl, commentsUrl, commitsUrl, compareUrl, contentsUrl, contributorsUrl, deploymentsUrl, downloadsUrl, eventsUrl, forksUrl, gitCommitsUrl, gitRefsUrl, gitTagsUrl, gitUrl, hooksUrl, homepage, language, forksCount, stargazersCount, watchersCount, size, defaultBranch, openIssuesCount, hasIssues, hasWiki, hasPages, hasDownloads, permissions, forks, pushedAt, issuesUrl, issueCommentUrl, issueEventsUrl, keysUrl, labelsUrl, languagesUrl, mergesUrl, milestonesUrl, mirrorUrl, notificationsUrl, openIssues, pullsUrl, releasesUrl, sshUrl, stargazersUrl, statusesUrl, subscribersUrl, subscriptionUrl, svnUrl, tagsUrl, treesUrl, teamsUrl, watchers, stargazers, masterBranch, owner.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value PushRepository with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value
      • copyOf

        public static ImmutablePushRepository copyOf​(PushRepository instance)
        Creates an immutable copy of a PushRepository value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable PushRepository instance
      • builder

        public static ImmutablePushRepository.Builder builder()
        Creates a builder for ImmutablePushRepository.
         ImmutablePushRepository.builder()
            .createdAt(com.spotify.github.GitHubInstant | null) // nullable createdAt
            .updatedAt(com.spotify.github.GitHubInstant | null) // nullable updatedAt
            .id(Integer | null) // nullable id
            .name(String | null) // nullable name
            .fullName(String | null) // nullable fullName
            .description(String) // optional description
            .isPrivate(Boolean | null) // nullable isPrivate
            .isArchived(Boolean | null) // nullable isArchived
            .isPublic(Boolean) // optional isPublic
            .fork(Boolean | null) // nullable fork
            .url(java.net.URI | null) // nullable url
            .htmlUrl(java.net.URI | null) // nullable htmlUrl
            .allowSquashMerge(Boolean | null) // nullable allowSquashMerge
            .allowMergeCommit(Boolean | null) // nullable allowMergeCommit
            .allowRebaseMerge(Boolean | null) // nullable allowRebaseMerge
            .archiveUrl(String | null) // nullable archiveUrl
            .assigneesUrl(String | null) // nullable assigneesUrl
            .blobsUrl(String | null) // nullable blobsUrl
            .branchesUrl(String | null) // nullable branchesUrl
            .cloneUrl(java.net.URI | null) // nullable cloneUrl
            .collaboratorsUrl(String | null) // nullable collaboratorsUrl
            .commentsUrl(String | null) // nullable commentsUrl
            .commitsUrl(String | null) // nullable commitsUrl
            .compareUrl(String | null) // nullable compareUrl
            .contentsUrl(String | null) // nullable contentsUrl
            .contributorsUrl(java.net.URI | null) // nullable contributorsUrl
            .deploymentsUrl(java.net.URI) // optional deploymentsUrl
            .downloadsUrl(java.net.URI | null) // nullable downloadsUrl
            .eventsUrl(java.net.URI | null) // nullable eventsUrl
            .forksUrl(java.net.URI | null) // nullable forksUrl
            .gitCommitsUrl(String | null) // nullable gitCommitsUrl
            .gitRefsUrl(String | null) // nullable gitRefsUrl
            .gitTagsUrl(String | null) // nullable gitTagsUrl
            .gitUrl(java.net.URI | null) // nullable gitUrl
            .hooksUrl(java.net.URI | null) // nullable hooksUrl
            .homepage(String) // optional homepage
            .language(String) // optional language
            .forksCount(Integer | null) // nullable forksCount
            .stargazersCount(Integer | null) // nullable stargazersCount
            .watchersCount(Integer | null) // nullable watchersCount
            .size(Integer | null) // nullable size
            .defaultBranch(String | null) // nullable defaultBranch
            .openIssuesCount(Integer | null) // nullable openIssuesCount
            .hasIssues(Boolean | null) // nullable hasIssues
            .hasWiki(Boolean | null) // nullable hasWiki
            .hasPages(Boolean | null) // nullable hasPages
            .hasDownloads(Boolean | null) // nullable hasDownloads
            .permissions(com.spotify.github.v3.repos.Permissions) // optional permissions
            .forks(Integer | null) // nullable forks
            .pushedAt(com.spotify.github.GitHubInstant | null) // nullable pushedAt
            .issuesUrl(String | null) // nullable issuesUrl
            .issueCommentUrl(String | null) // nullable issueCommentUrl
            .issueEventsUrl(String | null) // nullable issueEventsUrl
            .keysUrl(String | null) // nullable keysUrl
            .labelsUrl(String | null) // nullable labelsUrl
            .languagesUrl(java.net.URI | null) // nullable languagesUrl
            .mergesUrl(java.net.URI | null) // nullable mergesUrl
            .milestonesUrl(String | null) // nullable milestonesUrl
            .mirrorUrl(java.net.URI) // optional mirrorUrl
            .notificationsUrl(String | null) // nullable notificationsUrl
            .openIssues(Integer) // optional openIssues
            .pullsUrl(String | null) // nullable pullsUrl
            .releasesUrl(String | null) // nullable releasesUrl
            .sshUrl(String | null) // nullable sshUrl
            .stargazersUrl(java.net.URI | null) // nullable stargazersUrl
            .statusesUrl(String | null) // nullable statusesUrl
            .subscribersUrl(java.net.URI | null) // nullable subscribersUrl
            .subscriptionUrl(java.net.URI | null) // nullable subscriptionUrl
            .svnUrl(java.net.URI | null) // nullable svnUrl
            .tagsUrl(java.net.URI | null) // nullable tagsUrl
            .treesUrl(String | null) // nullable treesUrl
            .teamsUrl(String | null) // nullable teamsUrl
            .watchers(Integer) // optional watchers
            .stargazers(Integer) // optional stargazers
            .masterBranch(String) // optional masterBranch
            .owner(com.spotify.github.v3.git.Author | null) // nullable owner
            .build();
         
        Returns:
        A new ImmutablePushRepository builder