Class EventConnection
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2021_07_20
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the EventConnection resource.
public record EventConnection : IEquatable<EventConnection>
- Inheritance
-
EventConnection
- Implements
- Inherited Members
Constructors
EventConnection()
public EventConnection()
EventConnection(EventConnection)
protected EventConnection(EventConnection original)
Parameters
originalEventConnection
Properties
ConnectedToId
Unique identifier for the connected record
[JsonConverter(typeof(StringFromNumberConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("connected_to_id")]
public string? ConnectedToId { get; init; }
Property Value
ConnectedToName
Name of the record that the event is connected to
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("connected_to_name")]
public string? ConnectedToName { get; init; }
Property Value
ConnectedToType
Currently we support signup, group, event, and service_type
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("connected_to_type")]
public string? ConnectedToType { get; init; }
Property Value
ConnectedToUrl
A link to the connected record
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("connected_to_url")]
public string? ConnectedToUrl { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
ProductName
Currently we support registrations, groups, check-ins, and services
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("product_name")]
public string? ProductName { get; init; }
Property Value
Promoted
Whether this connection is promoted for display (only applies to Groups connections)
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("promoted")]
public bool? Promoted { get; init; }
Property Value
- bool?
Methods
Equals(EventConnection?)
public virtual bool Equals(EventConnection? other)
Parameters
otherEventConnection
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 ==(EventConnection?, EventConnection?)
public static bool operator ==(EventConnection? left, EventConnection? right)
Parameters
leftEventConnectionrightEventConnection
Returns
operator !=(EventConnection?, EventConnection?)
public static bool operator !=(EventConnection? left, EventConnection? right)
Parameters
leftEventConnectionrightEventConnection