Class Webhook
The Webhook client object
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Webhook : ModelBase, IWebhook, IModel, IAttributeObject, IKeyEquatable<IWebhook>, IEquatable<IWebhook>, INameObject
Constructors
Webhook()
Initializes a new instance
Declaration
Webhook(Webhook)
Initializes a new instance from a copy
Declaration
public Webhook(Webhook copySource)
Parameters
| Type |
Name |
Description |
| Webhook |
copySource |
The copy source
|
Properties
Action
The web hook trigger action
Declaration
[Required]
[JsonPropertyOrder(102)]
public WebhookAction Action { get; set; }
Property Value
Attributes
Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Name
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
ReceiverAddress
The webhook receiver address
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(101)]
public string ReceiverAddress { get; set; }
Property Value
Methods
EqualKey(IWebhook)
Test for the same item key
Declaration
public virtual bool EqualKey(IWebhook compare)
Parameters
Returns
Equals(IWebhook)
Declaration
public virtual bool Equals(IWebhook compare)
Parameters
Returns
GetUiString()
Declaration
public override string GetUiString()
Returns
Overrides
Implements
Extension Methods