Class WebhookSubscription
- Namespace
- Crews.PlanningCenter.Api.Webhooks.V2022_10_20
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the WebhookSubscription resource.
public record WebhookSubscription : IEquatable<WebhookSubscription>
- Inheritance
-
WebhookSubscription
- Implements
- Inherited Members
Constructors
WebhookSubscription()
public WebhookSubscription()
WebhookSubscription(WebhookSubscription)
protected WebhookSubscription(WebhookSubscription original)
Parameters
originalWebhookSubscription
Properties
Active
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("active")]
public bool? Active { get; init; }
Property Value
- bool?
ApplicationId
Planning Center does not provide a description for this attribute.
[JsonConverter(typeof(StringFromNumberConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("application_id")]
public string? ApplicationId { get; init; }
Property Value
AuthenticitySecret
Every delivery will include a header X-PCO-Webhooks-Authenticity.
This header will be the HMAC-SHA256 value of this the authenticity_secret used as the key,
and the message as the webhook body.hmac_sha256(authenticity_secret, webhook_body)
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("authenticity_secret")]
public string? AuthenticitySecret { get; init; }
Property Value
CreatedAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
UpdatedAt
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }
Property Value
Url
Planning Center does not provide a description for this attribute.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("url")]
public string? Url { get; init; }
Property Value
Methods
Equals(WebhookSubscription?)
public virtual bool Equals(WebhookSubscription? other)
Parameters
otherWebhookSubscription
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(WebhookSubscription?, WebhookSubscription?)
public static bool operator ==(WebhookSubscription? left, WebhookSubscription? right)
Parameters
leftWebhookSubscriptionrightWebhookSubscription
Returns
operator !=(WebhookSubscription?, WebhookSubscription?)
public static bool operator !=(WebhookSubscription? left, WebhookSubscription? right)
Parameters
leftWebhookSubscriptionrightWebhookSubscription