Class: PlatformSdk::PowerSchool::SpecialProgram
- Inherits:
-
Object
- Object
- PlatformSdk::PowerSchool::SpecialProgram
- Defined in:
- lib/platform_sdk/power_school/special_program.rb
Instance Attribute Summary collapse
-
#code1 ⇒ Object
Returns the value of attribute code1.
-
#code2 ⇒ Object
Returns the value of attribute code2.
-
#enroll_status ⇒ Object
Returns the value of attribute enroll_status.
-
#enter_date ⇒ Object
Returns the value of attribute enter_date.
-
#exit_code ⇒ Object
Returns the value of attribute exit_code.
-
#exit_date ⇒ Object
Returns the value of attribute exit_date.
-
#grade_level ⇒ Object
Returns the value of attribute grade_level.
-
#program_id ⇒ Object
Returns the value of attribute program_id.
-
#program_name ⇒ Object
Returns the value of attribute program_name.
-
#school_id ⇒ Object
Returns the value of attribute school_id.
-
#special_comment ⇒ Object
Returns the value of attribute special_comment.
-
#special_enrollment_uuid ⇒ Object
Returns the value of attribute special_enrollment_uuid.
-
#special_enrollments_dcid ⇒ Object
Returns the value of attribute special_enrollments_dcid.
-
#special_enrollments_id ⇒ Object
Returns the value of attribute special_enrollments_id.
-
#student_id ⇒ Object
Returns the value of attribute student_id.
-
#student_uuid ⇒ Object
Returns the value of attribute student_uuid.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SpecialProgram
constructor
A new instance of SpecialProgram.
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
#code1 ⇒ Object
Returns the value of attribute code1.
6 7 8 |
# File 'lib/platform_sdk/power_school/special_program.rb', line 6 def code1 @code1 end |
#code2 ⇒ Object
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_status ⇒ Object
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_date ⇒ Object
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_code ⇒ Object
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_date ⇒ Object
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_level ⇒ Object
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_id ⇒ Object
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_name ⇒ Object
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_id ⇒ Object
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_comment ⇒ Object
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_uuid ⇒ Object
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_dcid ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_uuid ⇒ Object
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 |