Table of Contents

Class Conflict

Namespace
Crews.PlanningCenter.Api.Calendar.V2022_07_07
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Conflict resource.

public record Conflict : IEquatable<Conflict>
Inheritance
Conflict
Implements
Inherited Members

Constructors

Conflict()

public Conflict()

Conflict(Conflict)

protected Conflict(Conflict original)

Parameters

original Conflict

Properties

CreatedAt

UTC time at which the conflict was created

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Note

Additional information about the conflict or resolution

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

Property Value

string

ResolvedAt

UTC time at which the conflict was resolved

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("resolved_at")]
public DateTime? ResolvedAt { get; init; }

Property Value

DateTime?

UpdatedAt

UTC time at which the conflict was updated

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Methods

Equals(Conflict?)

public virtual bool Equals(Conflict? other)

Parameters

other Conflict

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 ==(Conflict?, Conflict?)

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

Parameters

left Conflict
right Conflict

Returns

bool

operator !=(Conflict?, Conflict?)

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

Parameters

left Conflict
right Conflict

Returns

bool