Skip to content

Commit

Permalink
RPC - class conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jul 26, 2021
1 parent abf902c commit b986909
Show file tree
Hide file tree
Showing 21 changed files with 158 additions and 216 deletions.

This file was deleted.

@@ -1,18 +1,18 @@
---
title: "TssSecretRpcAssociated"
title: "AssociatedSecret"
---

# TOPIC
This help topic describes the TssSecretRpcAssociated class in the Thycotic.SecretServer module
This help topic describes the Thycotic.PowerShell.Rpc.AssociatedSecret class in the Thycotic.SecretServer module

# CLASS
TssSecretRpcAssociated
Thycotic.PowerShell.Rpc.AssociatedSecret

# INHERITANCE
None

# DESCRIPTION
The TssSecretRpcAssociated class represents the resetSecrets object returned by Secret Server endpoint GET /internals/secret-detail/{id}/rpc
The Thycotic.PowerShell.Rpc.AssociatedSecret class represents the object returned by Secret Server endpoint GET /internals/secret-detail/{id}/rpc

# CONSTRUCTORS
new()
Expand Down
@@ -1,18 +1,18 @@
---
title: "TssPasswordType"
title: "PasswordType"
---

# TOPIC
This help topic describes the TssPasswordType class in the Thycotic.SecretServer module
This help topic describes the Thycotic.PowerShell.Rpc.PasswordType class in the Thycotic.SecretServer module

# CLASS
TssPasswordType
Thycotic.PowerShell.Rpc.PasswordType

# INHERITANCE
None

# DESCRIPTION
The TssPasswordType class represents the PasswordTypeModel object returned by Secret Server endpoint GET /remote-password-changing/password-types/{id}
The Thycotic.PowerShell.Rpc.PasswordType class represents the PasswordTypeModel object returned by Secret Server endpoint GET /remote-password-changing/password-types/{id}

# CONSTRUCTORS
new()
Expand All @@ -30,7 +30,7 @@ title: "TssPasswordType"
ExitCommand: string
Exit Command

Fields: TssPasswordTypeField[]
Fields: PasswordTypeField[]
Password Type Fields

HasCommands: boolean
Expand Down
33 changes: 33 additions & 0 deletions docs/about_topics/rpc/PasswordTypeField.md
@@ -0,0 +1,33 @@
---
title: "PasswordTypeField"
---

# TOPIC
This help topic describes the Thycotic.PowerShell.Rpc.PasswordTypeField class in the Thycotic.SecretServer module

# CLASS
Thycotic.PowerShell.Rpc.PasswordTypeField

# INHERITANCE
None

# DESCRIPTION
The Thycotic.PowerShell.Rpc.PasswordTypeField class represents the IRestPasswordTypeField object returned by Secret Server endpoint GET /remote-password-changing/password-types/{id}

# CONSTRUCTORS
new()

# PROPERTIES
Name: string
Name

PasswordTypeFieldId: integer (int32)
PasswordTypeFieldId

ScanItemFieldId: integer (int32)
ScanItemFieldId

# METHODS

# RELATED LINKS:
Get-TssRpcPasswordType
@@ -1,18 +1,18 @@
---
title: "TssPasswordTypeSummary"
title: "PasswordTypeSummary"
---

# TOPIC
This help topic describes the TssPasswordTypeSummary class in the Thycotic.SecretServer module
This help topic describes the Thycotic.PowerShell.Rpc.PasswordTypeSummary class in the Thycotic.SecretServer module

# CLASS
TssPasswordTypeSummary
Thycotic.PowerShell.Rpc.PasswordTypeSummary

# INHERITANCE
None

# DESCRIPTION
The TssPasswordTypeSummary class represents the PasswordTypeSummary object returned by Secret Server endpoint GET /remote-password-changing/password-types
The Thycotic.PowerShell.Rpc.PasswordTypeSummary class represents the PasswordTypeSummary object returned by Secret Server endpoint GET /remote-password-changing/password-types

# CONSTRUCTORS
new()
Expand Down
File renamed without changes.
Expand Up @@ -61,13 +61,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### TssPasswordType
### Thycotic.PowerShell.Rpc.PasswordType
## NOTES
Requires TssSession object returned by New-TssSession

## RELATED LINKS

[https://thycotic-ps.github.io/thycotic.secretserver/commands/remote-password-changing/Get-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/remote-password-changing/Get-TssRpcPasswordType)
[https://thycotic-ps.github.io/thycotic.secretserver/commands/rpc/Get-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/rpc/Get-TssRpcPasswordType)

[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Get-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Get-RpcPasswordType.ps1)
[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/rpc/Get-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/rpc/Get-RpcPasswordType.ps1)

Expand Up @@ -92,13 +92,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### TssPasswordTypeSummary
### Thycotic.PowerShell.Rpc.PasswordTypeSummary
## NOTES
Requires TssSession object returned by New-TssSession

## RELATED LINKS

[https://thycotic-ps.github.io/thycotic.secretserver/commands/remote-password-changing/Search-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/remote-password-changing/Search-TssRpcPasswordType)
[https://thycotic-ps.github.io/thycotic.secretserver/commands/rpc/Search-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/rpc/Search-TssRpcPasswordType)

[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Search-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Search-RpcPasswordType.ps1)
[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/rpc/Search-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/rpc/Search-RpcPasswordType.ps1)

File renamed without changes.
37 changes: 37 additions & 0 deletions src/Thycotic.SecretServer/classes/rpc/PasswordType.cs
@@ -0,0 +1,37 @@
using System;
using System.Threading.Tasks;
using System.Management.Automation;
using System.Management.Automation.Runspaces;

namespace Thycotic.PowerShell.Rpc
{
public class PasswordType
{
public bool Active { get; set; }
public bool CanEdit { get; set; }
public int CustomPort { get; set; }
public string ExitCommand { get; set; }
public PasswordTypeField[] Fields { get; set; }
public bool HasCommands { get; set; }
public bool HasLDAPSettings { get; set; }
public string HeartbeatScriptArgs { get; set; }
public int HeartbeatScriptId { get; set; }
public bool IgnoreSSL { get; set; }
public bool IsWeb { get; set; }
public int LdapConnectionSettingsId { get; set; }
public string LineEnding { get; set; }
public string MainframeConnectionString { get; set; }
public string Name { get; set; }
public string OdbcConnectionString { get; set; }
public int PasswordTypeId { get; set; }
public string RpcScriptArgs { get; set; }
public int RpcScriptId { get; set; }
public string RunnerType { get; set; }
public int ScanItemTemplateId { get; set; }
public string TypeName { get; set; }
public bool UseSSL { get; set; }
public bool UseUsernameAndPassword { get; set; }
public bool ValidForTakeover { get; set; }
public string WindowsCustomPorts { get; set; }
}
}
14 changes: 14 additions & 0 deletions src/Thycotic.SecretServer/classes/rpc/PasswordTypeField.cs
@@ -0,0 +1,14 @@
using System;
using System.Threading.Tasks;
using System.Management.Automation;
using System.Management.Automation.Runspaces;

namespace Thycotic.PowerShell.Rpc
{
public class PasswordTypeField
{
public string Name { get; set; }
public int PasswordTypeFieldId { get; set; }
public int ScanItemFieldId { get; set; }
}
}
24 changes: 24 additions & 0 deletions src/Thycotic.SecretServer/classes/rpc/PasswordTypeSummary.cs
@@ -0,0 +1,24 @@
using System;
using System.Threading.Tasks;
using System.Management.Automation;
using System.Management.Automation.Runspaces;

namespace Thycotic.PowerShell.Rpc
{
public class PasswordTypeSummary
{
public bool Active { get; set; }
public bool CanEdit { get; set; }
public bool HasCommands { get; set; }
public int HeartbeatScriptId { get; set; }
public bool IgnoreSsl { get; set; }
public bool IsWeb { get; set; }
public string Name { get; set; }
public int PasswordTypeId { get; set; }
public string RequiredEdition { get; set; }
public int RpcScriptId { get; set; }
public string RunnerType { get; set; }
public int ScanItemTemplateId { get; set; }
public bool UseSsl { get; set; }
}
}
17 changes: 17 additions & 0 deletions src/Thycotic.SecretServer/classes/rpc/SecretRpcAssociated.cs
@@ -0,0 +1,17 @@
using System;
using System.Threading.Tasks;
using System.Management.Automation;
using System.Management.Automation.Runspaces;

namespace Thycotic.PowerShell.Rpc
{
public class AssociatedSecret
{
public int ParentSecretId { get; set; }
public int Order { get; set; }
public int AssociatedSecretId { get; set; }
public string SecretName { get; set; }
public string SecretTemplateName { get; set; }
public string FolderName { get; set; }
}
}
80 changes: 0 additions & 80 deletions src/classes/rpc/TssPasswordType.class.ps1

This file was deleted.

0 comments on commit b986909

Please sign in to comment.