Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #1554

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param DeviceAppManagementRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<DeviceAppManagement|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
*/
public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the windowsInformationProtection objects.
* @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppPolicyCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo
}

/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the windowsInformationProtection objects.
* @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the windowsInformationProtection objects.
*/
class ManagedAppPoliciesRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
* @param TargetAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 Find more info here
*/
public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon
}

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
* @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppRegistration|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui
}

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
* @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Read properties and relationships of the androidManagedAppRegistration object.
* Read properties and relationships of the iosManagedAppRegistration object.
*/
class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the managedAppRegistration objects.
* @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppRegistrationCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -91,7 +91,7 @@ public function post(ManagedAppRegistration $body, ?ManagedAppRegistrationsReque
}

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the managedAppRegistration objects.
* @param ManagedAppRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the managedAppRegistration objects.
*/
class ManagedAppRegistrationsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura
}

/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedAppStatus|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe
}

/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
*/
class ManagedAppStatusItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo
}

/**
* Create a new managedEBookAssignment object.
* Create a new iosVppEBookAssignment object.
* @param ManagedEBookAssignment $body The request body
* @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedEBookAssignment|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here
*/
public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -104,7 +104,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf
}

/**
* Create a new managedEBookAssignment object.
* Create a new iosVppEBookAssignment object.
* @param ManagedEBookAssignment $body The request body
* @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Deletes a managedEBookAssignment.
* Deletes a iosVppEBookAssignment.
* @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0 Find more info here
*/
public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -77,7 +77,7 @@ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemR
}

/**
* Deletes a managedEBookAssignment.
* Deletes a iosVppEBookAssignment.
* @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* List properties and relationships of the iosMobileAppConfiguration objects.
* List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedDeviceMobileAppConfigurationCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here
*/
public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -83,7 +83,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig
}

/**
* List properties and relationships of the iosMobileAppConfiguration objects.
* List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the iosMobileAppConfiguration objects.
* List properties and relationships of the managedDeviceMobileAppConfiguration objects.
*/
class MobileAppConfigurationsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Deletes a iosLobApp.
* Deletes a macOSOfficeSuiteApp.
* @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-delete?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-delete?view=graph-rest-1.0 Find more info here
*/
public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand All @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r
}

/**
* Read properties and relationships of the mobileLobApp object.
* Read properties and relationships of the managedApp object.
* @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<MobileApp|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-apps-mobilelobapp-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-managedapp-get?view=graph-rest-1.0 Find more info here
*/
public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request
}

/**
* Update the properties of a iosStoreApp object.
* Update the properties of a macOSOfficeSuiteApp object.
* @param MobileApp $body The request body
* @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<MobileApp|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-update?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-update?view=graph-rest-1.0 Find more info here
*/
public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand All @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC
}

/**
* Deletes a iosLobApp.
* Deletes a macOSOfficeSuiteApp.
* @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq
}

/**
* Read properties and relationships of the mobileLobApp object.
* Read properties and relationships of the managedApp object.
* @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo
}

/**
* Update the properties of a iosStoreApp object.
* Update the properties of a macOSOfficeSuiteApp object.
* @param MobileApp $body The request body
* @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Read properties and relationships of the mobileLobApp object.
* Read properties and relationships of the managedApp object.
*/
class MobileAppItemRequestBuilderGetQueryParameters
{
Expand Down
Loading