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

Merged
merged 1 commit into from
Sep 19, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions src/chats/item/messages/item/replies/repliesRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export class RepliesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ChatMessageCollectionResponse>(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping);
};
/**
* Send a new reply to a chatMessage in a specified channel.
* Create a new reply to a chatMessage in a specified channel.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ChatMessage
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0|Find more info here}
*/
public post(body: ChatMessage, requestConfiguration?: RepliesRequestBuilderPostRequestConfiguration | undefined) : Promise<ChatMessage | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand Down Expand Up @@ -102,7 +102,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Send a new reply to a chatMessage in a specified channel.
* Create a new reply to a chatMessage in a specified channel.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export class InviteRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite");
};
/**
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of InviteParticipantsOperation
* @see {@link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0|Find more info here}
*/
public post(body: InvitePostRequestBody, requestConfiguration?: InviteRequestBuilderPostRequestConfiguration | undefined) : Promise<InviteParticipantsOperation | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand All @@ -42,7 +42,7 @@ export class InviteRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<InviteParticipantsOperation>(requestInfo, createInviteParticipantsOperationFromDiscriminatorValue, errorMapping);
};
/**
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
Expand Down
4 changes: 2 additions & 2 deletions src/deviceAppManagement/deviceAppManagementRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder {
* Read properties and relationships of the deviceAppManagement object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of DeviceAppManagement
* @see {@link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: DeviceAppManagementRequestBuilderGetRequestConfiguration | undefined) : Promise<DeviceAppManagement | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -148,7 +148,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder {
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of DeviceAppManagement
* @see {@link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
*/
public patch(body: DeviceAppManagement, requestConfiguration?: DeviceAppManagementRequestBuilderPatchRequestConfiguration | undefined) : Promise<DeviceAppManagement | undefined> {
const requestInfo = this.toPatchRequestInformation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Read properties and relationships of the windowsInformationProtection object.
* Read properties and relationships of the targetedManagedAppProtection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedAppPolicy
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ManagedAppPolicyItemRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedAppPolicy | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -93,7 +93,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Read properties and relationships of the windowsInformationProtection object.
* Read properties and relationships of the targetedManagedAppProtection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder {
* Not yet documented
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
*/
public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}");
};
/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedAppPolicyCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ManagedAppPoliciesRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedAppPolicyCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -76,7 +76,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedAppPolicy>(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping);
};
/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder {
* Not yet documented
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
*/
public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder {
* Not yet documented
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
*/
public post(body: TargetAppsPostRequestBody, requestConfiguration?: TargetAppsRequestBuilderPostRequestConfiguration | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}");
};
/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the managedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedAppRegistrationCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ManagedAppRegistrationsRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedAppRegistrationCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -84,7 +84,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedAppRegistration>(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping);
};
/**
* List properties and relationships of the androidManagedAppRegistration objects.
* List properties and relationships of the managedAppRegistration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedAppStatus
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ManagedAppStatusItemRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedAppStatus | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -86,7 +86,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Read properties and relationships of the managedAppStatus object.
* Read properties and relationships of the managedAppStatusRaw object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}");
};
/**
* List properties and relationships of the managedEBookAssignment objects.
* List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedEBookAssignmentCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: AssignmentsRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedEBookAssignmentCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -60,11 +60,11 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedEBookAssignmentCollectionResponse>(requestInfo, createManagedEBookAssignmentCollectionResponseFromDiscriminatorValue, errorMapping);
};
/**
* Create a new iosVppEBookAssignment object.
* Create a new managedEBookAssignment object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedEBookAssignment
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0|Find more info here}
*/
public post(body: ManagedEBookAssignment, requestConfiguration?: AssignmentsRequestBuilderPostRequestConfiguration | undefined) : Promise<ManagedEBookAssignment | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand All @@ -77,7 +77,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedEBookAssignment>(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping);
};
/**
* List properties and relationships of the managedEBookAssignment objects.
* List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -95,7 +95,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Create a new iosVppEBookAssignment object.
* Create a new managedEBookAssignment object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Read properties and relationships of the iosVppEBookAssignment object.
* Read properties and relationships of the managedEBookAssignment object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedEBookAssignment
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedEBookAssignment | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -88,7 +88,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder
return requestInfo;
};
/**
* Read properties and relationships of the iosVppEBookAssignment object.
* Read properties and relationships of the managedEBookAssignment object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Loading