Table of Contents

Class Image

Namespace
Crews.PlanningCenter.Api.Common
Assembly
Crews.PlanningCenter.Api.dll

Defines an undocumented type for images in Check-ins resources.

[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record Image : ImageUrl, IEquatable<ImageUrl>, IEquatable<Image>
Inheritance
Image
Implements
Inherited Members

Constructors

Image()

public Image()

Image(Image)

protected Image(Image original)

Parameters

original Image

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Thumb

The image thumbnail.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("thumb")]
public ImageUrl? Thumb { get; init; }

Property Value

ImageUrl

Methods

Equals(Image?)

public virtual bool Equals(Image? other)

Parameters

other Image

Returns

bool

Equals(ImageUrl?)

public override sealed bool Equals(ImageUrl? other)

Parameters

other ImageUrl

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 override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Image?, Image?)

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

Parameters

left Image
right Image

Returns

bool

operator !=(Image?, Image?)

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

Parameters

left Image
right Image

Returns

bool