Table of Contents

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

DownloadCount int

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

ThumbsUpCount int

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

ThumbsDownCount int

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

CommentCount int

The total number of comments on this model. Maps to JSON property "commentCount".

TippedAmountCount int

The 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

int

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

int

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

int

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

int

TippedAmountCount

The cumulative amount of tips or donations received for this model. Maps to JSON property "tippedAmountCount".

[JsonPropertyName("tippedAmountCount")]
public int TippedAmountCount { get; init; }

Property Value

int