types/MoodleCohort.ps1

[Diagnostics.CodeAnalysis.SuppressMessageAttribute('TypeNotFound', 'DescriptionFormat')]
class MoodleCohort {
    [int]$Id

    [string]$Name

    [string]$Description

    [MoodleDescriptionFormat]$DescriptionFormat

    [string]$IdNumber

    [bool]$Visible

    [string]$Theme
}