getAllUUIDMetadata method
Returns a paginated list of all uuidMetadata associated with the given subscription key, optionally including each uuidMetadata record's custom data object.
To include custom
property fields in response, set includeCustomFields
to true
Omit this parameter if you don't want to retrieve additional metadata.
To omit status
field from metadata, set includeStatus
to false
Default is true
.
To omit type
field from metadata, set includeType
to false
Default is true
.
You can limit number of returned user object using limit
parameter
Default is 100, which is also the maximum value.
You can specify start
and end
to specify previously-returned cursor bookmark
for fetching the next/previous page
To omit totalCount
field from paginated list, set includeCount
to false
Default is true
.
filter
is Expression used to filter the results.
Only objects whose properties satisfy the given expression are returned.
For sorting, use sort
which is List of attributes to sort by.
Append :asc or :desc to an attribute to specify sort direction.
The default sort direction is ascending.
Implementation
Future<GetAllUuidMetadataResult> getAllUUIDMetadata(
{bool? includeCustomFields,
int? limit,
String? start,
String? end,
bool includeCount = true,
bool includeStatus = true,
bool includeType = true,
String? filter,
Set<String>? sort,
Keyset? keyset,
String? using}) async {
keyset ??= _core.keysets[using];
var include = <String>{};
if (includeCustomFields != null && includeCustomFields) {
include.add('custom');
}
if (includeStatus) {
include.add('status');
}
if (includeType) {
include.add('type');
}
var params = GetAllUuidMetadataParams(keyset,
include: include,
limit: limit,
start: start,
end: end,
includeCount: includeCount,
filter: filter,
sort: sort);
return defaultFlow<GetAllUuidMetadataParams, GetAllUuidMetadataResult>(
keyset: keyset,
core: _core,
params: params,
serialize: (object, [_]) => GetAllUuidMetadataResult.fromJson(object));
}