Skip to content

Commit 0aee602

Browse files
committed
Outlook API refactorings (messages namespace)
1 parent c64e549 commit 0aee602

7 files changed

Lines changed: 7 additions & 9 deletions

File tree

examples/Outlook/SendEmail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Office365\Outlook\BodyType;
77
use Office365\Outlook\EmailAddress;
88
use Office365\Outlook\ItemBody;
9-
use Office365\Outlook\Message;
9+
use Office365\Outlook\Messages\Message;
1010
use Office365\Runtime\Auth\AADTokenProvider;
1111
use Office365\Runtime\Auth\UserCredentials;
1212

generator/GenerateModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function syncSharePointMetadataFile($fileName){
127127

128128
try {
129129

130-
$modelName = "MicrosoftGraph";
130+
$modelName = "SharePoint";
131131
if (count($argv) > 1)
132132
$modelName = $argv[1];
133133

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Modified: 2020-05-26T22:07:25+00:00
55
*/
6-
namespace Office365\Outlook;
6+
namespace Office365\Outlook\Messages;
77

88
use Office365\Entity;
99

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Modified: 2020-05-29T07:19:37+00:00
55
*/
6-
namespace Office365\Outlook;
6+
namespace Office365\Outlook\Messages;
77

88
use Office365\Runtime\ClientValue;
99
class AttachmentItem extends ClientValue
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Modified: 2020-05-26T22:07:25+00:00
55
*/
6-
namespace Office365\Outlook;
6+
namespace Office365\Outlook\Messages;
77

88
/**
99
* "A file (such as a text file or Word document) attached to an event, message or post. The **contentBytes** "
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
/**
44
* Modified: 2020-05-26T22:07:25+00:00
55
*/
6-
namespace Office365\Outlook;
6+
namespace Office365\Outlook\Messages;
77

8+
use Office365\Outlook\OutlookItem;
89
use Office365\Runtime\ResourcePath;
910
/**
1011
* "A contact, event, or message that's attached to another event, message, or post. "

src/Outlook/Messages/Message.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
namespace Office365\Outlook\Messages;
77

88
use Office365\EntityCollection;
9-
use Office365\Outlook\Attachment;
109
use Office365\Outlook\EmailAddress;
11-
use Office365\Outlook\FileAttachment;
1210
use Office365\Outlook\FollowupFlag;
13-
use Office365\Outlook\ItemAttachment;
1411
use Office365\Outlook\ItemBody;
1512
use Office365\Outlook\OutlookItem;
1613
use Office365\Outlook\Recipient;

0 commit comments

Comments
 (0)