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
originalImage
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Thumb
The image thumbnail.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("thumb")]
public ImageUrl? Thumb { get; init; }
Property Value
Methods
Equals(Image?)
public virtual bool Equals(Image? other)
Parameters
otherImage
Returns
Equals(ImageUrl?)
public override sealed bool Equals(ImageUrl? other)
Parameters
otherImageUrl
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Image?, Image?)
public static bool operator ==(Image? left, Image? right)
Parameters
Returns
operator !=(Image?, Image?)
public static bool operator !=(Image? left, Image? right)