Class ImageUrl
- Namespace
- Crews.PlanningCenter.Api.Common
- Assembly
- Crews.PlanningCenter.Api.dll
Defines an undocumented container type for image URLs used in Check-ins resources.
[ExcludeFromCodeCoverage(Justification = "This type is a DTO with no logic to test.")]
public record ImageUrl : IEquatable<ImageUrl>
- Inheritance
-
ImageUrl
- Implements
- Derived
- Inherited Members
Constructors
ImageUrl()
public ImageUrl()
ImageUrl(ImageUrl)
protected ImageUrl(ImageUrl original)
Parameters
originalImageUrl
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Url
The URL of the image.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("url")]
public Uri? Url { get; init; }
Property Value
- Uri
Methods
Equals(ImageUrl?)
public virtual 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 virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ImageUrl?, ImageUrl?)
public static bool operator ==(ImageUrl? left, ImageUrl? right)
Parameters
Returns
operator !=(ImageUrl?, ImageUrl?)
public static bool operator !=(ImageUrl? left, ImageUrl? right)