Class ModelStats
- Namespace
- CivitaiSharp.Core.Models
- Assembly
- CivitaiSharp.Core.dll
Statistics for a model based on user interactions and engagement.
public sealed record ModelStats : IEquatable<ModelStats>
- Inheritance
-
ModelStats
- Implements
- Inherited Members
Constructors
ModelStats(int, int, int, int, int)
Statistics for a model based on user interactions and engagement.
public ModelStats(int DownloadCount, int ThumbsUpCount, int ThumbsDownCount, int CommentCount, int TippedAmountCount)
Parameters
DownloadCountintThe total number of times this model has been downloaded. Maps to JSON property "downloadCount".
ThumbsUpCountintThe total number of thumbs-up reactions on this model. Maps to JSON property "thumbsUpCount".
ThumbsDownCountintThe total number of thumbs-down reactions on this model. Maps to JSON property "thumbsDownCount".
CommentCountintThe total number of comments on this model. Maps to JSON property "commentCount".
TippedAmountCountintThe cumulative amount of tips or donations received for this model. Maps to JSON property "tippedAmountCount".
Properties
CommentCount
The total number of comments on this model. Maps to JSON property "commentCount".
[JsonPropertyName("commentCount")]
public int CommentCount { get; init; }
Property Value
DownloadCount
The total number of times this model has been downloaded. Maps to JSON property "downloadCount".
[JsonPropertyName("downloadCount")]
public int DownloadCount { get; init; }
Property Value
ThumbsDownCount
The total number of thumbs-down reactions on this model. Maps to JSON property "thumbsDownCount".
[JsonPropertyName("thumbsDownCount")]
public int ThumbsDownCount { get; init; }
Property Value
ThumbsUpCount
The total number of thumbs-up reactions on this model. Maps to JSON property "thumbsUpCount".
[JsonPropertyName("thumbsUpCount")]
public int ThumbsUpCount { get; init; }
Property Value
TippedAmountCount
The cumulative amount of tips or donations received for this model. Maps to JSON property "tippedAmountCount".
[JsonPropertyName("tippedAmountCount")]
public int TippedAmountCount { get; init; }