Skip to content

Commit

Permalink
ON-36428 # Make props public
Browse files Browse the repository at this point in the history
  • Loading branch information
kizaonline committed Nov 17, 2023
1 parent b9a00c1 commit 885da84
Showing 1 changed file with 45 additions and 44 deletions.
89 changes: 45 additions & 44 deletions OneBlink.SDK/models/FormSubmission.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma warning disable IDE1006 // Naming is dictated by OneBlink API
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
Expand All @@ -9,70 +10,70 @@ public class FormSubmissionUser
[JsonProperty]
public string userId
{
get; internal set;
get; set;
}
[JsonProperty]
public string username
{
get; internal set;
get; set;
}
[JsonProperty]
public string email
{
get; internal set;
get; set;
}
[JsonProperty]
public bool? emailVerified
{
get; internal set;
get; set;
}
[JsonProperty]
public string firstName
{
get; internal set;
get; set;
}
[JsonProperty]
public string lastName
{
get; internal set;
get; set;
}
[JsonProperty]
public string fullName
{
get; internal set;
get; set;
}
[JsonProperty]
public string picture
{
get; internal set;
get; set;
}
[JsonProperty]
public string providerType
{
get; internal set;
get; set;
}
[JsonProperty]
public string providerUserId
{
get; internal set;
get; set;
}
[JsonProperty]
public string role
{
get; internal set;
get; set;
}
public bool? isSAMLUser
{
get; set;
}
public string phoneNumber
{
get; internal set;
get; set;
}
[JsonProperty]
public bool? phoneNumberVerified
{
get; internal set;
get; set;
}
}

Expand All @@ -91,7 +92,7 @@ public class FormSubmissionDevice
[JsonProperty]
public FormSubmissionDeviceType type
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -100,7 +101,7 @@ public FormSubmissionDeviceType type
[JsonProperty]
public string cordova
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -109,7 +110,7 @@ public string cordova
[JsonProperty]
public string model
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -118,7 +119,7 @@ public string model
[JsonProperty]
public string platform
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -127,7 +128,7 @@ public string platform
[JsonProperty]
public string uuid
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -136,7 +137,7 @@ public string uuid
[JsonProperty]
public string version
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -145,7 +146,7 @@ public string version
[JsonProperty]
public string manufacturer
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -154,7 +155,7 @@ public string manufacturer
[JsonProperty]
public bool? isVirtual
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -163,7 +164,7 @@ public bool? isVirtual
[JsonProperty]
public string serial
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -172,7 +173,7 @@ public string serial
[JsonProperty]
public string appCodeName
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -181,7 +182,7 @@ public string appCodeName
[JsonProperty]
public string appName
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -190,7 +191,7 @@ public string appName
[JsonProperty]
public string appVersion
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -199,7 +200,7 @@ public string appVersion
[JsonProperty]
public bool? cookieEnabled
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -208,7 +209,7 @@ public bool? cookieEnabled
[JsonProperty]
public int? hardwareConcurrency
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -217,7 +218,7 @@ public int? hardwareConcurrency
[JsonProperty]
public string language
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -226,7 +227,7 @@ public string language
[JsonProperty]
public int? maxTouchPoints
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -235,7 +236,7 @@ public int? maxTouchPoints
[JsonProperty]
public string userAgent
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -244,7 +245,7 @@ public string userAgent
[JsonProperty]
public string vendor
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -253,7 +254,7 @@ public string vendor
[JsonProperty]
public string vendorSub
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -262,7 +263,7 @@ public string vendorSub
[JsonProperty]
public bool? webdriver
{
get; internal set;
get; set;
}
}

Expand All @@ -271,43 +272,43 @@ public class FormSubmission<T>
[JsonProperty]
public Form definition
{
get; internal set;
get; set;
}

[JsonProperty]
public T submission
{
get; internal set;
get; set;
}

[JsonProperty]
public DateTime submissionTimestamp
{
get; internal set;
get; set;
}

[JsonProperty]
public string ipAddress
{
get; internal set;
get; set;
}

[JsonProperty]
public string keyId
{
get; internal set;
get; set;
}

[JsonProperty]
public long formsAppId
{
get; internal set;
get; set;
}

[JsonProperty]
public FormSubmissionUser user
{
get; internal set;
get; set;
}

/// <summary>
Expand All @@ -316,7 +317,7 @@ public FormSubmissionUser user
[JsonProperty]
public FormSubmissionDevice device
{
get; internal set;
get; set;
}
}

Expand All @@ -325,17 +326,17 @@ public class FormSubmissionSupervisor
[JsonProperty]
public string email
{
get; internal set;
get; set;
}
[JsonProperty]
public string fullName
{
get; internal set;
get; set;
}
[JsonProperty]
public string providerUserId
{
get; internal set;
get; set;
}
}

Expand Down

0 comments on commit 885da84

Please sign in to comment.