Skip to content

Commit 5d62792

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated files with build 40918
1 parent 829c60e commit 5d62792

37 files changed

+2301
-42
lines changed

src/Model/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ public function setHomeRealmDiscoveryPolicies($val)
961961

962962
/**
963963
* Gets the owners
964-
* Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable.
964+
* Directory objects that are owners of the application. Read-only. Nullable.
965965
*
966966
* @return array The owners
967967
*/
@@ -976,7 +976,7 @@ public function getOwners()
976976

977977
/**
978978
* Sets the owners
979-
* Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable.
979+
* Directory objects that are owners of the application. Read-only. Nullable.
980980
*
981981
* @param DirectoryObject $val The owners
982982
*
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<?php
2+
/**
3+
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
*
5+
* ApplicationServicePrincipal File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright (c) Microsoft Corporation. All rights reserved.
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @link https://graph.microsoft.com
13+
*/
14+
namespace Microsoft\Graph\Model;
15+
/**
16+
* ApplicationServicePrincipal class
17+
*
18+
* @category Model
19+
* @package Microsoft.Graph
20+
* @copyright (c) Microsoft Corporation. All rights reserved.
21+
* @license https://opensource.org/licenses/MIT MIT License
22+
* @link https://graph.microsoft.com
23+
*/
24+
class ApplicationServicePrincipal extends Entity
25+
{
26+
27+
/**
28+
* Gets the application
29+
*
30+
* @return Application The application
31+
*/
32+
public function getApplication()
33+
{
34+
if (array_key_exists("application", $this->_propDict)) {
35+
if (is_a($this->_propDict["application"], "Microsoft\Graph\Model\Application")) {
36+
return $this->_propDict["application"];
37+
} else {
38+
$this->_propDict["application"] = new Application($this->_propDict["application"]);
39+
return $this->_propDict["application"];
40+
}
41+
}
42+
return null;
43+
}
44+
45+
/**
46+
* Sets the application
47+
*
48+
* @param Application $val The value to assign to the application
49+
*
50+
* @return ApplicationServicePrincipal The ApplicationServicePrincipal
51+
*/
52+
public function setApplication($val)
53+
{
54+
$this->_propDict["application"] = $val;
55+
return $this;
56+
}
57+
58+
/**
59+
* Gets the servicePrincipal
60+
*
61+
* @return ServicePrincipal The servicePrincipal
62+
*/
63+
public function getServicePrincipal()
64+
{
65+
if (array_key_exists("servicePrincipal", $this->_propDict)) {
66+
if (is_a($this->_propDict["servicePrincipal"], "Microsoft\Graph\Model\ServicePrincipal")) {
67+
return $this->_propDict["servicePrincipal"];
68+
} else {
69+
$this->_propDict["servicePrincipal"] = new ServicePrincipal($this->_propDict["servicePrincipal"]);
70+
return $this->_propDict["servicePrincipal"];
71+
}
72+
}
73+
return null;
74+
}
75+
76+
/**
77+
* Sets the servicePrincipal
78+
*
79+
* @param ServicePrincipal $val The value to assign to the servicePrincipal
80+
*
81+
* @return ApplicationServicePrincipal The ApplicationServicePrincipal
82+
*/
83+
public function setServicePrincipal($val)
84+
{
85+
$this->_propDict["servicePrincipal"] = $val;
86+
return $this;
87+
}
88+
}

src/Model/ApplicationTemplate.php

Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
<?php
2+
/**
3+
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
*
5+
* ApplicationTemplate File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright (c) Microsoft Corporation. All rights reserved.
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @link https://graph.microsoft.com
13+
*/
14+
namespace Microsoft\Graph\Model;
15+
16+
/**
17+
* ApplicationTemplate class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright (c) Microsoft Corporation. All rights reserved.
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @link https://graph.microsoft.com
24+
*/
25+
class ApplicationTemplate extends Entity
26+
{
27+
/**
28+
* Gets the categories
29+
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer,Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
30+
*
31+
* @return string The categories
32+
*/
33+
public function getCategories()
34+
{
35+
if (array_key_exists("categories", $this->_propDict)) {
36+
return $this->_propDict["categories"];
37+
} else {
38+
return null;
39+
}
40+
}
41+
42+
/**
43+
* Sets the categories
44+
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer,Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
45+
*
46+
* @param string $val The categories
47+
*
48+
* @return ApplicationTemplate
49+
*/
50+
public function setCategories($val)
51+
{
52+
$this->_propDict["categories"] = $val;
53+
return $this;
54+
}
55+
56+
/**
57+
* Gets the description
58+
* A description of the application.
59+
*
60+
* @return string The description
61+
*/
62+
public function getDescription()
63+
{
64+
if (array_key_exists("description", $this->_propDict)) {
65+
return $this->_propDict["description"];
66+
} else {
67+
return null;
68+
}
69+
}
70+
71+
/**
72+
* Sets the description
73+
* A description of the application.
74+
*
75+
* @param string $val The description
76+
*
77+
* @return ApplicationTemplate
78+
*/
79+
public function setDescription($val)
80+
{
81+
$this->_propDict["description"] = $val;
82+
return $this;
83+
}
84+
85+
/**
86+
* Gets the displayName
87+
* The name of the application.
88+
*
89+
* @return string The displayName
90+
*/
91+
public function getDisplayName()
92+
{
93+
if (array_key_exists("displayName", $this->_propDict)) {
94+
return $this->_propDict["displayName"];
95+
} else {
96+
return null;
97+
}
98+
}
99+
100+
/**
101+
* Sets the displayName
102+
* The name of the application.
103+
*
104+
* @param string $val The displayName
105+
*
106+
* @return ApplicationTemplate
107+
*/
108+
public function setDisplayName($val)
109+
{
110+
$this->_propDict["displayName"] = $val;
111+
return $this;
112+
}
113+
114+
/**
115+
* Gets the homePageUrl
116+
* The home page URL of the application.
117+
*
118+
* @return string The homePageUrl
119+
*/
120+
public function getHomePageUrl()
121+
{
122+
if (array_key_exists("homePageUrl", $this->_propDict)) {
123+
return $this->_propDict["homePageUrl"];
124+
} else {
125+
return null;
126+
}
127+
}
128+
129+
/**
130+
* Sets the homePageUrl
131+
* The home page URL of the application.
132+
*
133+
* @param string $val The homePageUrl
134+
*
135+
* @return ApplicationTemplate
136+
*/
137+
public function setHomePageUrl($val)
138+
{
139+
$this->_propDict["homePageUrl"] = $val;
140+
return $this;
141+
}
142+
143+
/**
144+
* Gets the logoUrl
145+
* The URL to get the logo for this application.
146+
*
147+
* @return string The logoUrl
148+
*/
149+
public function getLogoUrl()
150+
{
151+
if (array_key_exists("logoUrl", $this->_propDict)) {
152+
return $this->_propDict["logoUrl"];
153+
} else {
154+
return null;
155+
}
156+
}
157+
158+
/**
159+
* Sets the logoUrl
160+
* The URL to get the logo for this application.
161+
*
162+
* @param string $val The logoUrl
163+
*
164+
* @return ApplicationTemplate
165+
*/
166+
public function setLogoUrl($val)
167+
{
168+
$this->_propDict["logoUrl"] = $val;
169+
return $this;
170+
}
171+
172+
/**
173+
* Gets the publisher
174+
* The name of the publisher for this application.
175+
*
176+
* @return string The publisher
177+
*/
178+
public function getPublisher()
179+
{
180+
if (array_key_exists("publisher", $this->_propDict)) {
181+
return $this->_propDict["publisher"];
182+
} else {
183+
return null;
184+
}
185+
}
186+
187+
/**
188+
* Sets the publisher
189+
* The name of the publisher for this application.
190+
*
191+
* @param string $val The publisher
192+
*
193+
* @return ApplicationTemplate
194+
*/
195+
public function setPublisher($val)
196+
{
197+
$this->_propDict["publisher"] = $val;
198+
return $this;
199+
}
200+
201+
/**
202+
* Gets the supportedProvisioningTypes
203+
* The list of provisioning modes supported by this application. The only valid value is sync.
204+
*
205+
* @return string The supportedProvisioningTypes
206+
*/
207+
public function getSupportedProvisioningTypes()
208+
{
209+
if (array_key_exists("supportedProvisioningTypes", $this->_propDict)) {
210+
return $this->_propDict["supportedProvisioningTypes"];
211+
} else {
212+
return null;
213+
}
214+
}
215+
216+
/**
217+
* Sets the supportedProvisioningTypes
218+
* The list of provisioning modes supported by this application. The only valid value is sync.
219+
*
220+
* @param string $val The supportedProvisioningTypes
221+
*
222+
* @return ApplicationTemplate
223+
*/
224+
public function setSupportedProvisioningTypes($val)
225+
{
226+
$this->_propDict["supportedProvisioningTypes"] = $val;
227+
return $this;
228+
}
229+
230+
/**
231+
* Gets the supportedSingleSignOnModes
232+
* The list of single sign-on modes supported by this application. The supported values are password, saml, external, and oidc.
233+
*
234+
* @return string The supportedSingleSignOnModes
235+
*/
236+
public function getSupportedSingleSignOnModes()
237+
{
238+
if (array_key_exists("supportedSingleSignOnModes", $this->_propDict)) {
239+
return $this->_propDict["supportedSingleSignOnModes"];
240+
} else {
241+
return null;
242+
}
243+
}
244+
245+
/**
246+
* Sets the supportedSingleSignOnModes
247+
* The list of single sign-on modes supported by this application. The supported values are password, saml, external, and oidc.
248+
*
249+
* @param string $val The supportedSingleSignOnModes
250+
*
251+
* @return ApplicationTemplate
252+
*/
253+
public function setSupportedSingleSignOnModes($val)
254+
{
255+
$this->_propDict["supportedSingleSignOnModes"] = $val;
256+
return $this;
257+
}
258+
259+
}

0 commit comments

Comments
 (0)