Class CarAssetDetail
Images and additional details about a particular vehicle.
Inherited Members
Namespace: Aydsko.iRacingData.Cars
Assembly: Aydsko.iRacingData.dll
Syntax
public class CarAssetDetail
Fields
ImagePathBase
Declaration
public const string ImagePathBase = "https://images-static.iracing.com"
Field Value
Type | Description |
---|---|
string |
Properties
CarId
Unique identifier of the vehicle.
Declaration
[JsonPropertyName("car_id")]
public int CarId { get; set; }
Property Value
Type | Description |
---|---|
int |
CarRules
A collection of additional rules related to this vehicle.
Declaration
[JsonPropertyName("car_rules")]
public CarRule[] CarRules { get; set; }
Property Value
Type | Description |
---|---|
CarRule[] |
DetailCopy
Text description of the vehicle.
Declaration
[JsonPropertyName("detail_copy")]
public string DetailCopy { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Content may be in HTML format.
DetailScreenShotImages
Declaration
[JsonPropertyName("detail_screen_shot_images")]
[JsonConverter(typeof(CsvStringConverter))]
public string[] DetailScreenShotImages { get; set; }
Property Value
Type | Description |
---|---|
string[] |
DetailTechSpecsCopy
Technical specifications of the vehicle.
Declaration
[JsonPropertyName("detail_techspecs_copy")]
public string DetailTechSpecsCopy { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Content may be in HTML format.
Folder
Relative path of the vehicle folder within ImagePathBase for the images.
Declaration
[JsonPropertyName("folder")]
public string Folder { get; set; }
Property Value
Type | Description |
---|---|
string |
GalleryImages
Declaration
[JsonPropertyName("gallery_images")]
[JsonConverter(typeof(CsvStringConverter))]
public string[] GalleryImages { get; set; }
Property Value
Type | Description |
---|---|
string[] |
GalleryPrefix
Declaration
[JsonPropertyName("gallery_prefix")]
public object? GalleryPrefix { get; set; }
Property Value
Type | Description |
---|---|
object |
GroupImage
Declaration
[JsonPropertyName("group_image")]
public object? GroupImage { get; set; }
Property Value
Type | Description |
---|---|
object |
GroupName
Declaration
[JsonPropertyName("group_name")]
public object? GroupName { get; set; }
Property Value
Type | Description |
---|---|
object |
LargeImage
File name for the larger image of the vehicle.
Declaration
[JsonPropertyName("large_image")]
public string LargeImage { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Must be combined with ImagePathBase and Folder to be useful.
LargeImageUri
The full URL to the vehicle's large image.
Declaration
[JsonIgnore]
public Uri LargeImageUri { get; }
Property Value
Type | Description |
---|---|
Uri |
See Also
Logo
File name for the logo image of the vehicle's manufacturer.
Declaration
[JsonPropertyName("logo")]
public string Logo { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Must be combined with ImagePathBase to be useful.
LogoUri
The full URL to the image containing the manufacturer logo.
Declaration
[JsonIgnore]
public Uri LogoUri { get; }
Property Value
Type | Description |
---|---|
Uri |
See Also
SmallImage
File name for the smaller image of the vehicle.
Declaration
[JsonPropertyName("small_image")]
public string SmallImage { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Must be combined with ImagePathBase and Folder to be useful.
SmallImageUri
The full URL to the vehicle's small image.
Declaration
[JsonIgnore]
public Uri SmallImageUri { get; }
Property Value
Type | Description |
---|---|
Uri |
See Also
SponsorLogo
File name for the logo image of the vehicle's series sponsor, if available.
Declaration
[JsonPropertyName("sponsor_logo")]
public string? SponsorLogo { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Must be combined with ImagePathBase to be useful.
SponsorLogoUri
The full URL for the logo image of the vehicle's series sponsor, if available.
Declaration
[JsonIgnore]
public Uri? SponsorLogoUri { get; }
Property Value
Type | Description |
---|---|
Uri |
See Also
TemplatePath
Relative path of the vehicle paint template, if available.
Declaration
[JsonPropertyName("template_path")]
public string? TemplatePath { get; set; }
Property Value
Type | Description |
---|---|
string |
TemplateUri
The full URL to the vehicle's paint template, if available.
Declaration
[JsonIgnore]
public Uri? TemplateUri { get; }
Property Value
Type | Description |
---|---|
Uri |