-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package one.devos.osuv2kt.models.event | ||
|
||
import java.time.OffsetDateTime | ||
|
||
public data class Event( | ||
public val createdAt: OffsetDateTime, | ||
public val id: Int, | ||
// public val type: EventType // TODO: Event Type and all of its.. weirdness? | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package one.devos.osuv2kt.models.event | ||
|
||
public data class EventType() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package one.devos.osuv2kt.models.group | ||
|
||
public data class Group( | ||
public val colour: String?, | ||
public val hasListing: Boolean, | ||
public val hasPlaymodes: Boolean, | ||
public val id: Int, | ||
public val identifier: String, | ||
public val isProbationary: Boolean, | ||
public val name: String, | ||
public val shortName: String, | ||
|
||
// Optional | ||
public val description: GroupDescription? | ||
) |
6 changes: 6 additions & 0 deletions
6
src/main/kotlin/one/devos/osuv2kt/models/group/GroupDescription.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package one.devos.osuv2kt.models.group | ||
|
||
public data class GroupDescription( | ||
public val html: String, | ||
public val markdown: String | ||
) |