Skip to content

Commit

Permalink
Updated RecordData.cs
Browse files Browse the repository at this point in the history
Removed DAG attributes from PAM fields and switched the rest to camelCase
  • Loading branch information
idimov-keeper authored Sep 16, 2024
1 parent 97fee95 commit 9668d07
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions sdk/dotNet/SecretsManager/RecordData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -510,13 +510,12 @@ public class AppFillers : KeeperField
public class PamRbiConnection
{
public string protocol { get; set; }
public bool? enabled { get; set; }
public List<string> user_records { get; set; }
[JsonPropertyName("allow-url-manipulation")] public bool? allowUrlManipulation { get; set; }
[JsonPropertyName("allowed-url-patterns")] public string allowedUrlPatterns { get; set; }
[JsonPropertyName("allowed-resource-url-patterns")] public string allowedResourceUrlPatterns { get; set; }
[JsonPropertyName("http-credentials-uid")] public string httpCredentialsUid { get; set; }
[JsonPropertyName("autofill-configuration")] public string autofillConfiguration { get; set; }
public List<string> userRecords { get; set; }
public bool? allowUrlManipulation { get; set; }
public string allowedUrlPatterns { get; set; }
public string allowedResourceUrlPatterns { get; set; }
public string httpCredentialsUid { get; set; }
public string autofillConfiguration { get; set; }
}

public class PamRemoteBrowserSetting
Expand All @@ -534,25 +533,21 @@ public class PamRemoteBrowserSettings : KeeperField
public class PamSettingsConnection
{
public string protocol { get; set; }
public bool? enabled { get; set; }
public List<string> user_records { get; set; }
public List<string> userRecords { get; set; }
public string security { get; set; }
[JsonPropertyName("ignore-cert")] public bool? ignoreCert { get; set; }
[JsonPropertyName("resize-method")] public string resizeMethod { get; set; }
[JsonPropertyName("color-scheme")] public string colorScheme { get; set; }
public bool? ignoreCert { get; set; }
public string resizeMethod { get; set; }
public string colorScheme { get; set; }
}

public class PamSettingsPortForward
{
public bool? enabled { get; set; }
public bool? reusePort { get; set; }
public string port { get; set; }
}

public class PamSetting
{
public string configUid { get; set; }
public string adminCredentialUid { get; set; }
public List<PamSettingsPortForward> portForward { get; set; }
public List<PamSettingsConnection> connection { get; set; }
}
Expand Down

0 comments on commit 9668d07

Please sign in to comment.