public class RepositoryNameIdPair
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a repository name and ID.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
repositoryId
The ID associated with the repository.
|
private java.lang.String |
repositoryName
The name associated with the repository.
|
Constructor and Description |
---|
RepositoryNameIdPair() |
Modifier and Type | Method and Description |
---|---|
RepositoryNameIdPair |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRepositoryId()
The ID associated with the repository.
|
java.lang.String |
getRepositoryName()
The name associated with the repository.
|
int |
hashCode() |
void |
setRepositoryId(java.lang.String repositoryId)
The ID associated with the repository.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name associated with the repository.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RepositoryNameIdPair |
withRepositoryId(java.lang.String repositoryId)
The ID associated with the repository.
|
RepositoryNameIdPair |
withRepositoryName(java.lang.String repositoryName)
The name associated with the repository.
|
private java.lang.String repositoryName
The name associated with the repository.
private java.lang.String repositoryId
The ID associated with the repository.
public void setRepositoryName(java.lang.String repositoryName)
The name associated with the repository.
repositoryName
- The name associated with the repository.public java.lang.String getRepositoryName()
The name associated with the repository.
public RepositoryNameIdPair withRepositoryName(java.lang.String repositoryName)
The name associated with the repository.
repositoryName
- The name associated with the repository.public void setRepositoryId(java.lang.String repositoryId)
The ID associated with the repository.
repositoryId
- The ID associated with the repository.public java.lang.String getRepositoryId()
The ID associated with the repository.
public RepositoryNameIdPair withRepositoryId(java.lang.String repositoryId)
The ID associated with the repository.
repositoryId
- The ID associated with the repository.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RepositoryNameIdPair clone()
clone
in class java.lang.Object