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

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
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 @@ -121,11 +121,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. This API is available in the following national cloud deployments.
* Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
* @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 @@ -156,7 +156,7 @@ export class RepliesRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
* Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
Expand Down
6 changes: 3 additions & 3 deletions src/chats/item/messages/messagesRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ export class MessagesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ChatMessageCollectionResponse>(requestInfo, createChatMessageCollectionResponseFromDiscriminatorValue, errorMapping);
};
/**
* Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments.
* 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. This API is available in the following national cloud deployments.
* @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?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0|Find more info here}
*/
public post(body: ChatMessage, requestConfiguration?: MessagesRequestBuilderPostRequestConfiguration | undefined) : Promise<ChatMessage | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand Down Expand Up @@ -156,7 +156,7 @@ export class MessagesRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments.
* 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. This API is available in the following national cloud deployments.
* @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 @@ -30,11 +30,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. This API is available in the following national cloud deployments.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
* @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 @@ -47,7 +47,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. This API is available in the following national cloud deployments.
* Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
* @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 @@ -161,7 +161,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-onboarding-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-policyset-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 @@ -178,7 +178,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-onboarding-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-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 @@ -84,10 +84,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Read properties and relationships of the managedAppProtection object.
* Read properties and relationships of the managedAppPolicy 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-managedappprotection-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 @@ -133,7 +133,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Read properties and relationships of the managedAppProtection object.
* Read properties and relationships of the managedAppPolicy 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 @@ -32,7 +32,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-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 @@ -98,10 +98,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 windowsInformationProtection 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-windowsinformationprotection-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 @@ -130,7 +130,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedAppPolicy>(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping);
};
/**
* List properties and relationships of the windowsInformationProtection 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 @@ -32,7 +32,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-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 @@ -32,7 +32,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-managedappprotection-targetapps?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-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 @@ -77,10 +77,10 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Read properties and relationships of the managedAppStatusRaw object.
* Read properties and relationships of the managedAppStatus 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-managedappstatusraw-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-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 @@ -126,7 +126,7 @@ export class ManagedAppStatusItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Read properties and relationships of the managedAppStatusRaw object.
* Read properties and relationships of the managedAppStatus 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 @@ -98,10 +98,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 iosVppEBookAssignment objects.
* List properties and relationships of the managedEBookAssignment 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-iosvppebookassignment-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: AssignmentsRequestBuilderGetRequestConfiguration | undefined) : Promise<ManagedEBookAssignmentCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -131,7 +131,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ManagedEBookAssignment>(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping);
};
/**
* List properties and relationships of the iosVppEBookAssignment objects.
* List properties and relationships of the managedEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
Loading
Loading