Class UpdateCompany
Provides all the properties required to call the hudu endpoint api/v1/companies and update an existing company.
Implements
Inherited Members
Namespace: HuduAPI.Endpoints.Parameters
Assembly: HuduAPI.dll
Syntax
public class UpdateCompany : Company, IParameters
Constructors
UpdateCompany(Int32, String)
Initializes a new instance of the UpdateCompany class with the required properties assigned.
Declaration
public UpdateCompany(int id, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | The identifier of the company to update. |
| System.String | name | The name the company will be updated with. |
Properties
Id
Gets the identifier of the company.
Declaration
public int Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PayloadType
Declaration
public string PayloadType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |