Table of Contents

Class ModelVersionStats

Namespace
CivitaiSharp.Core.Models
Assembly
CivitaiSharp.Core.dll

Statistics for a model version based on user interactions and engagement.

public sealed record ModelVersionStats : IEquatable<ModelVersionStats>
Inheritance
ModelVersionStats
Implements
Inherited Members

Constructors

ModelVersionStats(int, int, int?)

Statistics for a model version based on user interactions and engagement.

public ModelVersionStats(int DownloadCount, int ThumbsUpCount, int? ThumbsDownCount)

Parameters

DownloadCount int

The total number of times this model version has been downloaded. Maps to JSON property "downloadCount".

ThumbsUpCount int

The total number of thumbs-up reactions on this model version. Maps to JSON property "thumbsUpCount".

ThumbsDownCount int?

The total number of thumbs-down reactions on this model version. Maps to JSON property "thumbsDownCount".

Properties

DownloadCount

The total number of times this model version has been downloaded. Maps to JSON property "downloadCount".

[JsonPropertyName("downloadCount")]
public int DownloadCount { get; init; }

Property Value

int

ThumbsDownCount

The total number of thumbs-down reactions on this model version. Maps to JSON property "thumbsDownCount".

[JsonPropertyName("thumbsDownCount")]
public int? ThumbsDownCount { get; init; }

Property Value

int?

ThumbsUpCount

The total number of thumbs-up reactions on this model version. Maps to JSON property "thumbsUpCount".

[JsonPropertyName("thumbsUpCount")]
public int ThumbsUpCount { get; init; }

Property Value

int