Table of Contents

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

CryCount int?

The number of cry reaction emoji reactions on the image. Maps to JSON property "cryCount".

LaughCount int?

The number of laugh reaction emoji reactions on the image. Maps to JSON property "laughCount".

LikeCount int?

The number of like reactions on the image. Maps to JSON property "likeCount".

DislikeCount int?

The number of dislike reactions on the image. Maps to JSON property "dislikeCount".

HeartCount int?

The number of heart reactions on the image. Maps to JSON property "heartCount".

CommentCount int?

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?