Class Webhook
Implements
IAdditionalDataHolder
IParsable
Inherited Members
Namespace: Grist4NET.Kiota.Models
Assembly: Grist4NET.Kiota.dll
Syntax
public class Webhook : IAdditionalDataHolder, IParsable
Constructors
Webhook()
Instantiates a new Webhook and sets the default values.
Declaration
public Webhook()
Properties
AdditionalData
Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
Declaration
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Fields
The fields property
Declaration
public WebhookFields Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| WebhookFields |
Id
The id property
Declaration
public Guid? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Usage
The usage property
Declaration
public WebhookUsage Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| WebhookUsage |
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
Declaration
public static Webhook CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
| Type | Name | Description |
|---|---|---|
| IParseNode | parseNode | The parse node to use to read the discriminator value and create the object |
Returns
| Type | Description |
|---|---|
| Webhook | A Webhook |
GetFieldDeserializers()
The deserialization information for the current model
Declaration
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
| Type | Description |
|---|---|
| IDictionary<string, Action<IParseNode>> | A IDictionary<string, Action<IParseNode>> |
Serialize(ISerializationWriter)
Serializes information the current object
Declaration
public virtual void Serialize(ISerializationWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISerializationWriter | writer | Serialization writer to use to serialize this model |
Implements
Microsoft.Kiota.Abstractions.Serialization.IAdditionalDataHolder
Microsoft.Kiota.Abstractions.Serialization.IParsable