class RepositoryServices extends AnyRef
- Alphabetic
- By Inheritance
- RepositoryServices
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RepositoryServices(client: BitbucketClient)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def createKey(username: String, repositorySlug: String, key: String, label: String = "Codacy Key"): RequestResponse[DeployKey]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getRepositories(ownerInfo: OwnerInfo, pageLength: Option[Int] = Option(100), userRole: Option[Role] = None, pageRequest: Option[PageRequest] = None, sortBy: Option[String] = Option("-updated_on"), repositorySlug: Option[String] = None): RequestResponse[Seq[Repository]]
Gets the list of the user's repositories.
Gets the list of the user's repositories. Private repositories only appear on this list if the caller is authenticated and is authorized to view the repository.
- ownerInfo
The username or the UUID of the account surrounded by curly-braces
- pageLength
The number of items of the page to be returned
- userRole
The role of the user to filter the repositories
- pageRequest
The cursor to get a page of repositories
- sortBy
The name of the field to sort the repositories. By default it is done in ascending order and it should be used an hyphen to reverse the order. Also, by default is ordered by last updated date
- repositorySlug
The slug of the repository to search the repository. It finds any case-insensitive text that contains this string
- returns
a RequestResponse with a sequence of repositories
-
def
getRepository(workspace: String, repositorySlug: String): RequestResponse[Repository]
Retrieve the repository matching the supplied owner and repositorySlug.
Retrieve the repository matching the supplied owner and repositorySlug.
- workspace
The workspace ID (slug) or the workspace UUID surrounded by curly-braces.
- repositorySlug
The repository slug or the UUID of the repository surrounded by curly-braces
- returns
A RequestResponse with the repository data
-
def
getRepositoryBranchRestrictions(username: String, repositorySlug: String, pageRequest: Option[PageRequest] = None): RequestResponse[Seq[BranchRestriction]]
Retrieve the branch restrictions for the supplied username and repositorySlug.
Retrieve the branch restrictions for the supplied username and repositorySlug.
- username
The username or the UUID of the account surrounded by curly-braces
- repositorySlug
The repository slug or the UUID of the repository surrounded by curly-braces
- pageRequest
The pagination request with cursor information
- returns
A RequestResponse with the branch restrictions for the repository
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()