Skip to content

Commit 0d4f28f

Browse files
Merge pull request #309 from microsoftgraph/v1.0/pipelinebuild/3496756
Generated models and request builders using Typewriter
2 parents 4991d16 + eb4152f commit 0d4f28f

7 files changed

Lines changed: 146 additions & 9 deletions

File tree

.github/workflows/create-v1.0-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
MESSAGE_TITLE: Generated models and request builders using Typewriter
4242
MESSAGE_BODY: "This pull request was automatically created by the GitHub Action, **${{github.workflow}}**. \n\n The commit hash is _${{github.sha}}_. \n\n **Important** Check for unexpected deletions or changes in this PR. See [v1.0_metadata.xml](https://github.com/microsoftgraph/msgraph-metadata/blob/master/v1.0_metadata.xml) for metadata changes. \n\n Make sure the version number is incremented in /src/Core/GraphConstants.php. Compare the version against the latest release on [packagist.org](https://packagist.org/packages/microsoft/microsoft-graph) and update the version in src/Core/GraphConstants. \n\n cc: @darrelmiller"
43-
REVIEWERS: peombwa,ddyett,zengin,nikithauc
43+
REVIEWERS: peombwa,ddyett,zengin,nikithauc,baywet
4444
ASSIGNEDTO: MIchaelMainer
4545
LABELS: generated
4646
BASE: dev

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@ This SDK has an XDebug run configuration that attaches the debugger to VS Code s
101101
4. Follow the generated instructions for installing XDebug. Note that the `/ext` directory is located in your PHP directory.
102102
5. Add the following info to your php.ini file:
103103

104-
[XDebug]
105-
xdebug.remote_enable = 1
106-
xdebug.remote_autostart = 1
104+
```
105+
[XDebug]
106+
xdebug.remote_enable = 1
107+
xdebug.remote_autostart = 1
108+
```
107109

108110
Now you can hit a Visual Studio Code breakpoint in a test. Try this:
109111

src/Core/GraphConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class GraphConstants
2323
const REST_ENDPOINT = "https://graph.microsoft.com/";
2424

2525
// Define HTTP request constants
26-
const SDK_VERSION = "1.15.0";
26+
const SDK_VERSION = "1.16.0";
2727

2828
// Define error constants
2929
const MAX_PAGE_SIZE = 999;

src/Model/Application.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,33 @@ public function setCreatedDateTime($val)
264264
return $this;
265265
}
266266

267+
/**
268+
* Gets the description
269+
*
270+
* @return string The description
271+
*/
272+
public function getDescription()
273+
{
274+
if (array_key_exists("description", $this->_propDict)) {
275+
return $this->_propDict["description"];
276+
} else {
277+
return null;
278+
}
279+
}
280+
281+
/**
282+
* Sets the description
283+
*
284+
* @param string $val The description
285+
*
286+
* @return Application
287+
*/
288+
public function setDescription($val)
289+
{
290+
$this->_propDict["description"] = $val;
291+
return $this;
292+
}
293+
267294
/**
268295
* Gets the publicClient
269296
* Specifies settings for installed clients such as desktop or mobile devices.
@@ -478,6 +505,33 @@ public function setLogo($val)
478505
return $this;
479506
}
480507

508+
/**
509+
* Gets the notes
510+
*
511+
* @return string The notes
512+
*/
513+
public function getNotes()
514+
{
515+
if (array_key_exists("notes", $this->_propDict)) {
516+
return $this->_propDict["notes"];
517+
} else {
518+
return null;
519+
}
520+
}
521+
522+
/**
523+
* Sets the notes
524+
*
525+
* @param string $val The notes
526+
*
527+
* @return Application
528+
*/
529+
public function setNotes($val)
530+
{
531+
$this->_propDict["notes"] = $val;
532+
return $this;
533+
}
534+
481535
/**
482536
* Gets the oauth2RequirePostResponse
483537
*

src/Model/ServicePrincipal.php

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,33 @@ public function setAppDisplayName($val)
141141
return $this;
142142
}
143143

144+
/**
145+
* Gets the appDescription
146+
*
147+
* @return string The appDescription
148+
*/
149+
public function getAppDescription()
150+
{
151+
if (array_key_exists("appDescription", $this->_propDict)) {
152+
return $this->_propDict["appDescription"];
153+
} else {
154+
return null;
155+
}
156+
}
157+
158+
/**
159+
* Sets the appDescription
160+
*
161+
* @param string $val The appDescription
162+
*
163+
* @return ServicePrincipal
164+
*/
165+
public function setAppDescription($val)
166+
{
167+
$this->_propDict["appDescription"] = $val;
168+
return $this;
169+
}
170+
144171
/**
145172
* Gets the appId
146173
* The unique identifier for the associated application (its appId property).
@@ -287,6 +314,33 @@ public function setAppRoles($val)
287314
return $this;
288315
}
289316

317+
/**
318+
* Gets the description
319+
*
320+
* @return string The description
321+
*/
322+
public function getDescription()
323+
{
324+
if (array_key_exists("description", $this->_propDict)) {
325+
return $this->_propDict["description"];
326+
} else {
327+
return null;
328+
}
329+
}
330+
331+
/**
332+
* Sets the description
333+
*
334+
* @param string $val The description
335+
*
336+
* @return ServicePrincipal
337+
*/
338+
public function setDescription($val)
339+
{
340+
$this->_propDict["description"] = $val;
341+
return $this;
342+
}
343+
290344
/**
291345
* Gets the displayName
292346
* The display name for the service principal.
@@ -466,6 +520,33 @@ public function setLogoutUrl($val)
466520
return $this;
467521
}
468522

523+
/**
524+
* Gets the notes
525+
*
526+
* @return string The notes
527+
*/
528+
public function getNotes()
529+
{
530+
if (array_key_exists("notes", $this->_propDict)) {
531+
return $this->_propDict["notes"];
532+
} else {
533+
return null;
534+
}
535+
}
536+
537+
/**
538+
* Sets the notes
539+
*
540+
* @param string $val The notes
541+
*
542+
* @return ServicePrincipal
543+
*/
544+
public function setNotes($val)
545+
{
546+
$this->_propDict["notes"] = $val;
547+
return $this;
548+
}
549+
469550
/**
470551
* Gets the notificationEmailAddresses
471552
* Specifies the list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications.

src/Model/TeamsApp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function setDisplayName($val)
8484

8585
/**
8686
* Gets the distributionMethod
87-
* The method of distribution for the app.
87+
* The method of distribution for the app. Read-only.
8888
*
8989
* @return TeamsAppDistributionMethod The distributionMethod
9090
*/
@@ -103,7 +103,7 @@ public function getDistributionMethod()
103103

104104
/**
105105
* Sets the distributionMethod
106-
* The method of distribution for the app.
106+
* The method of distribution for the app. Read-only.
107107
*
108108
* @param TeamsAppDistributionMethod $val The distributionMethod
109109
*

src/Model/TeamsAppDefinition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class TeamsAppDefinition extends Entity
2626
{
2727
/**
2828
* Gets the teamsAppId
29-
* The id from the Teams App manifest.
29+
* The ID from the Teams app manifest.
3030
*
3131
* @return string The teamsAppId
3232
*/
@@ -41,7 +41,7 @@ public function getTeamsAppId()
4141

4242
/**
4343
* Sets the teamsAppId
44-
* The id from the Teams App manifest.
44+
* The ID from the Teams app manifest.
4545
*
4646
* @param string $val The teamsAppId
4747
*

0 commit comments

Comments
 (0)