Skip to content

Commit 1d1cf0c

Browse files
authored
Merge pull request #67 from arbor-education/improvement/MIG-14130
MIG-14130: Generating new version of SDK
2 parents a294457 + ad7fff3 commit 1d1cf0c

24 files changed

+952
-482
lines changed

src/Arbor/Model/CustomReport.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class CustomReport extends ModelBase
2323

2424
public const TRANSIENT = 'transient';
2525

26+
public const IS_ARCHIVED = 'isArchived';
27+
2628
protected $_resourceType = ResourceType::CUSTOM_REPORT;
2729

2830
/**
@@ -188,4 +190,20 @@ public function setTransient(bool $transient = null)
188190
{
189191
$this->setProperty('transient', $transient);
190192
}
193+
194+
/**
195+
* @return bool
196+
*/
197+
public function getIsArchived()
198+
{
199+
return $this->getProperty('isArchived');
200+
}
201+
202+
/**
203+
* @param bool $isArchived
204+
*/
205+
public function setIsArchived(bool $isArchived = null)
206+
{
207+
$this->setProperty('isArchived', $isArchived);
208+
}
191209
}

src/Arbor/Model/Cymru/EducationalInstitution.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class EducationalInstitution extends ModelBase
2727

2828
public const OPEN_PLAN = 'openPlan';
2929

30-
public const CENTER_NUMBER = 'centerNumber';
31-
3230
public const SPECIAL_SCHOOL_ACCOMMODATION = 'specialSchoolAccommodation';
3331

3432
public const IS_OPTED_OUT_OF_HR_PAYROLL_SLA = 'isOptedOutOfHrPayrollSla';
@@ -217,22 +215,6 @@ public function setOpenPlan(bool $openPlan = null)
217215
$this->setProperty('openPlan', $openPlan);
218216
}
219217

220-
/**
221-
* @return string
222-
*/
223-
public function getCenterNumber()
224-
{
225-
return $this->getProperty('centerNumber');
226-
}
227-
228-
/**
229-
* @param string $centerNumber
230-
*/
231-
public function setCenterNumber(string $centerNumber = null)
232-
{
233-
$this->setProperty('centerNumber', $centerNumber);
234-
}
235-
236218
/**
237219
* @return string
238220
*/

src/Arbor/Model/Cymru/ProgrammeInstance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@ public static function retrieve($id)
5454
}
5555

5656
/**
57-
* @return string
57+
* @return \Arbor\Model\Cymru\LearningActivityProvider
5858
*/
5959
public function getLearningActivityProvider()
6060
{
6161
return $this->getProperty('learningActivityProvider');
6262
}
6363

6464
/**
65-
* @param string $learningActivityProvider
65+
* @param \Arbor\Model\Cymru\LearningActivityProvider $learningActivityProvider
6666
*/
67-
public function setLearningActivityProvider(string $learningActivityProvider = null)
67+
public function setLearningActivityProvider(\Arbor\Model\Cymru\LearningActivityProvider $learningActivityProvider = null)
6868
{
6969
$this->setProperty('learningActivityProvider', $learningActivityProvider);
7070
}

src/Arbor/Model/Cymru/ProgrammeOfStudy.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class ProgrammeOfStudy extends ModelBase
1111
{
1212
public const PROGRAMME_REFERENCE = 'programmeReference';
1313

14-
public const NAME = 'name';
15-
1614
public const SHORT_NAME = 'shortName';
1715

1816
protected $_resourceType = ResourceType::CYMRU_PROGRAMME_OF_STUDY;
@@ -69,22 +67,6 @@ public function setProgrammeReference(\Arbor\Model\Cymru\ProgrammeReference $pro
6967
$this->setProperty('programmeReference', $programmeReference);
7068
}
7169

72-
/**
73-
* @return string
74-
*/
75-
public function getName()
76-
{
77-
return $this->getProperty('name');
78-
}
79-
80-
/**
81-
* @param string $name
82-
*/
83-
public function setName(string $name = null)
84-
{
85-
$this->setProperty('name', $name);
86-
}
87-
8870
/**
8971
* @return string
9072
*/

src/Arbor/Model/Cymru/Staff.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class Staff extends ModelBase
3333

3434
public const QUALIFIED_TEACHER_STATUS = 'qualifiedTeacherStatus';
3535

36-
public const TEACHER_NUMBER = 'teacherNumber';
37-
3836
public const WELSH_TEACHING_ABILITY_CODE = 'welshTeachingAbilityCode';
3937

4038
public const WELSH_TEACHING_CODE = 'welshTeachingCode';
@@ -269,22 +267,6 @@ public function setQualifiedTeacherStatus(bool $qualifiedTeacherStatus = null)
269267
$this->setProperty('qualifiedTeacherStatus', $qualifiedTeacherStatus);
270268
}
271269

272-
/**
273-
* @return string
274-
*/
275-
public function getTeacherNumber()
276-
{
277-
return $this->getProperty('teacherNumber');
278-
}
279-
280-
/**
281-
* @param string $teacherNumber
282-
*/
283-
public function setTeacherNumber(string $teacherNumber = null)
284-
{
285-
$this->setProperty('teacherNumber', $teacherNumber);
286-
}
287-
288270
/**
289271
* @return string
290272
*/

src/Arbor/Model/Cymru/UciAssignment.php

Lines changed: 0 additions & 193 deletions
This file was deleted.

src/Arbor/Model/EducationalInstitution.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class EducationalInstitution extends ModelBase
4343

4444
public const HAS_CHILDCARE_PLACES = 'hasChildcarePlaces';
4545

46-
public const CENTER_NUMBER = 'centerNumber';
47-
4846
public const SPECIAL_SCHOOL_ACCOMMODATION = 'specialSchoolAccommodation';
4947

5048
public const SPECIAL_SCHOOL_MAX_DAY_PUPILS = 'specialSchoolMaxDayPupils';
@@ -391,22 +389,6 @@ public function setHasChildcarePlaces(bool $hasChildcarePlaces = null)
391389
$this->setProperty('hasChildcarePlaces', $hasChildcarePlaces);
392390
}
393391

394-
/**
395-
* @return string
396-
*/
397-
public function getCenterNumber()
398-
{
399-
return $this->getProperty('centerNumber');
400-
}
401-
402-
/**
403-
* @param string $centerNumber
404-
*/
405-
public function setCenterNumber(string $centerNumber = null)
406-
{
407-
$this->setProperty('centerNumber', $centerNumber);
408-
}
409-
410392
/**
411393
* @return string
412394
*/

0 commit comments

Comments
 (0)