Class: PlatformSdk::PowerSchool::SpecialProgram

Inherits:
Object
  • Object
show all
Defined in:
lib/platform_sdk/power_school/special_program.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ SpecialProgram

Returns a new instance of SpecialProgram.



10
11
12
13
14
# File 'lib/platform_sdk/power_school/special_program.rb', line 10

def initialize(attributes = {})
  attributes.each do |name, value|
    send("#{self.class.attribute_map(name)}=", value)
  end
end

Instance Attribute Details

#code1Object

Returns the value of attribute code1.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def code1
  @code1
end

#code2Object

Returns the value of attribute code2.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def code2
  @code2
end

#enroll_statusObject

Returns the value of attribute enroll_status.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def enroll_status
  @enroll_status
end

#enter_dateObject

Returns the value of attribute enter_date.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def enter_date
  @enter_date
end

#exit_codeObject

Returns the value of attribute exit_code.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def exit_code
  @exit_code
end

#exit_dateObject

Returns the value of attribute exit_date.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def exit_date
  @exit_date
end

#grade_levelObject

Returns the value of attribute grade_level.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def grade_level
  @grade_level
end

#program_idObject

Returns the value of attribute program_id.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def program_id
  @program_id
end

#program_nameObject

Returns the value of attribute program_name.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def program_name
  @program_name
end

#school_idObject

Returns the value of attribute school_id.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def school_id
  @school_id
end

#special_commentObject

Returns the value of attribute special_comment.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def special_comment
  @special_comment
end

#special_enrollment_uuidObject

Returns the value of attribute special_enrollment_uuid.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def special_enrollment_uuid
  @special_enrollment_uuid
end

#special_enrollments_dcidObject

Returns the value of attribute special_enrollments_dcid.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def special_enrollments_dcid
  @special_enrollments_dcid
end

#special_enrollments_idObject

Returns the value of attribute special_enrollments_id.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def special_enrollments_id
  @special_enrollments_id
end

#student_idObject

Returns the value of attribute student_id.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def student_id
  @student_id
end

#student_uuidObject

Returns the value of attribute student_uuid.



6
7
8
# File 'lib/platform_sdk/power_school/special_program.rb', line 6

def student_uuid
  @student_uuid
end

Class Method Details

.attribute_map(key) ⇒ Object



16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/platform_sdk/power_school/special_program.rb', line 16

def self.attribute_map(key)
  {
    spenrollments_dcid: "special_enrollments_dcid",
    spenrollments_id: "special_enrollments_id",
    programid: "program_id",
    exitcode: "exit_code",
    sp_comment: "special_comment",
    schoolid: "school_id",
    gradelevel: "grade_level",
    studentid: "student_id",
    spenrollment_uuid: "special_enrollment_uuid"
  } [key.to_sym] || key
end