/*
Proto contract ...

Version     Date            Author      Comment
V1.0.0      10-09-2024      SGi         Initial versioning
V1.1.0      18-11-2024      MiAl        Added comments
*/

syntax = "proto3";

import "google/protobuf/wrappers.proto";

package shared;

option csharp_namespace = "Bergstein.Digi.Shared.Interfaces.PrintManager.Paging.Protos.V1";

// The paging request to fetch a certain size of the associated collection.
message PagingRequest {
  // The page size as a number of items to fetch.
  google.protobuf.UInt32Value page_size = 1;
  // The page number as a zero based index and size of the 'page size'.
  google.protobuf.UInt32Value page_number = 2;
  // The value to include the total size of items.
  bool include_total_size = 3;
}

// The paging reply containing meta data about the associated collection.
message PagingReply {
  // The total size of items.
  int32 total_size = 1;
}
