AdfMedia Class

Represents a media item such as an image or an attachment.

public sealed class AdfMedia : AdfNode
Inheritance
AdfNode AdfMedia

Constructors

NameDescription
AdfMedia()

AdfMedia()

public AdfMedia()

No documentation is available.

Properties

NameDescription
AltGets the alternative text of the item.
CollectionGets the collection of the item in the Atlassian media store.
HeightGets the height of the item, in pixels.
IdGets the identifier of the item in the Atlassian media store.
KindGets the type of the node.
OccurrenceKeyGets the occurrence key of the item.
TypeGets the kind of media item.
UrlGets the URL of the item. It is only set when AdfMedia.Type is AdfMediaType.External; media stored by Atlassian must be resolved through the media API.
WidthGets the width of the item, in pixels.

Gets the alternative text of the item.

public string? Alt { get; init; }

Property value

string?

Collection

AdfMedia.cs

Gets the collection of the item in the Atlassian media store.

public string? Collection { get; init; }

Property value

string?

Gets the height of the item, in pixels.

public double? Height { get; init; }

Property value

double?

Gets the identifier of the item in the Atlassian media store.

public string? Id { get; init; }

Property value

string?

Gets the type of the node.

public override AdfNodeKind Kind { get; }

Property value

AdfNodeKind

OccurrenceKey

AdfMedia.cs

Gets the occurrence key of the item.

public string? OccurrenceKey { get; init; }

Property value

string?

Gets the kind of media item.

public AdfMediaType Type { get; init; }

Property value

AdfMediaType

Gets the URL of the item. It is only set when AdfMedia.Type is AdfMediaType.External; media stored by Atlassian must be resolved through the media API.

public string? Url { get; init; }

Property value

string?

Gets the width of the item, in pixels.

public double? Width { get; init; }

Property value

double?