Search Results for

    Show / Hide Table of Contents

    Class SiteWebhook

    Defines a SiteWebhook to provision

    Inheritance
    System.Object
    BaseModel
    Webhook
    SiteWebhook
    Inherited Members
    Webhook.ServerNotificationUrl
    Webhook.ExpiresInDays
    Webhook.Equals(Webhook)
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class SiteWebhook : Webhook, IProvisioningTemplateDescendant

    Properties

    SiteWebhookType

    Defines the Server Notification URL of the Webhook, required attribute.

    Declaration
    public SiteWebhookType SiteWebhookType { get; set; }
    Property Value
    SiteWebhookType

    Methods

    Equals(SiteWebhook)

    Compares SiteWebhook object based on ServerNotificationUrl, ExpiresInDays, and SiteWebhookType

    Declaration
    public bool Equals(SiteWebhook other)
    Parameters
    SiteWebhook other

    SiteWebhook Class object

    Returns
    System.Boolean

    true if the SiteWebhook object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with SiteWebhook class

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents SiteWebhook

    Returns
    System.Boolean

    Checks whether object is SiteWebhook class

    Overrides
    Webhook.Equals(Object)

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Overrides
    Webhook.GetHashCode()

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer