c

dynamics.client

GraphClient

case class GraphClient(http: Client[IO], connectInfo: ConnectionInfo)(implicit F: ApplicativeError[IO, Throwable], ec: ExecutionContext) extends LazyLogger with DynamicsClientRequests with ClientMethods with Product with Serializable

Microsoft Graph specific client

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ClientMethods
  7. DynamicsClientRequests
  8. LazyLogger
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphClient(http: Client[IO], connectInfo: ConnectionInfo)(implicit F: ApplicativeError[IO, Throwable], ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DefaultBatchRequest: HttpRequest[Nothing]
    Definition Classes
    DynamicsClientRequests
  5. def _getList[A <: Any](url: String, headers: HttpHeaders)(): IO[Seq[A]]

    Get a list of values.

    Get a list of values. Follows @data.nextLink but accumulates all the results into memory. Prefer getListStream. For now, the caller must decode external to this method. The url is usually generated from a QuerySpec.

    Attributes
    protected
    Definition Classes
    ClientMethods
  6. def _getListStream[A <: Any](url: String, headers: HttpHeaders): Stream[IO, A]

    Get a list of values as a stream.

    Get a list of values as a stream. Follows @odata.nextLink. For now, the caller must decode external to this method.

    Attributes
    protected
    Definition Classes
    ClientMethods
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findGraphError(body: Dynamic): Option[GraphErrorJS]
    Attributes
    protected
  12. def findSimpleMessage(body: Dynamic): Option[String]

    Not sure when this might apply.

    Not sure when this might apply. Do we get errors where the error property is embedded on a Message (capital?) field?

    Attributes
    protected
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getList[A <: Any](url: String, opts: DynamicsOptions = DefaultDynamicsOptions)(): IO[Seq[A]]
  15. def getListStream[A <: Any](url: String, opts: DynamicsOptions = DefaultDynamicsOptions): Stream[IO, A]

    Get a list of values as a stream.

    Get a list of values as a stream. Follows @odata.nextLink. For now, the caller must decode external to this method.

  16. val http: Client[IO]
    Definition Classes
    GraphClientClientMethods
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. lazy val logger: Logger
    Definition Classes
    LazyLogger
  19. def mkAssociateRequest[F[_]](fromEntitySet: String, fromEntityId: String, navProperty: String, toEntitySet: String, toEntityId: String, base: String, singleValuedNavProperty: Boolean = true): HttpRequest[F]

    Not sure adding $base to the @odata.id is absolutely needed.

    Not sure adding $base to the @odata.id is absolutely needed. Probably is.

    Definition Classes
    DynamicsClientRequests
    See also

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/associate-disassociate-entities-using-web-api?view=dynamics-ce-odata-9

  20. def mkBatch[F[_]](m: Multipart, headers: HttpHeaders = HttpHeaders.empty): HttpRequest[F]

    Body in HttpRequest is ignored and is instead generated from m.

    Body in HttpRequest is ignored and is instead generated from m. Since the parts will have requests, you need to ensure that the base URL used in those requests have a consistent base URL.

    Definition Classes
    DynamicsClientRequests
  21. def mkBatchRequest[F[_], A](headers: HttpHeaders, m: Multipart): HttpRequest[F]

    Definition Classes
    DynamicsClientRequests
  22. def mkCreateRequest[F[_], B](entitySet: String, body: B, opts: DynamicsOptions = DefaultDynamicsOptions)(implicit e: EntityEncoder[B]): HttpRequest[F]
    Definition Classes
    DynamicsClientRequests
  23. def mkDeleteRequest[F[_]](entitySet: String, keyInfo: DynamicsId, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]

    Make a pure delete request.

    Make a pure delete request.

    Definition Classes
    DynamicsClientRequests
  24. def mkDisassocatiateRequest[F[_]](fromEntitySet: String, fromEntityId: String, navProperty: String, toId: Option[String]): HttpRequest[F]

    Provide to if its a collection-valued navigation property, otherwise it removes a single-valued navigation property.

    Provide to if its a collection-valued navigation property, otherwise it removes a single-valued navigation property.

    Definition Classes
    DynamicsClientRequests
    See also

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/associate-disassociate-entities-using-web-api?view=dynamics-ce-odata-9

  25. def mkExecuteActionRequest[F[_]](action: String, body: Entity, entitySetAndId: Option[(String, String)] = None, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]
    Definition Classes
    DynamicsClientRequests
  26. def mkExecuteFunctionRequest[F[_]](function: String, parameters: Map[String, Any] = Map.empty, entity: Option[(String, String)] = None): HttpRequest[F]
    Definition Classes
    DynamicsClientRequests
  27. def mkGetListRequest[F[_]](url: String, opts: DynamicsOptions = DefaultDynamicsOptions): HttpRequest[F]
    Definition Classes
    DynamicsClientRequests
  28. def mkGetOneRequest[F[_]](url: String, opts: DynamicsOptions): HttpRequest[F]
    Definition Classes
    DynamicsClientRequests
  29. def mkUpdateRequest[F[_], B](entitySet: String, id: String, body: B, upsertPreventCreate: Boolean = true, upsertPreventUpdate: Boolean = false, options: DynamicsOptions = DefaultDynamicsOptions, base: Option[String] = None)(implicit enc: EntityEncoder[B]): HttpRequest[F]

    Create a PATCH request that could also upsert.

    Create a PATCH request that could also upsert. "opts" version could override upsertPreventCreate if a version value is also included, so be careful.

    Definition Classes
    DynamicsClientRequests
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def responseToFailedTask[A](resp: HttpResponse[IO], msg: String, req: Option[HttpRequest[IO]]): IO[A]
    Definition Classes
    GraphClientClientMethods
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toHeaders(o: DynamicsOptions): HttpHeaders

    This does not handle the version tag + applyOptimisticConcurrency flag yet.

    This does not handle the version tag + applyOptimisticConcurrency flag yet.

    Definition Classes
    DynamicsClientRequests
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ClientMethods

Inherited from DynamicsClientRequests

Inherited from LazyLogger

Inherited from AnyRef

Inherited from Any

Ungrouped