Package

cloud.artik.cloudconnector

api_v1

Permalink

package api_v1

Visibility
  1. Public
  2. All

Type Members

  1. case class ActionDef(sdid: Option[String], ddid: String, extSubDeviceId: Option[String], ts: Long, name: String, params: String) extends Product with Serializable

    Permalink
  2. case class ActionRequest(requestsOfData: List[RequestDef] = Empty.list, dataProvided: List[String] = Empty.list) extends Product with Serializable

    Permalink
  3. case class ActionResponse(actionRequests: List[ActionRequest]) extends Product with Serializable

    Permalink
  4. final class AuthType extends Enum[AuthType]

    Permalink
  5. case class ByDid(did: String) extends DeviceSelector with Product with Serializable

    Permalink

    To select the DeviceInfos by the ARTIK Cloud Device Id

  6. case class ByExtId(extId: String) extends DeviceSelector with Product with Serializable

    Permalink

    To select the DeviceInfos by the External Id (eg user id) from the 3rd party

  7. case class ByExtSubDeviceId(extSubDeviceId: String) extends DeviceSelector with Product with Serializable

    Permalink

    To select the DeviceInfos (parent) by the sub-device's External Id

  8. abstract class CloudConnector extends AnyRef

    Permalink
  9. trait Context extends AnyRef

    Permalink

    Data provide from Context are read-only

  10. case class Credentials(kind: AuthType, secret: String, token: String, refreshToken: Option[String], tokenType: Option[String], permissions: List[String], expiresAt: Option[Long]) extends Product with Serializable

    Permalink
  11. class CryptographicHelper extends AnyRef

    Permalink
  12. trait CustomAuthenticationTask extends AnyRef

    Permalink
  13. case class CustomCredentials(extId: Option[String], credentials: Credentials) extends CustomAuthenticationTask with Product with Serializable

    Permalink
  14. case class DeviceInfo(did: String, extId: Option[String], credentials: Credentials, cloudId: String, userData: Option[String] = None) extends Product with Serializable

    Permalink
  15. sealed trait DeviceSelector extends AnyRef

    Permalink
  16. case class Event(ts: Long, payload: String, kind: EventType = EventType.data, extSubDeviceId: Option[String] = None, extSubDeviceTypeId: Option[String] = None) extends Task with Product with Serializable

    Permalink
  17. final class EventType extends Enum[EventType]

    Permalink
  18. case class Failure(txt: String, cause: Option[Throwable] = None) extends Product with Serializable

    Permalink
  19. final class HttpMethod extends Enum[HttpMethod]

    Permalink
  20. case class InputField(name: String, label: String, inputType: String, value: Option[String], help: Option[String], error: Option[String]) extends Product with Serializable

    Permalink
  21. case class NotificationResponse(thirdPartyNotifications: List[ThirdPartyNotification], responseToCallback: Option[Response] = None) extends Product with Serializable

    Permalink
  22. class OauthHelper extends AnyRef

    Permalink
  23. final class Phase extends Enum[Phase]

    Permalink
  24. case class RequestDef(url: String, method: HttpMethod = HttpMethod.Get, queryParams: Map[String, String] = Empty.map, headers: Map[String, String] = Empty.map, bodyParams: Map[String, String] = Empty.map, contentType: String = "text/plain", content: String = "", signature: Option[SignatureDataForOAuth] = None, delay: Long = 0, passThrough: Map[String, String] = Empty.map) extends Task with CustomAuthenticationTask with WelcomeTask with Product with Serializable

    Permalink
  25. trait RequestDefTools extends AnyRef

    Permalink
  26. case class Response(status: Int, contentType: String, content: String, passThrough: Map[String, String] = Empty.map, headers: Map[String, List[String]] = Empty.map) extends Product with Serializable

    Permalink
  27. case class SignatureDataForOAuth(clientId: String, clientSecret: String, userToken: String, userSecret: String) extends Product with Serializable

    Permalink
  28. trait Task extends AnyRef

    Permalink
  29. case class ThirdPartyNotification(selector: DeviceSelector, requestsOfData: List[RequestDef] = Empty.list, dataProvided: List[String] = Empty.list) extends Product with Serializable

    Permalink
  30. case class UserFormRequest(title: String, fields: List[InputField], help: Option[String], error: Option[String]) extends CustomAuthenticationTask with Product with Serializable

    Permalink
  31. case class WelcomeMessage(title: String, body: String) extends WelcomeTask with Product with Serializable

    Permalink
  32. trait WelcomeTask extends AnyRef

    Permalink
  33. case class ByDeviceId(did: String, cloudId: String) extends DeviceSelector with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    replaced by ByDid

  34. case class ByExtDid(extDid: String, cloudId: String) extends DeviceSelector with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    replaced by ByExtSubDeviceId

  35. case class ByExternalId(extId: String, cloudId: String) extends DeviceSelector with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    replaced by ByExtId

Value Members

  1. object Empty

    Permalink
  2. object NoDeviceSelector extends DeviceSelector with Product with Serializable

    Permalink
  3. object NoWelcomePage extends WelcomeTask with Product with Serializable

    Permalink
  4. object RequestDefTools

    Permalink

Ungrouped