uk.gov.nationalarchives.dp.client.ContentClient
See theContentClient companion trait
object ContentClient
An object containing a method which returns an implementation of the ContentClient trait
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ContentClient.type
Members list
Type members
Classlikes
Represents a field to be returned by the search query
Represents a field to be returned by the search query
Value parameters
- name
-
The name of the field
- values
-
The values to be returned. This is not used but is needed by Preservica
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Represents a complete search request
Represents a complete search request
Value parameters
- fields
-
A list of SearchField
- q
-
A string containing the search query
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
def createContentClient[F[_], S](clientConfig: ClientConfig[F, S])(using me: MonadError[F, Throwable], sync: Sync[F]): ContentClient[F]
Creates a new ContentClient
instance.
Creates a new ContentClient
instance.
Type parameters
- F
-
The type of the effect
- S
-
The type of the Stream to be used for the streaming methods.
Value parameters
- clientConfig
-
Configuration parameters needed to create the client
- me
-
An implicit instance of cats.MonadError
- sync
-
An implicit instance of cats.Sync
Attributes
In this article