abstract class BitbucketClientBase extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BitbucketClientBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BitbucketClientBase(client: WSClient, credentials: Credentials)
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
- val apiBaseUrl: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val client: WSClient
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def delete[T](url: String): RequestResponse[Boolean]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute[T](url: String)(implicit arg0: Reads[T]): RequestResponse[T]
Does an API request and parses the json output into a class.
-
def
executePaginated[T](url: String)(implicit arg0: Reads[T]): RequestResponse[Seq[T]]
Does a paginated API request and parses the json output into a sequence of classes.
-
def
executeWithCursor[T](url: String, pageRequest: PageRequest, pageLength: Option[Int] = None)(implicit reader: Reads[T]): RequestResponse[Seq[T]]
Make an API request and parse the json output into a response.
Make an API request and parse the json output into a response. This response includes not only the objects requested but pagination information as well.
- T
The type of the objects in the response (excluding pagination information)
- url
The url to be invoked if no cursor is provided
- pageRequest
The pagination request with cursor information
- reader
A Reads to parse the json response from the API
- returns
A SuccessfulResponse or a FailedResponse depending if the request was successful or not
-
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 getJson[T](url: String)(implicit arg0: Reads[T]): RequestResponse[T]
- def getRaw(url: String): RequestResponse[String]
-
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()
- def postForm[D, T](url: String, values: D)(implicit arg0: BodyWriteable[D], arg1: Reads[T]): RequestResponse[T]
- def postJson[T](url: String, values: JsValue)(implicit arg0: Reads[T]): RequestResponse[T]
- def putForm[T](url: String, values: Map[String, Seq[String]])(implicit arg0: Reads[T]): RequestResponse[T]
- def putJson[T](url: String, values: JsValue)(implicit arg0: Reads[T]): RequestResponse[T]
- val repositoriesBaseUrl: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val userBaseUrl: String
- val usersBaseUrl: String
-
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()
- val workspacesBaseUrl: String