Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# example fixes and improvements #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
314 changes: 157 additions & 157 deletions C#/AppTokenCSharpExample/AppTokenCSharpExample.cs

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions C#/AppTokenCSharpExample/AppTokenCSharpExample.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
16 changes: 16 additions & 0 deletions C#/AppTokenCSharpExample/DataModel/Applicant.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace AppTokenCSharpExample.DataModel;

public class Applicant
{
public string id { get; set; }
public string createdAt { get; set; }
public string clientId { get; set; }
public string inspectionId { get; set; }
public string externalUserId { get; set; }
public Fixedinfo fixedInfo { get; set; }
public string email { get; set; }
public string phone { get; set; }
public Requirediddocs requiredIdDocs { get; set; }
public Review review { get; set; }
public string type { get; set; }
}
8 changes: 8 additions & 0 deletions C#/AppTokenCSharpExample/DataModel/Docset.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace AppTokenCSharpExample.DataModel;

public class Docset
{
public string idDocSetType { get; set; }
public string[] types { get; set; }
public string videoRequired { get; set; }
}
7 changes: 7 additions & 0 deletions C#/AppTokenCSharpExample/DataModel/Fixedinfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace AppTokenCSharpExample.DataModel;

public class Fixedinfo
{
public string placeOfBirth { get; set; }
public string country { get; set; }
}
7 changes: 7 additions & 0 deletions C#/AppTokenCSharpExample/DataModel/Requirediddocs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace AppTokenCSharpExample.DataModel;

public class Requirediddocs
{
public string[] excludedCountries { get; set; }
public Docset[] docSets { get; set; }
}
8 changes: 8 additions & 0 deletions C#/AppTokenCSharpExample/DataModel/Review.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace AppTokenCSharpExample.DataModel;

public class Review
{
public bool reprocessing { get; set; }
public string createDate { get; set; }
public string reviewStatus { get; set; }
}
36 changes: 0 additions & 36 deletions C#/AppTokenCSharpExample/Properties/AssemblyInfo.cs

This file was deleted.

This file was deleted.

Binary file not shown.
11 changes: 0 additions & 11 deletions C#/AppTokenCSharpExample/packages.config

This file was deleted.

20 changes: 0 additions & 20 deletions C#/packages/Newtonsoft.Json.12.0.3/LICENSE.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading