Package com.spotify.github.v3.repos
Class ImmutableRepositoryBase
- java.lang.Object
-
- com.spotify.github.v3.repos.ImmutableRepositoryBase
-
- All Implemented Interfaces:
UpdateTracking
,RepositoryBase
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableRepositoryBase extends Object implements RepositoryBase
Immutable implementation ofRepositoryBase
.Use the builder to create immutable instances:
ImmutableRepositoryBase.builder()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableRepositoryBase.Builder
Builds instances of typeImmutableRepositoryBase
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
archiveUrl()
Archive URL templateString
assigneesUrl()
Assignees URL templateString
blobsUrl()
Blobs URL templateString
branchesUrl()
Branches URL templatestatic ImmutableRepositoryBase.Builder
builder()
Creates a builder forImmutableRepositoryBase
.URI
cloneUrl()
Clone URLString
collaboratorsUrl()
Collaborators URL templateString
commentsUrl()
Comments URL templateString
commitsUrl()
Commits URL templateString
compareUrl()
Compare URL templateString
contentsUrl()
Contents URL templateURI
contributorsUrl()
Contributors URLstatic ImmutableRepositoryBase
copyOf(RepositoryBase instance)
Creates an immutable copy of aRepositoryBase
value.GitHubInstant
createdAt()
Created dateString
defaultBranch()
Default branchOptional<URI>
deploymentsUrl()
Deployments URLOptional<String>
description()
DescriptionURI
downloadsUrl()
Downloads URLboolean
equals(Object another)
This instance is equal to all instances ofImmutableRepositoryBase
that have equal attribute values.URI
eventsUrl()
Events URLBoolean
fork()
Is it a forkInteger
forks()
Deprecated.Integer
forksCount()
Forks countURI
forksUrl()
Forks URLString
fullName()
Full name: org/repoString
gitCommitsUrl()
Git commits URL templateString
gitRefsUrl()
Git references URL templateString
gitTagsUrl()
Git tags URL templateURI
gitUrl()
Git URLBoolean
hasDownloads()
Does it have downloadsint
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
.Boolean
hasIssues()
Does it have issuesBoolean
hasPages()
Does it have pagesBoolean
hasWiki()
Does it have wikiOptional<URI>
homepage()
Homepage URLURI
hooksUrl()
Hooks URLURI
htmlUrl()
HTML URLInteger
id()
IDBoolean
isPrivate()
Is it privateOptional<Boolean>
isPublic()
Is it publicString
issueCommentUrl()
Issue Comment URL templateString
issueEventsUrl()
Issue event URL templateString
issuesUrl()
Issues URL templateString
keysUrl()
Keys URL templateString
labelsUrl()
Labels URL templateOptional<String>
language()
LanguageURI
languagesUrl()
Languages URLOptional<String>
masterBranch()
Deprecated.URI
mergesUrl()
Merges URLString
milestonesUrl()
Milestones URL templateOptional<URI>
mirrorUrl()
Mirror url, if this repo is a mirrorString
name()
NameString
notificationsUrl()
Notifications URL templateOptional<Integer>
openIssues()
Deprecated.Integer
openIssuesCount()
Open issues countOptional<Permissions>
permissions()
PermissionsString
pullsUrl()
Pulls URL templateGitHubInstant
pushedAt()
Pushed dateString
releasesUrl()
Releases URL templateInteger
size()
Size in kBString
sshUrl()
SSH URL.Optional<Integer>
stargazers()
Deprecated.Integer
stargazersCount()
Stargazers countURI
stargazersUrl()
Stargazers URLString
statusesUrl()
Statuses URL templateURI
subscribersUrl()
Subscribers URLURI
subscriptionUrl()
Subscription URLURI
svnUrl()
Subversion URLURI
tagsUrl()
Tags URLString
teamsUrl()
Teams URLString
toString()
Prints the immutable valueRepositoryBase
with attribute values.String
treesUrl()
Trees URL templateGitHubInstant
updatedAt()
Updated dateURI
url()
API URLOptional<Integer>
watchers()
Deprecated.Integer
watchersCount()
Watchers countImmutableRepositoryBase
withArchiveUrl(String value)
Copy the current immutable object by setting a value for thearchiveUrl
attribute.ImmutableRepositoryBase
withAssigneesUrl(String value)
Copy the current immutable object by setting a value for theassigneesUrl
attribute.ImmutableRepositoryBase
withBlobsUrl(String value)
Copy the current immutable object by setting a value for theblobsUrl
attribute.ImmutableRepositoryBase
withBranchesUrl(String value)
Copy the current immutable object by setting a value for thebranchesUrl
attribute.ImmutableRepositoryBase
withCloneUrl(URI value)
Copy the current immutable object by setting a value for thecloneUrl
attribute.ImmutableRepositoryBase
withCollaboratorsUrl(String value)
Copy the current immutable object by setting a value for thecollaboratorsUrl
attribute.ImmutableRepositoryBase
withCommentsUrl(String value)
Copy the current immutable object by setting a value for thecommentsUrl
attribute.ImmutableRepositoryBase
withCommitsUrl(String value)
Copy the current immutable object by setting a value for thecommitsUrl
attribute.ImmutableRepositoryBase
withCompareUrl(String value)
Copy the current immutable object by setting a value for thecompareUrl
attribute.ImmutableRepositoryBase
withContentsUrl(String value)
Copy the current immutable object by setting a value for thecontentsUrl
attribute.ImmutableRepositoryBase
withContributorsUrl(URI value)
Copy the current immutable object by setting a value for thecontributorsUrl
attribute.ImmutableRepositoryBase
withCreatedAt(GitHubInstant value)
Copy the current immutable object by setting a value for thecreatedAt
attribute.ImmutableRepositoryBase
withDefaultBranch(String value)
Copy the current immutable object by setting a value for thedefaultBranch
attribute.ImmutableRepositoryBase
withDeploymentsUrl(URI value)
Copy the current immutable object by setting a present value for the optionaldeploymentsUrl
attribute.ImmutableRepositoryBase
withDeploymentsUrl(Optional<? extends URI> optional)
Copy the current immutable object by setting an optional value for thedeploymentsUrl
attribute.ImmutableRepositoryBase
withDescription(String value)
Copy the current immutable object by setting a present value for the optionaldescription
attribute.ImmutableRepositoryBase
withDescription(Optional<String> optional)
Copy the current immutable object by setting an optional value for thedescription
attribute.ImmutableRepositoryBase
withDownloadsUrl(URI value)
Copy the current immutable object by setting a value for thedownloadsUrl
attribute.ImmutableRepositoryBase
withEventsUrl(URI value)
Copy the current immutable object by setting a value for theeventsUrl
attribute.ImmutableRepositoryBase
withFork(Boolean value)
Copy the current immutable object by setting a value for thefork
attribute.ImmutableRepositoryBase
withForks(Integer value)
Deprecated.ImmutableRepositoryBase
withForksCount(Integer value)
Copy the current immutable object by setting a value for theforksCount
attribute.ImmutableRepositoryBase
withForksUrl(URI value)
Copy the current immutable object by setting a value for theforksUrl
attribute.ImmutableRepositoryBase
withFullName(String value)
Copy the current immutable object by setting a value for thefullName
attribute.ImmutableRepositoryBase
withGitCommitsUrl(String value)
Copy the current immutable object by setting a value for thegitCommitsUrl
attribute.ImmutableRepositoryBase
withGitRefsUrl(String value)
Copy the current immutable object by setting a value for thegitRefsUrl
attribute.ImmutableRepositoryBase
withGitTagsUrl(String value)
Copy the current immutable object by setting a value for thegitTagsUrl
attribute.ImmutableRepositoryBase
withGitUrl(URI value)
Copy the current immutable object by setting a value for thegitUrl
attribute.ImmutableRepositoryBase
withHasDownloads(Boolean value)
Copy the current immutable object by setting a value for thehasDownloads
attribute.ImmutableRepositoryBase
withHasIssues(Boolean value)
Copy the current immutable object by setting a value for thehasIssues
attribute.ImmutableRepositoryBase
withHasPages(Boolean value)
Copy the current immutable object by setting a value for thehasPages
attribute.ImmutableRepositoryBase
withHasWiki(Boolean value)
Copy the current immutable object by setting a value for thehasWiki
attribute.ImmutableRepositoryBase
withHomepage(URI value)
Copy the current immutable object by setting a present value for the optionalhomepage
attribute.ImmutableRepositoryBase
withHomepage(Optional<? extends URI> optional)
Copy the current immutable object by setting an optional value for thehomepage
attribute.ImmutableRepositoryBase
withHooksUrl(URI value)
Copy the current immutable object by setting a value for thehooksUrl
attribute.ImmutableRepositoryBase
withHtmlUrl(URI value)
Copy the current immutable object by setting a value for thehtmlUrl
attribute.ImmutableRepositoryBase
withId(Integer value)
Copy the current immutable object by setting a value for theid
attribute.ImmutableRepositoryBase
withIsPrivate(Boolean value)
Copy the current immutable object by setting a value for theisPrivate
attribute.ImmutableRepositoryBase
withIsPublic(boolean value)
Copy the current immutable object by setting a present value for the optionalisPublic
attribute.ImmutableRepositoryBase
withIsPublic(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for theisPublic
attribute.ImmutableRepositoryBase
withIssueCommentUrl(String value)
Copy the current immutable object by setting a value for theissueCommentUrl
attribute.ImmutableRepositoryBase
withIssueEventsUrl(String value)
Copy the current immutable object by setting a value for theissueEventsUrl
attribute.ImmutableRepositoryBase
withIssuesUrl(String value)
Copy the current immutable object by setting a value for theissuesUrl
attribute.ImmutableRepositoryBase
withKeysUrl(String value)
Copy the current immutable object by setting a value for thekeysUrl
attribute.ImmutableRepositoryBase
withLabelsUrl(String value)
Copy the current immutable object by setting a value for thelabelsUrl
attribute.ImmutableRepositoryBase
withLanguage(String value)
Copy the current immutable object by setting a present value for the optionallanguage
attribute.ImmutableRepositoryBase
withLanguage(Optional<String> optional)
Copy the current immutable object by setting an optional value for thelanguage
attribute.ImmutableRepositoryBase
withLanguagesUrl(URI value)
Copy the current immutable object by setting a value for thelanguagesUrl
attribute.ImmutableRepositoryBase
withMasterBranch(String value)
Deprecated.ImmutableRepositoryBase
withMasterBranch(Optional<String> optional)
Deprecated.ImmutableRepositoryBase
withMergesUrl(URI value)
Copy the current immutable object by setting a value for themergesUrl
attribute.ImmutableRepositoryBase
withMilestonesUrl(String value)
Copy the current immutable object by setting a value for themilestonesUrl
attribute.ImmutableRepositoryBase
withMirrorUrl(URI value)
Copy the current immutable object by setting a present value for the optionalmirrorUrl
attribute.ImmutableRepositoryBase
withMirrorUrl(Optional<? extends URI> optional)
Copy the current immutable object by setting an optional value for themirrorUrl
attribute.ImmutableRepositoryBase
withName(String value)
Copy the current immutable object by setting a value for thename
attribute.ImmutableRepositoryBase
withNotificationsUrl(String value)
Copy the current immutable object by setting a value for thenotificationsUrl
attribute.ImmutableRepositoryBase
withOpenIssues(int value)
Deprecated.ImmutableRepositoryBase
withOpenIssues(Optional<Integer> optional)
Deprecated.ImmutableRepositoryBase
withOpenIssuesCount(Integer value)
Copy the current immutable object by setting a value for theopenIssuesCount
attribute.ImmutableRepositoryBase
withPermissions(Permissions value)
Copy the current immutable object by setting a present value for the optionalpermissions
attribute.ImmutableRepositoryBase
withPermissions(Optional<? extends Permissions> optional)
Copy the current immutable object by setting an optional value for thepermissions
attribute.ImmutableRepositoryBase
withPullsUrl(String value)
Copy the current immutable object by setting a value for thepullsUrl
attribute.ImmutableRepositoryBase
withPushedAt(GitHubInstant value)
Copy the current immutable object by setting a value for thepushedAt
attribute.ImmutableRepositoryBase
withReleasesUrl(String value)
Copy the current immutable object by setting a value for thereleasesUrl
attribute.ImmutableRepositoryBase
withSize(Integer value)
Copy the current immutable object by setting a value for thesize
attribute.ImmutableRepositoryBase
withSshUrl(String value)
Copy the current immutable object by setting a value for thesshUrl
attribute.ImmutableRepositoryBase
withStargazers(int value)
Deprecated.ImmutableRepositoryBase
withStargazers(Optional<Integer> optional)
Deprecated.ImmutableRepositoryBase
withStargazersCount(Integer value)
Copy the current immutable object by setting a value for thestargazersCount
attribute.ImmutableRepositoryBase
withStargazersUrl(URI value)
Copy the current immutable object by setting a value for thestargazersUrl
attribute.ImmutableRepositoryBase
withStatusesUrl(String value)
Copy the current immutable object by setting a value for thestatusesUrl
attribute.ImmutableRepositoryBase
withSubscribersUrl(URI value)
Copy the current immutable object by setting a value for thesubscribersUrl
attribute.ImmutableRepositoryBase
withSubscriptionUrl(URI value)
Copy the current immutable object by setting a value for thesubscriptionUrl
attribute.ImmutableRepositoryBase
withSvnUrl(URI value)
Copy the current immutable object by setting a value for thesvnUrl
attribute.ImmutableRepositoryBase
withTagsUrl(URI value)
Copy the current immutable object by setting a value for thetagsUrl
attribute.ImmutableRepositoryBase
withTeamsUrl(String value)
Copy the current immutable object by setting a value for theteamsUrl
attribute.ImmutableRepositoryBase
withTreesUrl(String value)
Copy the current immutable object by setting a value for thetreesUrl
attribute.ImmutableRepositoryBase
withUpdatedAt(GitHubInstant value)
Copy the current immutable object by setting a value for theupdatedAt
attribute.ImmutableRepositoryBase
withUrl(URI value)
Copy the current immutable object by setting a value for theurl
attribute.ImmutableRepositoryBase
withWatchers(int value)
Deprecated.ImmutableRepositoryBase
withWatchers(Optional<Integer> optional)
Deprecated.ImmutableRepositoryBase
withWatchersCount(Integer value)
Copy the current immutable object by setting a value for thewatchersCount
attribute.
-
-
-
Method Detail
-
createdAt
@Nullable public GitHubInstant createdAt()
Created date- Specified by:
createdAt
in interfaceUpdateTracking
- Returns:
- The date when the issue was created
-
updatedAt
@Nullable public GitHubInstant updatedAt()
Updated date- Specified by:
updatedAt
in interfaceUpdateTracking
- Returns:
- The date when the issue was updated
-
id
@Nullable public Integer id()
ID- Specified by:
id
in interfaceRepositoryBase
-
name
@Nullable public String name()
Name- Specified by:
name
in interfaceRepositoryBase
-
fullName
@Nullable public String fullName()
Full name: org/repo- Specified by:
fullName
in interfaceRepositoryBase
-
description
public Optional<String> description()
Description- Specified by:
description
in interfaceRepositoryBase
-
isPrivate
@Nullable public Boolean isPrivate()
Is it private- Specified by:
isPrivate
in interfaceRepositoryBase
-
isPublic
public Optional<Boolean> isPublic()
Is it public- Specified by:
isPublic
in interfaceRepositoryBase
-
fork
@Nullable public Boolean fork()
Is it a fork- Specified by:
fork
in interfaceRepositoryBase
-
url
@Nullable public URI url()
API URL- Specified by:
url
in interfaceRepositoryBase
-
htmlUrl
@Nullable public URI htmlUrl()
HTML URL- Specified by:
htmlUrl
in interfaceRepositoryBase
-
archiveUrl
@Nullable public String archiveUrl()
Archive URL template- Specified by:
archiveUrl
in interfaceRepositoryBase
-
assigneesUrl
@Nullable public String assigneesUrl()
Assignees URL template- Specified by:
assigneesUrl
in interfaceRepositoryBase
-
blobsUrl
@Nullable public String blobsUrl()
Blobs URL template- Specified by:
blobsUrl
in interfaceRepositoryBase
-
branchesUrl
@Nullable public String branchesUrl()
Branches URL template- Specified by:
branchesUrl
in interfaceRepositoryBase
-
cloneUrl
@Nullable public URI cloneUrl()
Clone URL- Specified by:
cloneUrl
in interfaceRepositoryBase
-
collaboratorsUrl
@Nullable public String collaboratorsUrl()
Collaborators URL template- Specified by:
collaboratorsUrl
in interfaceRepositoryBase
-
commentsUrl
@Nullable public String commentsUrl()
Comments URL template- Specified by:
commentsUrl
in interfaceRepositoryBase
-
commitsUrl
@Nullable public String commitsUrl()
Commits URL template- Specified by:
commitsUrl
in interfaceRepositoryBase
-
compareUrl
@Nullable public String compareUrl()
Compare URL template- Specified by:
compareUrl
in interfaceRepositoryBase
-
contentsUrl
@Nullable public String contentsUrl()
Contents URL template- Specified by:
contentsUrl
in interfaceRepositoryBase
-
contributorsUrl
@Nullable public URI contributorsUrl()
Contributors URL- Specified by:
contributorsUrl
in interfaceRepositoryBase
-
deploymentsUrl
public Optional<URI> deploymentsUrl()
Deployments URL- Specified by:
deploymentsUrl
in interfaceRepositoryBase
-
downloadsUrl
@Nullable public URI downloadsUrl()
Downloads URL- Specified by:
downloadsUrl
in interfaceRepositoryBase
-
eventsUrl
@Nullable public URI eventsUrl()
Events URL- Specified by:
eventsUrl
in interfaceRepositoryBase
-
forksUrl
@Nullable public URI forksUrl()
Forks URL- Specified by:
forksUrl
in interfaceRepositoryBase
-
gitCommitsUrl
@Nullable public String gitCommitsUrl()
Git commits URL template- Specified by:
gitCommitsUrl
in interfaceRepositoryBase
-
gitRefsUrl
@Nullable public String gitRefsUrl()
Git references URL template- Specified by:
gitRefsUrl
in interfaceRepositoryBase
-
gitTagsUrl
@Nullable public String gitTagsUrl()
Git tags URL template- Specified by:
gitTagsUrl
in interfaceRepositoryBase
-
gitUrl
@Nullable public URI gitUrl()
Git URL- Specified by:
gitUrl
in interfaceRepositoryBase
-
hooksUrl
@Nullable public URI hooksUrl()
Hooks URL- Specified by:
hooksUrl
in interfaceRepositoryBase
-
homepage
public Optional<URI> homepage()
Homepage URL- Specified by:
homepage
in interfaceRepositoryBase
-
language
public Optional<String> language()
Language- Specified by:
language
in interfaceRepositoryBase
-
forksCount
@Nullable public Integer forksCount()
Forks count- Specified by:
forksCount
in interfaceRepositoryBase
-
stargazersCount
@Nullable public Integer stargazersCount()
Stargazers count- Specified by:
stargazersCount
in interfaceRepositoryBase
-
watchersCount
@Nullable public Integer watchersCount()
Watchers count- Specified by:
watchersCount
in interfaceRepositoryBase
-
size
@Nullable public Integer size()
Size in kB- Specified by:
size
in interfaceRepositoryBase
-
defaultBranch
@Nullable public String defaultBranch()
Default branch- Specified by:
defaultBranch
in interfaceRepositoryBase
-
openIssuesCount
@Nullable public Integer openIssuesCount()
Open issues count- Specified by:
openIssuesCount
in interfaceRepositoryBase
-
hasIssues
@Nullable public Boolean hasIssues()
Does it have issues- Specified by:
hasIssues
in interfaceRepositoryBase
-
hasWiki
@Nullable public Boolean hasWiki()
Does it have wiki- Specified by:
hasWiki
in interfaceRepositoryBase
-
hasPages
@Nullable public Boolean hasPages()
Does it have pages- Specified by:
hasPages
in interfaceRepositoryBase
-
hasDownloads
@Nullable public Boolean hasDownloads()
Does it have downloads- Specified by:
hasDownloads
in interfaceRepositoryBase
-
permissions
public Optional<Permissions> permissions()
Permissions- Specified by:
permissions
in interfaceRepositoryBase
-
forks
@Deprecated @Nullable public Integer forks()
Deprecated.Deprecated forks,forksCount()
- Specified by:
forks
in interfaceRepositoryBase
-
pushedAt
@Nullable public GitHubInstant pushedAt()
Pushed date- Specified by:
pushedAt
in interfaceRepositoryBase
-
issuesUrl
@Nullable public String issuesUrl()
Issues URL template- Specified by:
issuesUrl
in interfaceRepositoryBase
-
issueCommentUrl
@Nullable public String issueCommentUrl()
Issue Comment URL template- Specified by:
issueCommentUrl
in interfaceRepositoryBase
-
issueEventsUrl
@Nullable public String issueEventsUrl()
Issue event URL template- Specified by:
issueEventsUrl
in interfaceRepositoryBase
-
keysUrl
@Nullable public String keysUrl()
Keys URL template- Specified by:
keysUrl
in interfaceRepositoryBase
-
labelsUrl
@Nullable public String labelsUrl()
Labels URL template- Specified by:
labelsUrl
in interfaceRepositoryBase
-
languagesUrl
@Nullable public URI languagesUrl()
Languages URL- Specified by:
languagesUrl
in interfaceRepositoryBase
-
mergesUrl
@Nullable public URI mergesUrl()
Merges URL- Specified by:
mergesUrl
in interfaceRepositoryBase
-
milestonesUrl
@Nullable public String milestonesUrl()
Milestones URL template- Specified by:
milestonesUrl
in interfaceRepositoryBase
-
mirrorUrl
public Optional<URI> mirrorUrl()
Mirror url, if this repo is a mirror- Specified by:
mirrorUrl
in interfaceRepositoryBase
-
notificationsUrl
@Nullable public String notificationsUrl()
Notifications URL template- Specified by:
notificationsUrl
in interfaceRepositoryBase
-
openIssues
@Deprecated public Optional<Integer> openIssues()
Deprecated.Deprecated open issues,openIssuesCount()
- Specified by:
openIssues
in interfaceRepositoryBase
-
pullsUrl
@Nullable public String pullsUrl()
Pulls URL template- Specified by:
pullsUrl
in interfaceRepositoryBase
-
releasesUrl
@Nullable public String releasesUrl()
Releases URL template- Specified by:
releasesUrl
in interfaceRepositoryBase
-
sshUrl
@Nullable public String sshUrl()
SSH URL.- Specified by:
sshUrl
in interfaceRepositoryBase
-
stargazersUrl
@Nullable public URI stargazersUrl()
Stargazers URL- Specified by:
stargazersUrl
in interfaceRepositoryBase
-
statusesUrl
@Nullable public String statusesUrl()
Statuses URL template- Specified by:
statusesUrl
in interfaceRepositoryBase
-
subscribersUrl
@Nullable public URI subscribersUrl()
Subscribers URL- Specified by:
subscribersUrl
in interfaceRepositoryBase
-
subscriptionUrl
@Nullable public URI subscriptionUrl()
Subscription URL- Specified by:
subscriptionUrl
in interfaceRepositoryBase
-
svnUrl
@Nullable public URI svnUrl()
Subversion URL- Specified by:
svnUrl
in interfaceRepositoryBase
-
tagsUrl
@Nullable public URI tagsUrl()
Tags URL- Specified by:
tagsUrl
in interfaceRepositoryBase
-
treesUrl
@Nullable public String treesUrl()
Trees URL template- Specified by:
treesUrl
in interfaceRepositoryBase
-
teamsUrl
@Nullable public String teamsUrl()
Teams URL- Specified by:
teamsUrl
in interfaceRepositoryBase
-
watchers
@Deprecated public Optional<Integer> watchers()
Deprecated.Deprecated watchers,watchersCount()
- Specified by:
watchers
in interfaceRepositoryBase
-
stargazers
@Deprecated public Optional<Integer> stargazers()
Deprecated.Deprecated stargazers,stargazersCount()
- Specified by:
stargazers
in interfaceRepositoryBase
-
masterBranch
@Deprecated public Optional<String> masterBranch()
Deprecated.Deprecated masterBranch,defaultBranch()
- Specified by:
masterBranch
in interfaceRepositoryBase
-
withCreatedAt
public final ImmutableRepositoryBase withCreatedAt(@Nullable GitHubInstant value)
Copy the current immutable object by setting a value for thecreatedAt
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for createdAt (can benull
)- 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 theupdatedAt
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for updatedAt (can benull
)- 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 theid
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for id (can benull
)- 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 thename
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for name (can benull
)- 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 thefullName
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for fullName (can benull
)- 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 optionaldescription
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 thedescription
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 theisPrivate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for isPrivate (can benull
)- 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 optionalisPublic
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 theisPublic
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 thefork
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for fork (can benull
)- 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 theurl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for url (can benull
)- 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 thehtmlUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for htmlUrl (can benull
)- 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 thearchiveUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for archiveUrl (can benull
)- 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 theassigneesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for assigneesUrl (can benull
)- 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 theblobsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for blobsUrl (can benull
)- 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 thebranchesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for branchesUrl (can benull
)- 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 thecloneUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for cloneUrl (can benull
)- 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 thecollaboratorsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for collaboratorsUrl (can benull
)- 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 thecommentsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for commentsUrl (can benull
)- 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 thecommitsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for commitsUrl (can benull
)- 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 thecompareUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for compareUrl (can benull
)- 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 thecontentsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for contentsUrl (can benull
)- 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 thecontributorsUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for contributorsUrl (can benull
)- 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 optionaldeploymentsUrl
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 thedeploymentsUrl
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- 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 thedownloadsUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for downloadsUrl (can benull
)- 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 theeventsUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for eventsUrl (can benull
)- 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 theforksUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for forksUrl (can benull
)- 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 thegitCommitsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for gitCommitsUrl (can benull
)- 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 thegitRefsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for gitRefsUrl (can benull
)- 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 thegitTagsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for gitTagsUrl (can benull
)- 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 thegitUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for gitUrl (can benull
)- 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 thehooksUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for hooksUrl (can benull
)- 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 optionalhomepage
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 thehomepage
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- 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 optionallanguage
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 thelanguage
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 theforksCount
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for forksCount (can benull
)- 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 thestargazersCount
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for stargazersCount (can benull
)- 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 thewatchersCount
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for watchersCount (can benull
)- 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 thesize
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for size (can benull
)- 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 thedefaultBranch
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for defaultBranch (can benull
)- 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 theopenIssuesCount
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for openIssuesCount (can benull
)- 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 thehasIssues
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for hasIssues (can benull
)- 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 thehasWiki
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for hasWiki (can benull
)- 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 thehasPages
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for hasPages (can benull
)- 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 thehasDownloads
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for hasDownloads (can benull
)- 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 optionalpermissions
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 thepermissions
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- 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 theforks
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for forks (can benull
)- 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 thepushedAt
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for pushedAt (can benull
)- 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 theissuesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for issuesUrl (can benull
)- 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 theissueCommentUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for issueCommentUrl (can benull
)- 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 theissueEventsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for issueEventsUrl (can benull
)- 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 thekeysUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for keysUrl (can benull
)- 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 thelabelsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for labelsUrl (can benull
)- 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 thelanguagesUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for languagesUrl (can benull
)- 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 themergesUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for mergesUrl (can benull
)- 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 themilestonesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for milestonesUrl (can benull
)- 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 optionalmirrorUrl
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 themirrorUrl
attribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis
.- 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 thenotificationsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for notificationsUrl (can benull
)- 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 optionalopenIssues
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 theopenIssues
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 thepullsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for pullsUrl (can benull
)- 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 thereleasesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for releasesUrl (can benull
)- 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 thesshUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for sshUrl (can benull
)- 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 thestargazersUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for stargazersUrl (can benull
)- 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 thestatusesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for statusesUrl (can benull
)- 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 thesubscribersUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subscribersUrl (can benull
)- 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 thesubscriptionUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for subscriptionUrl (can benull
)- 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 thesvnUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for svnUrl (can benull
)- 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 thetagsUrl
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for tagsUrl (can benull
)- 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 thetreesUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for treesUrl (can benull
)- 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 theteamsUrl
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for teamsUrl (can benull
)- 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 optionalwatchers
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 thewatchers
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 optionalstargazers
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 thestargazers
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 optionalmasterBranch
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 themasterBranch
attribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis
.- 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 ofImmutableRepositoryBase
that have equal attribute values.
-
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
.
-
toString
public String toString()
Prints the immutable valueRepositoryBase
with attribute values.
-
copyOf
public static ImmutableRepositoryBase copyOf(RepositoryBase instance)
Creates an immutable copy of aRepositoryBase
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 forImmutableRepositoryBase
.ImmutableRepositoryBase.builder() .createdAt(com.spotify.github.GitHubInstant | null) // nullable
createdAt
.updatedAt(com.spotify.github.GitHubInstant | null) // nullableupdatedAt
.id(Integer | null) // nullableid
.name(String | null) // nullablename
.fullName(String | null) // nullablefullName
.description(String) // optionaldescription
.isPrivate(Boolean | null) // nullableisPrivate
.isPublic(Boolean) // optionalisPublic
.fork(Boolean | null) // nullablefork
.url(java.net.URI | null) // nullableurl
.htmlUrl(java.net.URI | null) // nullablehtmlUrl
.archiveUrl(String | null) // nullablearchiveUrl
.assigneesUrl(String | null) // nullableassigneesUrl
.blobsUrl(String | null) // nullableblobsUrl
.branchesUrl(String | null) // nullablebranchesUrl
.cloneUrl(java.net.URI | null) // nullablecloneUrl
.collaboratorsUrl(String | null) // nullablecollaboratorsUrl
.commentsUrl(String | null) // nullablecommentsUrl
.commitsUrl(String | null) // nullablecommitsUrl
.compareUrl(String | null) // nullablecompareUrl
.contentsUrl(String | null) // nullablecontentsUrl
.contributorsUrl(java.net.URI | null) // nullablecontributorsUrl
.deploymentsUrl(java.net.URI) // optionaldeploymentsUrl
.downloadsUrl(java.net.URI | null) // nullabledownloadsUrl
.eventsUrl(java.net.URI | null) // nullableeventsUrl
.forksUrl(java.net.URI | null) // nullableforksUrl
.gitCommitsUrl(String | null) // nullablegitCommitsUrl
.gitRefsUrl(String | null) // nullablegitRefsUrl
.gitTagsUrl(String | null) // nullablegitTagsUrl
.gitUrl(java.net.URI | null) // nullablegitUrl
.hooksUrl(java.net.URI | null) // nullablehooksUrl
.homepage(java.net.URI) // optionalhomepage
.language(String) // optionallanguage
.forksCount(Integer | null) // nullableforksCount
.stargazersCount(Integer | null) // nullablestargazersCount
.watchersCount(Integer | null) // nullablewatchersCount
.size(Integer | null) // nullablesize
.defaultBranch(String | null) // nullabledefaultBranch
.openIssuesCount(Integer | null) // nullableopenIssuesCount
.hasIssues(Boolean | null) // nullablehasIssues
.hasWiki(Boolean | null) // nullablehasWiki
.hasPages(Boolean | null) // nullablehasPages
.hasDownloads(Boolean | null) // nullablehasDownloads
.permissions(com.spotify.github.v3.repos.Permissions) // optionalpermissions
.forks(Integer | null) // nullableforks
.pushedAt(com.spotify.github.GitHubInstant | null) // nullablepushedAt
.issuesUrl(String | null) // nullableissuesUrl
.issueCommentUrl(String | null) // nullableissueCommentUrl
.issueEventsUrl(String | null) // nullableissueEventsUrl
.keysUrl(String | null) // nullablekeysUrl
.labelsUrl(String | null) // nullablelabelsUrl
.languagesUrl(java.net.URI | null) // nullablelanguagesUrl
.mergesUrl(java.net.URI | null) // nullablemergesUrl
.milestonesUrl(String | null) // nullablemilestonesUrl
.mirrorUrl(java.net.URI) // optionalmirrorUrl
.notificationsUrl(String | null) // nullablenotificationsUrl
.openIssues(Integer) // optionalopenIssues
.pullsUrl(String | null) // nullablepullsUrl
.releasesUrl(String | null) // nullablereleasesUrl
.sshUrl(String | null) // nullablesshUrl
.stargazersUrl(java.net.URI | null) // nullablestargazersUrl
.statusesUrl(String | null) // nullablestatusesUrl
.subscribersUrl(java.net.URI | null) // nullablesubscribersUrl
.subscriptionUrl(java.net.URI | null) // nullablesubscriptionUrl
.svnUrl(java.net.URI | null) // nullablesvnUrl
.tagsUrl(java.net.URI | null) // nullabletagsUrl
.treesUrl(String | null) // nullabletreesUrl
.teamsUrl(String | null) // nullableteamsUrl
.watchers(Integer) // optionalwatchers
.stargazers(Integer) // optionalstargazers
.masterBranch(String) // optionalmasterBranch
.build();- Returns:
- A new ImmutableRepositoryBase builder
-
-