Skip to content

Commit

Permalink
Refactorings for OneDrive & Planner APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Aug 21, 2021
1 parent cb4115e commit a6382fe
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:07:25+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Columns;

use Office365\Runtime\ClientValue;
class LookupColumn extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:07:25+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Columns;

use Office365\Runtime\ClientValue;
class NumberColumn extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:07:25+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Columns;

use Office365\Runtime\ClientValue;
class PersonOrGroupColumn extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-24T22:10:26+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\DriveItems;

use Office365\Runtime\ClientValue;
class Deleted extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-24T22:10:26+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\DriveItems;

use Office365\Runtime\ClientValue;
class Package extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-24T22:10:26+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\DriveItems;

use Office365\Runtime\ClientValue;
class PublicationFacet extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
/**
* Modified: 2020-05-25T06:42:59+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\DriveItems;

use Office365\Directory\Identities\IdentitySet;
use Office365\OneDrive\ItemReference;
use Office365\OneDrive\SharepointIds;
use Office365\OneDrive\Shares\Shared;
use Office365\Runtime\ClientValue;
class RemoteItem extends ClientValue
{
Expand Down
1 change: 0 additions & 1 deletion src/OneDrive/Drives/Drive.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Office365\OneDrive\DriveItems\DriveItemCollection;
use Office365\OneDrive\DriveItems\SystemFacet;
use Office365\OneDrive\Lists\SharePointList;
use Office365\OneDrive\Quota;
use Office365\OneDrive\SharepointIds;
use Office365\Runtime\ResourcePath;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/OneDrive/Quota.php → src/OneDrive/Drives/Quota.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-24T22:10:26+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Drives;

use Office365\Runtime\ClientValue;
class Quota extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:07:25+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\ListItems;

use Office365\Entity;

Expand Down
2 changes: 1 addition & 1 deletion src/OneDrive/Shared.php → src/OneDrive/Shares/Shared.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-25T06:42:59+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Shares;

use Office365\Directory\Identities\IdentitySet;
use Office365\Runtime\ClientValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
/**
* Modified: 2020-05-26T22:30:38+00:00
*/
namespace Office365\OneDrive;
namespace Office365\OneDrive\Shares;

use Office365\Directory\Identities\IdentitySet;
use Office365\Entity;
use Office365\OneDrive\DriveItems\DriveItem;
use Office365\OneDrive\DriveItems\DriveItemCollection;
use Office365\OneDrive\ListItems\ListItem;
use Office365\OneDrive\Lists\SharePointList;
use Office365\OneDrive\Sites\Site;
use Office365\Runtime\ResourcePath;
class SharedDriveItem extends Entity
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\Planner;
namespace Office365\Planner\Plans;

use Office365\Runtime\ClientValue;
class PlannerCategoryDescriptions extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\Planner;
namespace Office365\Planner\Tasks;

use Office365\Runtime\ClientValue;
class PlannerAppliedCategories extends ClientValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
/**
* Modified: 2020-05-26T22:12:31+00:00
*/
namespace Office365\Planner;
namespace Office365\Planner\Tasks;

use Office365\Entity;
use Office365\Planner\PlannerOrderHintsByAssignee;

/**
* The **plannerAssignedToTaskBoardTaskFormat** resource represents the information used to render a task correctly in the AssignedTo view of the Task Board (a view organized by users to whom tasks are assigned to). Each [task](plannertask.md) will have one **plannerAssignedToTaskBoardTaskFormat** object associated with it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\Planner;
namespace Office365\Planner\Tasks;

use Office365\Directory\Identities\IdentitySet;
use Office365\Runtime\ClientValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\Planner;
namespace Office365\Planner\Tasks;

use Office365\Runtime\ClientValue;
class PlannerExternalReferences extends ClientValue
Expand Down
2 changes: 0 additions & 2 deletions src/Planner/Tasks/PlannerTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
use Office365\Directory\Identities\IdentitySet;
use Office365\Entity;
use Office365\Planner\Buckets\PlannerBucketTaskBoardTaskFormat;
use Office365\Planner\PlannerAppliedCategories;
use Office365\Planner\PlannerAssignedToTaskBoardTaskFormat;
use Office365\Planner\PlannerAssignments;
use Office365\Planner\PlannerProgressTaskBoardTaskFormat;
use Office365\Runtime\ResourcePath;
Expand Down

0 comments on commit a6382fe

Please sign in to comment.