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
Imagesint?Total number of images generated in the period. Maps to JSON property "images".
TotalCostdecimal?Total Buzz spent in the period. Maps to JSON property "totalCost".
StartDateDateTime?Start date for the reporting period. Maps to JSON property "startDate".
EndDateDateTime?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
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
TotalCost
Total Buzz spent in the period. Maps to JSON property "totalCost".
[JsonPropertyName("totalCost")]
public decimal? TotalCost { get; init; }