Class Subscription
- Namespace
- Crews.PlanningCenter.Api.Webhooks.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the Subscription resource.
public record Subscription : IEquatable<Subscription>
- Inheritance
-
Subscription
- Implements
- Inherited Members
Constructors
Subscription()
public Subscription()
Subscription(Subscription)
protected Subscription(Subscription original)
Parameters
originalSubscription
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.
[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(Subscription?)
public virtual bool Equals(Subscription? other)
Parameters
otherSubscription
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 ==(Subscription?, Subscription?)
public static bool operator ==(Subscription? left, Subscription? right)
Parameters
leftSubscriptionrightSubscription
Returns
operator !=(Subscription?, Subscription?)
public static bool operator !=(Subscription? left, Subscription? right)
Parameters
leftSubscriptionrightSubscription