Skip to content

Commit 4b3bcc1

Browse files
[Bot] push changes from Files.com
1 parent 683eb31 commit 4b3bcc1

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.171
1+
1.4.172

docs/Bundle.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
],
4848
"skip_name": true,
4949
"skip_email": true,
50-
"skip_company": true
50+
"skip_company": true,
51+
"in_use": true
5152
},
5253
"skip_name": true,
5354
"skip_email": true,

docs/FormFieldSet.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
],
3131
"skip_name": true,
3232
"skip_email": true,
33-
"skip_company": true
33+
"skip_company": true,
34+
"in_use": true
3435
}
3536
```
3637

@@ -41,6 +42,7 @@
4142
* `skip_name` / `SkipName` (bool): Any associated InboxRegistrations or BundleRegistrations can be saved without providing name
4243
* `skip_email` / `SkipEmail` (bool): Any associated InboxRegistrations or BundleRegistrations can be saved without providing email
4344
* `skip_company` / `SkipCompany` (bool): Any associated InboxRegistrations or BundleRegistrations can be saved without providing company
45+
* `in_use` / `InUse` (bool): Form Field Set is in use by an active Inbox / Bundle / Inbox Registration / Bundle Registration
4446
* `user_id` / `UserId` (Nullable<Int64>): User ID. Provide a value of `0` to operate the current session's user.
4547

4648

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.171" />
10+
<PackageReference Include="FilesCom" Version="1.4.172" />
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>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.171</Version>
6+
<Version>1.4.172</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/Models/FormFieldSet.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ public FormFieldSet(Dictionary<string, object> attributes, Dictionary<string, ob
5757
{
5858
this.attributes.Add("skip_company", false);
5959
}
60+
if (!this.attributes.ContainsKey("in_use"))
61+
{
62+
this.attributes.Add("in_use", false);
63+
}
6064
if (!this.attributes.ContainsKey("user_id"))
6165
{
6266
this.attributes.Add("user_id", null);
@@ -152,6 +156,17 @@ public bool SkipCompany
152156
set { attributes["skip_company"] = value; }
153157
}
154158

159+
/// <summary>
160+
/// Form Field Set is in use by an active Inbox / Bundle / Inbox Registration / Bundle Registration
161+
/// </summary>
162+
[JsonConverter(typeof(BooleanJsonConverter))]
163+
[JsonPropertyName("in_use")]
164+
public bool InUse
165+
{
166+
get { return attributes["in_use"] == null ? false : (bool)attributes["in_use"]; }
167+
set { attributes["in_use"] = value; }
168+
}
169+
155170
/// <summary>
156171
/// User ID. Provide a value of `0` to operate the current session's user.
157172
/// </summary>

0 commit comments

Comments
 (0)