Show / Hide Table of Contents

Class Webhook

The Webhook client object

Inheritance
object
ModelBase
Webhook
WebhookSet
Implements
IWebhook
IModel
IAttributeObject
IKeyEquatable<IWebhook>
IEquatable<IWebhook>
INameObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
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
public Webhook()

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
Type Description
WebhookAction

Attributes

Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

Name

The webhook name

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { 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

Methods

EqualKey(IWebhook)

Test for the same item key

Declaration
public virtual bool EqualKey(IWebhook compare)
Parameters
Type Name Description
IWebhook compare
Returns
Type Description
bool

Equals(IWebhook)

Declaration
public virtual bool Equals(IWebhook compare)
Parameters
Type Name Description
IWebhook compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

IWebhook
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
INameObject

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX