Class ImageStats
- Namespace
- CivitaiSharp.Core.Models
- Assembly
- CivitaiSharp.Core.dll
Statistics for an image based on user reactions and interactions.
public sealed record ImageStats : IEquatable<ImageStats>
- Inheritance
-
ImageStats
- Implements
- Inherited Members
Constructors
ImageStats(int?, int?, int?, int?, int?, int?)
Statistics for an image based on user reactions and interactions.
public ImageStats(int? CryCount, int? LaughCount, int? LikeCount, int? DislikeCount, int? HeartCount, int? CommentCount)
Parameters
CryCountint?The number of cry reaction emoji reactions on the image. Maps to JSON property "cryCount".
LaughCountint?The number of laugh reaction emoji reactions on the image. Maps to JSON property "laughCount".
LikeCountint?The number of like reactions on the image. Maps to JSON property "likeCount".
DislikeCountint?The number of dislike reactions on the image. Maps to JSON property "dislikeCount".
HeartCountint?The number of heart reactions on the image. Maps to JSON property "heartCount".
CommentCountint?The number of comments on the image. Maps to JSON property "commentCount".
Properties
CommentCount
The number of comments on the image. Maps to JSON property "commentCount".
[JsonPropertyName("commentCount")]
public int? CommentCount { get; init; }
Property Value
- int?
CryCount
The number of cry reaction emoji reactions on the image. Maps to JSON property "cryCount".
[JsonPropertyName("cryCount")]
public int? CryCount { get; init; }
Property Value
- int?
DislikeCount
The number of dislike reactions on the image. Maps to JSON property "dislikeCount".
[JsonPropertyName("dislikeCount")]
public int? DislikeCount { get; init; }
Property Value
- int?
HeartCount
The number of heart reactions on the image. Maps to JSON property "heartCount".
[JsonPropertyName("heartCount")]
public int? HeartCount { get; init; }
Property Value
- int?
LaughCount
The number of laugh reaction emoji reactions on the image. Maps to JSON property "laughCount".
[JsonPropertyName("laughCount")]
public int? LaughCount { get; init; }
Property Value
- int?
LikeCount
The number of like reactions on the image. Maps to JSON property "likeCount".
[JsonPropertyName("likeCount")]
public int? LikeCount { get; init; }
Property Value
- int?