Class Creator
- Namespace
- CivitaiSharp.Core.Models
- Assembly
- CivitaiSharp.Core.dll
Information about the creator of a model or other resource.
public sealed record Creator : IEquatable<Creator>
- Inheritance
-
Creator
- Implements
- Inherited Members
Constructors
Creator(string, int?, string?, string?)
Information about the creator of a model or other resource.
public Creator(string Username, int? ModelCount = null, string? Link = null, string? Image = null)
Parameters
UsernamestringThe username of the creator. Maps to JSON property "username".
ModelCountint?The total number of models created by this user. Maps to JSON property "modelCount".
LinkstringURL to retrieve all models created by this user. Maps to JSON property "link".
ImagestringURL of the creator's avatar image. Maps to JSON property "image".
Properties
Image
URL of the creator's avatar image. Maps to JSON property "image".
[JsonPropertyName("image")]
public string? Image { get; init; }
Property Value
Link
URL to retrieve all models created by this user. Maps to JSON property "link".
[JsonPropertyName("link")]
public string? Link { get; init; }
Property Value
ModelCount
The total number of models created by this user. Maps to JSON property "modelCount".
[JsonPropertyName("modelCount")]
public int? ModelCount { get; init; }
Property Value
- int?
Username
The username of the creator. Maps to JSON property "username".
[JsonPropertyName("username")]
public string Username { get; init; }