Table of Contents

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

Username string

The username of the creator. Maps to JSON property "username".

ModelCount int?

The total number of models created by this user. Maps to JSON property "modelCount".

Link string

URL to retrieve all models created by this user. Maps to JSON property "link".

Image string

URL 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

string

URL to retrieve all models created by this user. Maps to JSON property "link".

[JsonPropertyName("link")]
public string? Link { get; init; }

Property Value

string

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; }

Property Value

string