Class WebhookEndpointProjection
WebhookEndpointProjection
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "WebhookEndpointProjection")]
public class WebhookEndpointProjection : IValidatableObject
Constructors
View SourceWebhookEndpointProjection()
Initializes a new instance of the WebhookEndpointProjection class.
Declaration
[JsonConstructor]
protected WebhookEndpointProjection()
WebhookEndpointProjection(string, HealthEnum)
Initializes a new instance of the WebhookEndpointProjection class.
Declaration
public WebhookEndpointProjection(string url = null, WebhookEndpointProjection.HealthEnum health = (WebhookEndpointProjection.HealthEnum)0)
Parameters
Type | Name | Description |
---|---|---|
string | url | url (required). |
WebhookEndpointProjection.HealthEnum | health | health (required). |
Properties
View SourceHealth
Gets or Sets Health
Declaration
[DataMember(Name = "health", IsRequired = true, EmitDefaultValue = true)]
public WebhookEndpointProjection.HealthEnum Health { get; set; }
Property Value
Type | Description |
---|---|
WebhookEndpointProjection.HealthEnum |
Url
Gets or Sets Url
Declaration
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |