Table of Contents

Class ConsumptionDetails

Namespace
CivitaiSharp.Sdk.Models.Usage
Assembly
CivitaiSharp.Sdk.dll

Account consumption statistics.

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

Remarks

This model matches the official OpenAPI schema used by the Civitai Python and JavaScript SDKs.

Constructors

ConsumptionDetails(int?, decimal?, DateTime?, DateTime?)

Account consumption statistics.

public ConsumptionDetails(int? Images, decimal? TotalCost, DateTime? StartDate, DateTime? EndDate)

Parameters

Images int?

Total number of images generated in the period. Maps to JSON property "images".

TotalCost decimal?

Total Buzz spent in the period. Maps to JSON property "totalCost".

StartDate DateTime?

Start date for the reporting period. Maps to JSON property "startDate".

EndDate DateTime?

End date for the reporting period. Maps to JSON property "endDate".

Remarks

This model matches the official OpenAPI schema used by the Civitai Python and JavaScript SDKs.

Properties

EndDate

End date for the reporting period. Maps to JSON property "endDate".

[JsonPropertyName("endDate")]
public DateTime? EndDate { get; init; }

Property Value

DateTime?

Images

Total number of images generated in the period. Maps to JSON property "images".

[JsonPropertyName("images")]
public int? Images { get; init; }

Property Value

int?

StartDate

Start date for the reporting period. Maps to JSON property "startDate".

[JsonPropertyName("startDate")]
public DateTime? StartDate { get; init; }

Property Value

DateTime?

TotalCost

Total Buzz spent in the period. Maps to JSON property "totalCost".

[JsonPropertyName("totalCost")]
public decimal? TotalCost { get; init; }

Property Value

decimal?