Class WebhookMessage
The Webhook message client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WebhookMessage : ModelBase, IWebhookMessage, IModel, IEquatable<IWebhookMessage>
Constructors
WebhookMessage()
Initializes a new instance
Declaration
public WebhookMessage()
WebhookMessage(WebhookMessage)
Initializes a new instance from a copy
Declaration
public WebhookMessage(WebhookMessage copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| WebhookMessage | copySource | The copy source |
Properties
ActionName
The webhook action name
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string ActionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReceiverAddress
The webhook receiver address
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(101)]
public string ReceiverAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestDate
The request date
Declaration
[Required]
[JsonPropertyOrder(102)]
public DateTime RequestDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
RequestMessage
The request message
Declaration
[Required]
[JsonPropertyOrder(103)]
public string RequestMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestOperation
The request operation
Declaration
[JsonPropertyOrder(104)]
public string RequestOperation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResponseDate
The response date
Declaration
[JsonPropertyOrder(105)]
public DateTime ResponseDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
ResponseMessage
The response message
Declaration
[JsonPropertyOrder(107)]
public string ResponseMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResponseStatus
The response HTTP status code
Declaration
[JsonPropertyOrder(106)]
public int ResponseStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Equals(IWebhookMessage)
Declaration
public virtual bool Equals(IWebhookMessage compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IWebhookMessage | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetUiString()
The object UI string
Declaration
public override string GetUiString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
ToString()
Returns a string that represents this instance
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance |