Skip to content

Commit 35cf139

Browse files
v1.4.219
[Bot] push changes from Files.com
1 parent 8abe79a commit 35cf139

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ To sort the returned data, pass in the ```sort_by``` method argument.
324324
Each resource supports a unique set of valid sort fields and can only be sorted by one field at a
325325
time.
326326

327-
The argument value is a C# ```Dictionary<string, object>``` object that has a property of the
327+
The argument value is a C# ```Dictionary<string, string>``` object that has a property of the
328328
resource field name sort on and a value of either ```"asc"``` or ```"desc"``` to specify the sort
329329
order.
330330

@@ -341,7 +341,7 @@ using FilesCom.Models;
341341

342342
// users sorted by username
343343
var args = new Dictionary<string, object>();
344-
var sortArgs = new Dictionary<string, object>();
344+
var sortArgs = new Dictionary<string, string>();
345345
sortArgs.Add("username", "asc");
346346
args.Add("sort_by", sortArgs);
347347

@@ -371,7 +371,7 @@ single field.
371371
Each resource supports a unique set of valid filter fields, filter combinations, and combinations of
372372
filters and sort fields.
373373

374-
The passed in argument value is a C# ```Dictionary<string, object>``` object that has a property of
374+
The passed in argument value is a C# ```Dictionary<string, string>``` object that has a property of
375375
the resource field name to filter on and a passed in value to use in the filter comparison.
376376

377377
#### Filter Types
@@ -390,8 +390,8 @@ using FilesCom.Models;
390390

391391
// non admin users
392392
var args = new Dictionary<string, object>();
393-
var filterArgs = new Dictionary<string, object>();
394-
filterArgs.Add("not_site_admin", true);
393+
var filterArgs = new Dictionary<string, string>();
394+
filterArgs.Add("not_site_admin", "true");
395395
args.Add("filter", filterArgs);
396396

397397
try
@@ -416,7 +416,7 @@ using FilesCom.Models;
416416

417417
// users who haven't logged in since 2024-01-01
418418
var args = new Dictionary<string, object>();
419-
var filterArgs = new Dictionary<string, object>();
419+
var filterArgs = new Dictionary<string, string>();
420420
filterArgs.Add("last_login_at","2024-01-01");
421421
args.Add("filter_gteq", filterArgs);
422422

@@ -442,7 +442,7 @@ using FilesCom.Models;
442442

443443
// users whose usernames start with 'test'
444444
var args = new Dictionary<string, object>();
445-
var filterArgs = new Dictionary<string, object>();
445+
var filterArgs = new Dictionary<string, string>();
446446
filterArgs.Add("username","test");
447447
args.Add("filter_prefix", filterArgs);
448448

@@ -468,12 +468,12 @@ using FilesCom.Models;
468468

469469
// users whose usernames start with 'test' and are not admins
470470
var args = new Dictionary<string, object>();
471-
var filterPrefixArgs = new Dictionary<string, object>();
472-
var filterArgs = new Dictionary<string, object>();
473-
var sortArgs = new Dictionary<string, object>();
471+
var filterPrefixArgs = new Dictionary<string, string>();
472+
var filterArgs = new Dictionary<string, string>();
473+
var sortArgs = new Dictionary<string, string>();
474474
filterPrefixArgs.Add("username","test");
475-
filterArgs.Add("not_site_admin", true);
476-
sortArgs.Add("last_login_at", "asc");
475+
filterArgs.Add("not_site_admin", "true");
476+
sortArgs.Add("username", "asc");
477477
args.Add("filter_prefix", filterPrefixArgs);
478478
args.Add("filter", filterArgs);
479479
args.Add("sort_by", sortArgs);

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.218
1+
1.4.219

examples/files-cli/files-cli.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="FilesCom" Version="1.4.218" />
10+
<PackageReference Include="FilesCom" Version="1.4.219" />
1111
<PackageReference Include="log4net" Version="2.0.10" />
1212
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0-preview.1.20120.5" />
1313
<PackageReference Include="ManyConsole" Version="2.0.1" />

sdk/FilesCom/FilesCom.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFrameworks>net8.0;net6.0;net5.0;netcoreapp3.1;netcoreapp3.0;netcoreapp2.2;netcoreapp2.1;netstandard2.1;netstandard2.0</TargetFrameworks>
44
<CheckEolTargetFramework>false</CheckEolTargetFramework>
55
<PackageId>FilesCom</PackageId>
6-
<Version>1.4.218</Version>
6+
<Version>1.4.219</Version>
77
<Authors>Files.com - support@files.com - https://www.files.com/</Authors>
88
<Title>Files.com Client</Title>
99
<Description>The Files.com .NET Client library provides convenient access to the Files.com API from applications using the .NET framework.</Description>

sdk/FilesCom/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ To sort the returned data, pass in the ```sort_by``` method argument.
324324
Each resource supports a unique set of valid sort fields and can only be sorted by one field at a
325325
time.
326326

327-
The argument value is a C# ```Dictionary<string, object>``` object that has a property of the
327+
The argument value is a C# ```Dictionary<string, string>``` object that has a property of the
328328
resource field name sort on and a value of either ```"asc"``` or ```"desc"``` to specify the sort
329329
order.
330330

@@ -341,7 +341,7 @@ using FilesCom.Models;
341341

342342
// users sorted by username
343343
var args = new Dictionary<string, object>();
344-
var sortArgs = new Dictionary<string, object>();
344+
var sortArgs = new Dictionary<string, string>();
345345
sortArgs.Add("username", "asc");
346346
args.Add("sort_by", sortArgs);
347347

@@ -371,7 +371,7 @@ single field.
371371
Each resource supports a unique set of valid filter fields, filter combinations, and combinations of
372372
filters and sort fields.
373373

374-
The passed in argument value is a C# ```Dictionary<string, object>``` object that has a property of
374+
The passed in argument value is a C# ```Dictionary<string, string>``` object that has a property of
375375
the resource field name to filter on and a passed in value to use in the filter comparison.
376376

377377
#### Filter Types
@@ -390,8 +390,8 @@ using FilesCom.Models;
390390

391391
// non admin users
392392
var args = new Dictionary<string, object>();
393-
var filterArgs = new Dictionary<string, object>();
394-
filterArgs.Add("not_site_admin", true);
393+
var filterArgs = new Dictionary<string, string>();
394+
filterArgs.Add("not_site_admin", "true");
395395
args.Add("filter", filterArgs);
396396

397397
try
@@ -416,7 +416,7 @@ using FilesCom.Models;
416416

417417
// users who haven't logged in since 2024-01-01
418418
var args = new Dictionary<string, object>();
419-
var filterArgs = new Dictionary<string, object>();
419+
var filterArgs = new Dictionary<string, string>();
420420
filterArgs.Add("last_login_at","2024-01-01");
421421
args.Add("filter_gteq", filterArgs);
422422

@@ -442,7 +442,7 @@ using FilesCom.Models;
442442

443443
// users whose usernames start with 'test'
444444
var args = new Dictionary<string, object>();
445-
var filterArgs = new Dictionary<string, object>();
445+
var filterArgs = new Dictionary<string, string>();
446446
filterArgs.Add("username","test");
447447
args.Add("filter_prefix", filterArgs);
448448

@@ -468,12 +468,12 @@ using FilesCom.Models;
468468

469469
// users whose usernames start with 'test' and are not admins
470470
var args = new Dictionary<string, object>();
471-
var filterPrefixArgs = new Dictionary<string, object>();
472-
var filterArgs = new Dictionary<string, object>();
473-
var sortArgs = new Dictionary<string, object>();
471+
var filterPrefixArgs = new Dictionary<string, string>();
472+
var filterArgs = new Dictionary<string, string>();
473+
var sortArgs = new Dictionary<string, string>();
474474
filterPrefixArgs.Add("username","test");
475-
filterArgs.Add("not_site_admin", true);
476-
sortArgs.Add("last_login_at", "asc");
475+
filterArgs.Add("not_site_admin", "true");
476+
sortArgs.Add("username", "asc");
477477
args.Add("filter_prefix", filterPrefixArgs);
478478
args.Add("filter", filterArgs);
479479
args.Add("sort_by", sortArgs);

0 commit comments

Comments
 (0)