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 #1603

Merged
merged 1 commit into from
Oct 17, 2024
Merged
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 @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
}

/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ChatMessage|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here
*/
public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand Down Expand Up @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu
}

/**
* Send a new chatMessage in the specified channel or a chat.
* Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
* @param ChatMessage $body The request body
* @param MessagesRequestBuilderPostRequestConfiguration|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 @@ -36,7 +36,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
* @param MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse|null>
* @throws Exception
Expand All @@ -50,7 +50,7 @@ public function get(?MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithTo
}

/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
* @param MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetRequestConfiguration|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;

/**
* Get log of PSTN calls as a collection of pstnCallLogRow entries.
* Get a log of PSTN calls as a collection of pstnCallLogRow entries.
*/
class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters
{
Expand Down
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-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here
*/
public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r
* @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|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-apps-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0 Find more info here
*/
public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
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 managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration 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-managedappregistration-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-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 managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration 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 managedAppRegistration objects.
* List properties and relationships of the iosManagedAppRegistration 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 @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

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

/**
* List properties and relationships of the managedAppStatus objects.
* List properties and relationships of the managedAppStatusRaw objects.
* @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|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 managedAppStatus objects.
* List properties and relationships of the managedAppStatusRaw objects.
*/
class ManagedAppStatusesRequestBuilderGetQueryParameters
{
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 iosVppEBookAssignment objects.
* List properties and relationships of the managedEBookAssignment objects.
* @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedEBookAssignmentCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here
*/
public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -67,12 +67,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo
}

/**
* Create a new iosVppEBookAssignment object.
* Create a new managedEBookAssignment 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-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-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 All @@ -83,7 +83,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos
}

/**
* List properties and relationships of the iosVppEBookAssignment objects.
* List properties and relationships of the managedEBookAssignment objects.
* @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -104,7 +104,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf
}

/**
* Create a new iosVppEBookAssignment object.
* Create a new managedEBookAssignment 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 @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* List properties and relationships of the iosVppEBookAssignment objects.
* List properties and relationships of the managedEBookAssignment objects.
*/
class AssignmentsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon
}

/**
* Read properties and relationships of the iosVppEBookAssignment object.
* Read properties and relationships of the managedEBookAssignment object.
* @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|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-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui
}

/**
* Read properties and relationships of the iosVppEBookAssignment object.
* Read properties and relationships of the managedEBookAssignment object.
* @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|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 iosVppEBookAssignment object.
* Read properties and relationships of the managedEBookAssignment object.
*/
class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters
{
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 iosVppEBook objects.
* List properties and relationships of the managedEBook objects.
* @param ManagedEBooksRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedEBookCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedEBooksRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -83,7 +83,7 @@ public function post(ManagedEBook $body, ?ManagedEBooksRequestBuilderPostRequest
}

/**
* List properties and relationships of the iosVppEBook objects.
* List properties and relationships of the managedEBook objects.
* @param ManagedEBooksRequestBuilderGetRequestConfiguration|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 iosVppEBook objects.
* List properties and relationships of the managedEBook objects.
*/
class ManagedEBooksRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel
}

/**
* Read properties and relationships of the managedDeviceMobileAppConfiguration object.
* Read properties and relationships of the iosMobileAppConfiguration object.
* @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<ManagedDeviceMobileAppConfiguration|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here
* @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here
*/
public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand Down Expand Up @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI
}

/**
* Read properties and relationships of the managedDeviceMobileAppConfiguration object.
* Read properties and relationships of the iosMobileAppConfiguration object.
* @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|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 managedDeviceMobileAppConfiguration object.
* Read properties and relationships of the iosMobileAppConfiguration object.
*/
class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters
{
Expand Down
Loading