struct Cronun::Models::Group

Included Modules

Defined in:

common/models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(department : Department, nrc : String, subject : Subject, professors : Array(String), schedule : Array(Cronun::Models::Schedule), schedule_type : String, group_number : Int32, quota_taken : Int32, quota_free : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def department : Department #

[View source]
def department=(department : Department) #

[View source]
def group_number : Int32 #

[View source]
def group_number=(group_number : Int32) #

[View source]
def nrc : String #

[View source]
def nrc=(nrc : String) #

[View source]
def professors : Array(String) #

[View source]
def professors=(professors : Array(String)) #

[View source]
def quota_free : Int32 #

[View source]
def quota_free=(quota_free : Int32) #

[View source]
def quota_taken : Int32 #

[View source]
def quota_taken=(quota_taken : Int32) #

[View source]
def schedule : Array(Schedule) #

[View source]
def schedule=(schedule : Array(Schedule)) #

[View source]
def schedule_type : String #

[View source]
def schedule_type=(schedule_type : String) #

[View source]
def subject : Subject #

[View source]
def subject=(subject : Subject) #

[View source]