Class WebhookRedriveResult
Result of retrying webhook
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "WebhookRedriveResult")]
public class WebhookRedriveResult : IValidatableObject
Constructors
View SourceWebhookRedriveResult()
Initializes a new instance of the WebhookRedriveResult class.
Declaration
[JsonConstructor]
protected WebhookRedriveResult()
WebhookRedriveResult(Guid, bool, string)
Initializes a new instance of the WebhookRedriveResult class.
Declaration
public WebhookRedriveResult(Guid webhookResultId = default, bool success = false, string message = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookResultId | webhookResultId (required). |
| bool | success | success (required). |
| string | message | message. |
Properties
View SourceMessage
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = true)]
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Success
Gets or Sets Success
Declaration
[DataMember(Name = "success", IsRequired = true, EmitDefaultValue = true)]
public bool Success { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WebhookResultId
Gets or Sets WebhookResultId
Declaration
[DataMember(Name = "webhookResultId", IsRequired = true, EmitDefaultValue = true)]
public Guid WebhookResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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 |