Module models

Source
Expand description

Models that represent the data returned by the API

Structs§

Author
Represents an author of code challenge
AuthoredChallenge
Represents an authored challenge
AuthoredChallenges
Represents list of authored challenges
CodeChallenge
Represents a code challenge
CodeChallenges
Represents an object with fields for the number of authored and completed kata respectively
ColorIter
An iterator over the variants of Color
CompletedChallenge
Represents a completed code challenge
CompletedChallenges
Represents a list of completed code challenges
Rank
Represents a rank object
Ranks
Represents a ranks object with overall and language ranks
Unresolved
Represents an object with fields for the number of unresolved issues and suggestions respectively
User
Represents a Codewars user

Enums§

Color
Represents a color of the rank