Table of Contents

Class EventConnection

Namespace
Crews.PlanningCenter.Api.Calendar.V2018_08_01
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

original EventConnection

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

string

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

string

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

string

ConnectedToUrl

A link to the connected record

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("connected_to_url")]
public string? ConnectedToUrl { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ProductName

Currently we support registrations, groups, check-ins, and services

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("product_name")]
public string? ProductName { get; init; }

Property Value

string

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

other EventConnection

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(EventConnection?, EventConnection?)

public static bool operator ==(EventConnection? left, EventConnection? right)

Parameters

left EventConnection
right EventConnection

Returns

bool

operator !=(EventConnection?, EventConnection?)

public static bool operator !=(EventConnection? left, EventConnection? right)

Parameters

left EventConnection
right EventConnection

Returns

bool