Class ImmutableRepositoryBase

  • All Implemented Interfaces:
    UpdateTracking, RepositoryBase

    @ParametersAreNonnullByDefault
    @Generated("org.immutables.processor.ProxyProcessor")
    @Immutable
    @CheckReturnValue
    public final class ImmutableRepositoryBase
    extends Object
    implements RepositoryBase
    Immutable implementation of RepositoryBase.

    Use the builder to create immutable instances: ImmutableRepositoryBase.builder().

    • Method Detail

      • withCreatedAt

        public final ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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
      • withIsPublic

        public final ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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
      • withArchiveUrl

        public final ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase withHomepage​(URI 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 ImmutableRepositoryBase withHomepage​(Optional<? extends URI> optional)
        Copy the current immutable object by setting an optional value for the homepage 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 homepage
        Returns:
        A modified copy of this object
      • withLanguage

        public final ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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 ImmutableRepositoryBase 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
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutableRepositoryBase 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, isPublic, fork, url, htmlUrl, 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.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

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

        public static ImmutableRepositoryBase copyOf​(RepositoryBase instance)
        Creates an immutable copy of a RepositoryBase 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 RepositoryBase instance
      • builder

        public static ImmutableRepositoryBase.Builder builder()
        Creates a builder for ImmutableRepositoryBase.
         ImmutableRepositoryBase.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
            .isPublic(Boolean) // optional isPublic
            .fork(Boolean | null) // nullable fork
            .url(java.net.URI | null) // nullable url
            .htmlUrl(java.net.URI | null) // nullable htmlUrl
            .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(java.net.URI) // 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
            .build();
         
        Returns:
        A new ImmutableRepositoryBase builder