-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ON-41236 Fixed DeveloperKey properties not being set
- Loading branch information
1 parent
89174c1
commit 89125f2
Showing
2 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,84 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace OneBlink.SDK.Model | ||
{ | ||
public class DeveloperKey | ||
{ | ||
public string id { get; internal set; } | ||
[JsonProperty] | ||
public string id | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
[Obsolete("secret is deprecated and will always be null.")] | ||
public string secret { get; internal set; } | ||
public long customerSecretId { get; internal set; } | ||
public string name { get; internal set; } | ||
public DeveloperKeyPrivilege privilege { get; internal set; } | ||
public DeveloperKeyLinks links { get; internal set; } | ||
public Boolean isSolutions { get; internal set; } | ||
public string secret | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public long customerSecretId | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public string name | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public DeveloperKeyPrivilege privilege | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public DeveloperKeyLinks links | ||
{ | ||
get; internal set; | ||
} | ||
|
||
} | ||
|
||
public class DeveloperKeyPrivilege | ||
{ | ||
public string API_HOSTING { get; internal set; } | ||
public string PDF { get; internal set; } | ||
public string WEB_APP_HOSTING { get; internal set; } | ||
public string FORMS { get; internal set; } | ||
|
||
[JsonProperty] | ||
public string API_HOSTING | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public string PDF | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public string WEB_APP_HOSTING | ||
{ | ||
get; internal set; | ||
} | ||
|
||
[JsonProperty] | ||
public string FORMS | ||
{ | ||
get; internal set; | ||
} | ||
} | ||
|
||
public class DeveloperKeyLinks | ||
{ | ||
public string organisations { get; internal set; } | ||
|
||
[JsonProperty] | ||
public string organisations | ||
{ | ||
get; internal set; | ||
} | ||
} | ||
} |