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
originalView
View(View)
protected View(View original)Parameters
originalView
View(View)
protected View(View original)Parameters
originalView
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
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
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
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
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
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
Description
The description of the external link.
[JsonInclude]
[JsonRequired]
public string Description { get; init; }Property Value
Description
The description of the external link.
[JsonInclude]
[JsonRequired]
public string Description { get; init; }Property Value
Description
The description of the external link.
[JsonInclude]
[JsonRequired]
public string Description { get; init; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
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
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
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
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
Title
The title for the external link.
[JsonInclude]
[JsonRequired]
public string Title { get; init; }Property Value
Title
The title for the external link.
[JsonInclude]
[JsonRequired]
public string Title { get; init; }Property Value
UpdatedAt
Gets when the external content was last updated, if available.
[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }Property Value
UpdatedAt
Gets when the external content was last updated, if available.
[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }Property Value
UpdatedAt
Gets when the external content was last updated, if available.
[JsonInclude]
public DateTimeOffset? UpdatedAt { get; init; }Property Value
Uri
Gets the external uri, as a string.
[JsonInclude]
[JsonRequired]
public string Uri { get; init; }Property Value
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
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
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
<Clone>$()
public virtual View <Clone>$()Returns
<Clone>$()
public virtual View <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(View?)
public virtual bool Equals(View? other)Parameters
otherView?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator ==(View?, View?)
public static bool operator ==(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)Parameters
Returns
operator !=(View?, View?)
public static bool operator !=(View? left, View? right)