Class Website
Provides all the properties required to create or update a website using the hudu endpoint api/v1/websites
Namespace: HuduAPI.Endpoints.Parameters.AbstractBases
Assembly: HuduAPI.dll
Syntax
public abstract class Website
Properties
CompanyId
Used to associate website with company
Declaration
[JsonProperty("company_id")]
public int CompanyId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
DisableDns
When true, dns monitoring is paused.
Declaration
[JsonProperty("disable_dns")]
public bool DisableDns { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DisableSsl
When true, ssl cert monitoring is paused.
Declaration
[JsonProperty("disable_ssl")]
public bool DisableSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DisableWhois
When true, whois monitoring is paused.
Declaration
[JsonProperty("disable_whois")]
public bool DisableWhois { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Name
FQND of the website to be monitored (e.g. www.example.com)
Declaration
[JsonProperty("name")]
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Notes
used to add additional notes to a website
Declaration
[JsonProperty("notes")]
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Paused
When true, website monitoring is paused.
Declaration
[JsonProperty("paused")]
public bool Paused { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |