Table of Contents

Class View

Namespace
idunno.Bluesky.Embed.External
Assembly
idunno.Bluesky.dll

The view properties on a view over an idunno.Bluesky.Embed.EmbeddedExternal record.

[JsonPolymorphic(UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor)]
[JsonDerivedType(typeof(View), "app.bsky.embed.external#viewExternal")]
public record View : IEquatable<View>

Inheritance

Implements

Inherited Members

Constructors

View(View)

protected View(View original)

Parameters

original View

View(View)

protected View(View original)

Parameters

original View

View(View)

protected View(View original)

Parameters

original View

Properties

AssociatedProfiles

Gets the idunno.Bluesky.Actor.ProfileViewBasic of the owners of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<ProfileViewBasic>? AssociatedProfiles { get; init; }

Property Value

IReadOnlyCollection<ProfileViewBasic>?

AssociatedProfiles

Gets the idunno.Bluesky.Actor.ProfileViewBasic of the owners of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<ProfileViewBasic>? AssociatedProfiles { get; init; }

Property Value

IReadOnlyCollection<ProfileViewBasic>?

AssociatedProfiles

Gets the idunno.Bluesky.Actor.ProfileViewBasic of the owners of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<ProfileViewBasic>? AssociatedProfiles { get; init; }

Property Value

IReadOnlyCollection<ProfileViewBasic>?

AssociatedRefs

Gets the idunno.AtProto.AtUri of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<StrongReference>? AssociatedRefs { get; init; }

Property Value

IReadOnlyCollection<StrongReference>?

AssociatedRefs

Gets the idunno.AtProto.AtUri of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<StrongReference>? AssociatedRefs { get; init; }

Property Value

IReadOnlyCollection<StrongReference>?

AssociatedRefs

Gets the idunno.AtProto.AtUri of the Atmosphere records that backed this view, if any.

[JsonInclude]
public IReadOnlyCollection<StrongReference>? AssociatedRefs { get; init; }

Property Value

IReadOnlyCollection<StrongReference>?

CreatedAt

Gets when the external content was created, if available. Example: a publication date, for an article.

[JsonInclude]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedAt

Gets when the external content was created, if available. Example: a publication date, for an article.

[JsonInclude]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedAt

Gets when the external content was created, if available. Example: a publication date, for an article.

[JsonInclude]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

Description

The description of the external link.

[JsonInclude]
[JsonRequired]
public string Description { get; init; }

Property Value

string

Description

The description of the external link.

[JsonInclude]
[JsonRequired]
public string Description { get; init; }

Property Value

string

Description

The description of the external link.

[JsonInclude]
[JsonRequired]
public string Description { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ExtensionData

A list of keys and element data that do not map to any strongly typed properties.

[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

IDictionary<string, JsonElement>?

ExtensionData

A list of keys and element data that do not map to any strongly typed properties.

[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

IDictionary<string, JsonElement>?

ExtensionData

A list of keys and element data that do not map to any strongly typed properties.

[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

IDictionary<string, JsonElement>?

Labels

Gets the labels for the source, if any.

[JsonInclude]
public IReadOnlyCollection<Label>? Labels { get; init; }

Property Value

IReadOnlyCollection<Label>?

Labels

Gets the labels for the source, if any.

[JsonInclude]
public IReadOnlyCollection<Label>? Labels { get; init; }

Property Value

IReadOnlyCollection<Label>?

Labels

Gets the labels for the source, if any.

[JsonInclude]
public IReadOnlyCollection<Label>? Labels { get; init; }

Property Value

IReadOnlyCollection<Label>?

ReadingTime

Gets the estimated reading time in minutes, if applicable and available.

[JsonInclude]
public int? ReadingTime { get; init; }

Property Value

int?

ReadingTime

Gets the estimated reading time in minutes, if applicable and available.

[JsonInclude]
public int? ReadingTime { get; init; }

Property Value

int?

ReadingTime

Gets the estimated reading time in minutes, if applicable and available.

[JsonInclude]
public int? ReadingTime { get; init; }

Property Value

int?

Source

Gets the view over the source of the external embed, if available.

[JsonInclude]
public View? Source { get; init; }

Property Value

View?

Source

Gets the view over the source of the external embed, if available.

[JsonInclude]
public View? Source { get; init; }

Property Value

View?

Source

Gets the view over the source of the external embed, if available.

[JsonInclude]
public View? Source { get; init; }

Property Value

View?

ThumbnailUri

The idunno.Bluesky.Embed.External.View.Uri to a thumbnail image for the external link.

[JsonInclude]
[JsonPropertyName("thumb")]
public Uri? ThumbnailUri { get; init; }

Property Value

Uri?

ThumbnailUri

The idunno.Bluesky.Embed.External.View.Uri to a thumbnail image for the external link.

[JsonInclude]
[JsonPropertyName("thumb")]
public Uri? ThumbnailUri { get; init; }

Property Value

Uri?

ThumbnailUri

The idunno.Bluesky.Embed.External.View.Uri to a thumbnail image for the external link.

[JsonInclude]
[JsonPropertyName("thumb")]
public Uri? ThumbnailUri { get; init; }

Property Value

Uri?

Title

The title for the external link.

[JsonInclude]
[JsonRequired]
public string Title { get; init; }

Property Value

string

Title

The title for the external link.

[JsonInclude]
[JsonRequired]
public string Title { get; init; }

Property Value

string

Title

The title for the external link.

[JsonInclude]
[JsonRequired]
public string Title { get; init; }

Property Value

string

UpdatedAt

Gets when the external content was last updated, if available.

[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?

UpdatedAt

Gets when the external content was last updated, if available.

[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?

UpdatedAt

Gets when the external content was last updated, if available.

[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?

Uri

Gets the external uri, as a string.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create, matching idunno.Bluesky.Embed.External.Properties.Uri. Validate the URI before using it.

Uri

Gets the external uri, as a string.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create, matching idunno.Bluesky.Embed.External.Properties.Uri. Validate the URI before using it.

Uri

Gets the external uri, as a string.

[JsonInclude]
[JsonRequired]
public string Uri { get; init; }

Property Value

string

Remarks

This property is a string to accommodate illegal URIs that the Bluesky web app can create, matching idunno.Bluesky.Embed.External.Properties.Uri. Validate the URI before using it.

Methods

<Clone>$()

public virtual View <Clone>$()

Returns

View

<Clone>$()

public virtual View <Clone>$()

Returns

View

<Clone>$()

public virtual View <Clone>$()

Returns

View

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(View?)

public virtual bool Equals(View? other)

Parameters

other View?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(View?, View?)

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

Parameters

left View?
right View?

Returns

bool

operator ==(View?, View?)

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

Parameters

left View?
right View?

Returns

bool

operator ==(View?, View?)

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

Parameters

left View?
right View?

Returns

bool

operator !=(View?, View?)

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

Parameters

left View?
right View?

Returns

bool

operator !=(View?, View?)

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

Parameters

left View?
right View?

Returns

bool

operator !=(View?, View?)

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

Parameters

left View?
right View?

Returns

bool