Skip to content

Commit

Permalink
✨ start Event, finished Group
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed Sep 16, 2024
1 parent a87406f commit 6c1952c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/kotlin/one/devos/osuv2kt/models/event/Event.kt
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?
)
3 changes: 3 additions & 0 deletions src/main/kotlin/one/devos/osuv2kt/models/event/EventType.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package one.devos.osuv2kt.models.event

public data class EventType()
15 changes: 15 additions & 0 deletions src/main/kotlin/one/devos/osuv2kt/models/group/Group.kt
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?
)
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
)

0 comments on commit 6c1952c

Please sign in to comment.