Show / Hide Table of Contents

Class WebhookMessage

The Webhook message client object

Inheritance
object
ModelBase
WebhookMessage
WebhookRuntimeMessage
Implements
IWebhookMessage
IModel
IEquatable<IWebhookMessage>
Inherited Members
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 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
ModelBase.GetUiString()

ToString()

Returns a string that represents this instance

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance

Overrides
ModelBase.ToString()

Implements

IWebhookMessage
IModel
IEquatable<T>

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