ArticleServiceClient class
/ articles are contained in calibres / we keep article as the service name for clarity / but the list of objects are Calibres and we use calibreId
Constructors
-
ArticleServiceClient(ClientChannel channel, {CallOptions? options, Iterable<
ClientInterceptor> ? interceptors})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$createCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R> -
inherited
-
$createStreamingCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R> -
inherited
-
$createUnaryCall<
Q, R> (ClientMethod< Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R> -
inherited
-
createMany(
CalibresRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> -
createManyPhotos(
PhotosRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> -
createOne(
CalibreRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> -
createOneCategory(
CategoryRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / / category /
-
createOnePhoto(
PhotoRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / / photo /
-
deleteOne(
CalibreRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / hard delete
-
deleteOneCategory(
CategoryRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> -
deleteOnePhoto(
PhotoRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readAll(
ReadAllRequest request, {CallOptions? options}) → ResponseFuture< CalibresResponse> -
/ use
lastFetchTimestampUTCto only read the latest changes since last fetch -
readAllCategories(
ReadCategoriesRequest request, {CallOptions? options}) → ResponseFuture< CategoriesResponse> -
readAllIds(
ReadIdsRequest request, {CallOptions? options}) → ResponseFuture< CalibresIdsResponse> -
readAllPhotos(
ReadPhotosRequest request, {CallOptions? options}) → ResponseFuture< PhotosResponse> -
/ use
lastFetchTimestampUTCto only read the latest changes since last fetch -
readOne(
ReadCalibreRequest request, {CallOptions? options}) → ResponseFuture< CalibrePb> -
readOneCategory(
FindCategoryRequest request, {CallOptions? options}) → ResponseFuture< CategoryPb> -
readOnePhoto(
FindPhotoRequest request, {CallOptions? options}) → ResponseFuture< ArticlePhotoPb> -
toString(
) → String -
A string representation of this object.
inherited
-
updateOne(
CalibreRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / update == upsert (replaceOne upsert)
-
updateOneCategory(
CategoryRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / upsert works with replaceOne upsert true
-
updateOnePhoto(
PhotoRequest request, {CallOptions? options}) → ResponseFuture< StatusResponse> - / upsert
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultHost → const String
- The hostname for this service.
-
oauthScopes
→ const List<
String> - OAuth scopes needed for the client.