Class UpdateAssetPassword
Provides all properties required to update an existing asset_password using the api/v1/asset_passwords/ endpoint
Implements
Inherited Members
Namespace: HuduAPI.Endpoints.Parameters
Assembly: HuduAPI.dll
Syntax
public class UpdateAssetPassword : AssetPassword, IParameters
Constructors
UpdateAssetPassword(Int32, Int32, String, String)
Initializes a new instance of the UpdateAssetPassword class with the minimum required properties.
Declaration
public UpdateAssetPassword(int id, int companyId, string name, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | The identifier of the asset_password. |
| System.Int32 | companyId | The company identifier to associate the password with. |
| System.String | name | The name for the password. |
| System.String | password | The password in plain text. |
Properties
Id
Gets the identifier for the AssetPassword.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PayloadType
Declaration
public string PayloadType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |