Skip to content

Commit

Permalink
typing properties and subcomponents
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Feb 21, 2024
1 parent ddedfee commit 49e6913
Show file tree
Hide file tree
Showing 324 changed files with 2,912 additions and 2,912 deletions.
26 changes: 13 additions & 13 deletions src/SKY/OneRoster/Components/AcademicSessionModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?string $title
Expand All @@ -19,22 +19,22 @@
*
* @api
*/
class AcademicSessionModel extends BaseObject
class AcademicSessionModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"title",
"startDate",
"endDate",
"type",
"parent",
"children",
"schoolYear",
"sourcedId",
"status",
"dateLastModified",
"metadata",
"title" => "string",
"startDate" => "string",
"endDate" => "string",
"type" => "string",
"parent" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel",
"children" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel[]",
"schoolYear" => "string",
"sourcedId" => "string",
"status" => "string",
"dateLastModified" => "string",
"metadata" => "string[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/AcademicSessionOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property \Blackbaud\SKY\OneRoster\Components\AcademicSessionModel
Expand All @@ -12,13 +12,13 @@
*
* @api
*/
class AcademicSessionOutputModel extends BaseObject
class AcademicSessionOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"academicSession",
"statusInfoSet",
"academicSession" => "\Blackbaud\SKY\OneRoster\Components\AcademicSessionModel",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/AcademicSessionsOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?\Blackbaud\SKY\OneRoster\Components\AcademicSessionModel[]
Expand All @@ -12,13 +12,13 @@
*
* @api
*/
class AcademicSessionsOutputModel extends BaseObject
class AcademicSessionsOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"academicSessions",
"statusInfoSet",
"academicSessions" => "\Blackbaud\SKY\OneRoster\Components\AcademicSessionModel[]",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/CategoriesOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?\Blackbaud\SKY\OneRoster\Components\CategoryModel[] $categories
Expand All @@ -11,13 +11,13 @@
*
* @api
*/
class CategoriesOutputModel extends BaseObject
class CategoriesOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"categories",
"statusInfoSet",
"categories" => "\Blackbaud\SKY\OneRoster\Components\CategoryModel[]",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
6 changes: 3 additions & 3 deletions src/SKY/OneRoster/Components/CategoryInputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property \Blackbaud\SKY\OneRoster\Components\CategoryModel $category
*
* @api
*/
class CategoryInputModel extends BaseObject
class CategoryInputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"category",
"category" => "\Blackbaud\SKY\OneRoster\Components\CategoryModel",
];
}
14 changes: 7 additions & 7 deletions src/SKY/OneRoster/Components/CategoryModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?string $title
Expand All @@ -13,16 +13,16 @@
*
* @api
*/
class CategoryModel extends BaseObject
class CategoryModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"title",
"sourcedId",
"status",
"dateLastModified",
"metadata",
"title" => "string",
"sourcedId" => "string",
"status" => "string",
"dateLastModified" => "string",
"metadata" => "string[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/CategoryOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property \Blackbaud\SKY\OneRoster\Components\CategoryModel $category
Expand All @@ -11,13 +11,13 @@
*
* @api
*/
class CategoryOutputModel extends BaseObject
class CategoryOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"category",
"statusInfoSet",
"category" => "\Blackbaud\SKY\OneRoster\Components\CategoryModel",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
36 changes: 18 additions & 18 deletions src/SKY/OneRoster/Components/ClassModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?string $title
Expand All @@ -24,27 +24,27 @@
*
* @api
*/
class ClassModel extends BaseObject
class ClassModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"title",
"classCode",
"classType",
"location",
"grades",
"subjects",
"course",
"school",
"terms",
"subjectCodes",
"periods",
"resources",
"sourcedId",
"status",
"dateLastModified",
"metadata",
"title" => "string",
"classCode" => "string",
"classType" => "string",
"location" => "string",
"grades" => "string[]",
"subjects" => "string[]",
"course" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel",
"school" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel",
"terms" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel[]",
"subjectCodes" => "string[]",
"periods" => "string[]",
"resources" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel[]",
"sourcedId" => "string",
"status" => "string",
"dateLastModified" => "string",
"metadata" => "string[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/ClassOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property \Blackbaud\SKY\OneRoster\Components\ClassModel $class
Expand All @@ -11,13 +11,13 @@
*
* @api
*/
class ClassOutputModel extends BaseObject
class ClassOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"class",
"statusInfoSet",
"class" => "\Blackbaud\SKY\OneRoster\Components\ClassModel",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/ClassesOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?\Blackbaud\SKY\OneRoster\Components\ClassModel[] $classes
Expand All @@ -11,13 +11,13 @@
*
* @api
*/
class ClassesOutputModel extends BaseObject
class ClassesOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"classes",
"statusInfoSet",
"classes" => "\Blackbaud\SKY\OneRoster\Components\ClassModel[]",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
28 changes: 14 additions & 14 deletions src/SKY/OneRoster/Components/CourseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property ?string $title
Expand All @@ -20,23 +20,23 @@
*
* @api
*/
class CourseModel extends BaseObject
class CourseModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"title",
"schoolYear",
"courseCode",
"grades",
"subjects",
"org",
"subjectCodes",
"resources",
"sourcedId",
"status",
"dateLastModified",
"metadata",
"title" => "string",
"schoolYear" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel",
"courseCode" => "string",
"grades" => "string[]",
"subjects" => "string[]",
"org" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel",
"subjectCodes" => "string[]",
"resources" => "\Blackbaud\SKY\OneRoster\Components\GuidRefModel[]",
"sourcedId" => "string",
"status" => "string",
"dateLastModified" => "string",
"metadata" => "string[]",
];
}
8 changes: 4 additions & 4 deletions src/SKY/OneRoster/Components/CourseOutputModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Blackbaud\SKY\OneRoster\Components;

use Battis\OpenAPI\Client\BaseObject;
use Battis\OpenAPI\Client\BaseComponent;

/**
* @property \Blackbaud\SKY\OneRoster\Components\CourseModel $course
Expand All @@ -11,13 +11,13 @@
*
* @api
*/
class CourseOutputModel extends BaseObject
class CourseOutputModel extends BaseComponent
{
/**
* @var string[] $fields
*/
protected static array $fields = [
"course",
"statusInfoSet",
"course" => "\Blackbaud\SKY\OneRoster\Components\CourseModel",
"statusInfoSet" => "\Blackbaud\SKY\OneRoster\Components\StatusInfoModel[]",
];
}
Loading

0 comments on commit 49e6913

Please sign in to comment.