Class Webhook
Defines a Webhook
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class Webhook : BaseModel, IProvisioningTemplateDescendant
Properties
ExpiresInDays
Defines the expire days for the subscription of the Webhook, required attribute.
Declaration
public Int32 ExpiresInDays { get; set; }
Property Value
Int32
|
Remarks
The maximum value is 6 months (i.e. 180 days)
ServerNotificationUrl
Defines the Server Notification URL of the Webhook, required attribute.
Declaration
public String ServerNotificationUrl { get; set; }
Property Value
String
|
Methods
Equals(Webhook)
Compares Webhook object based on ServerNotificationUrl and ExpiresInDays
Declaration
public bool Equals(Webhook other)
Parameters
Webhook
other
Webhook Class object |
Returns
System.Boolean
true if the Webhook object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with Webhook class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents Webhook |
Returns
System.Boolean
Checks whether object is Webhook class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |