Object

com.ubirch.avatar.client.rest

AvatarRestClient

Related Doc: package rest

Permalink

object AvatarRestClient extends StrictLogging with MyJsonProtocol

author: cvandrei since: 2016-11-15

Linear Supertypes
MyJsonProtocol, StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvatarRestClient
  2. MyJsonProtocol
  3. StrictLogging
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def claimDevice(hwDeviceId: String, oidcToken: Option[String], ubirchToken: Option[String] = None): DeviceUserClaim

    Permalink

    this method could be used to claim a device by current user (identified by Auth Token) the claimed device may not be owned by an other user

    this method could be used to claim a device by current user (identified by Auth Token) the claimed device may not be owned by an other user

    hwDeviceId

    hardware device id as a String

    oidcToken

    OIDC token of the user claiming a device

    ubirchToken

    ubirch token of the user claiming a device

    returns

    Boolean value

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def deviceBulkPOST(deviceDataRaw: DeviceDataRaw, oidcToken: Option[String], ubirchToken: Option[String] = None): Response

    Permalink

    Bulk update a device by POSTing raw device data.

    Bulk update a device by POSTing raw device data.

    deviceDataRaw

    raw data to POST

    oidcToken

    OIDC token of the user whose device stubs to list

    ubirchToken

    ubirch token of the user whose device stubs to list

    returns

    http response

  8. def deviceGET(oidcToken: Option[String], ubirchToken: Option[String] = None): Option[Set[Device]]

    Permalink

    oidcToken

    OIDC token of the user whose device to list

    ubirchToken

    ubirch token of the user whose device to list

    returns

    None in case of an error; other a sequence (empty if no devices are found)

  9. def deviceIdDELETE(deviceId: UUID, oidcToken: Option[String], ubirchToken: Option[String] = None): Boolean

    Permalink

    deviceId

    id of device to delete

    oidcToken

    OIDC token of the user whose device to update

    ubirchToken

    ubirch token of the user whose device to update

    returns

    true if device has been deleted or did not exist; false otherwise

  10. def deviceIdPUT(device: Device, oidcToken: Option[String], ubirchToken: Option[String] = None): Option[Device]

    Permalink

    device

    updated device

    oidcToken

    OIDC token of the user whose device to update

    ubirchToken

    ubirch token of the user whose device to update

    returns

    None in case of an error; otherwise the updated device

  11. def devicePOST(device: Device, oidcToken: Option[String], ubirchToken: Option[String] = None): Response

    Permalink
  12. def deviceStubGET(oidcToken: Option[String], ubirchToken: Option[String] = None): Option[Set[DeviceInfo]]

    Permalink

    oidcToken

    OIDC token of the user whose device stubs to list

    ubirchToken

    ubirch token of the user whose device stubs to list

    returns

    None in case of an error; other a sequence (empty if no devices are found)

  13. def deviceUpdatePOST(deviceDataRaw: DeviceDataRaw): Response

    Permalink

    Update a device by POSTing raw device data.

    Update a device by POSTing raw device data.

    deviceDataRaw

    raw data to POST

    returns

    http response

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. implicit def json4sJacksonFormats: Formats

    Permalink
    Definition Classes
    MyJsonProtocol
  21. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. implicit val serialization: Serialization.type

    Permalink
    Definition Classes
    MyJsonProtocol
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MyJsonProtocol

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped