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

Merged
merged 1 commit into from
Jan 9, 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
6 changes: 3 additions & 3 deletions src/chats/item/members/item/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder<Con
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
}
/**
* Retrieve a conversationMember from a chat or channel.
* Retrieve a conversationMember from a chat.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ConversationMember
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined) : Promise<ConversationMember | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -86,7 +86,7 @@ export class ConversationMemberItemRequestBuilder extends BaseRequestBuilder<Con
return requestInfo;
}
/**
* Retrieve a conversationMember from a chat or channel.
* Retrieve a conversationMember from a chat.
* @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/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder<Device
* 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-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<DeviceAppManagementRequestBuilderGetQueryParameters> | undefined) : Promise<DeviceAppManagement | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -153,7 +153,7 @@ export class DeviceAppManagementRequestBuilder extends BaseRequestBuilder<Device
* @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-policyset-deviceappmanagement-update?view=graph-rest-1.0|Find more info here}
*/
public patch(body: DeviceAppManagement, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<DeviceAppManagement | undefined> {
const requestInfo = this.toPatchRequestInformation(
Expand Down
6 changes: 3 additions & 3 deletions src/deviceAppManagement/managedAppPolicies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Managed
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new ManagedAppPoliciesRequestBuilder(x, y));
}
/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the windowsInformationProtection 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-windowsinformationprotection-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ManagedAppPoliciesRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppPolicyCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -103,7 +103,7 @@ export class ManagedAppPoliciesRequestBuilder extends BaseRequestBuilder<Managed
return this.requestAdapter.sendAsync<ManagedAppPolicy>(requestInfo, createManagedAppPolicyFromDiscriminatorValue, errorMapping);
}
/**
* List properties and relationships of the targetedManagedAppProtection objects.
* List properties and relationships of the windowsInformationProtection objects.
* @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/deviceAppManagement/managedAppPolicies/item/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<Manag
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
}
/**
* Read properties and relationships of the managedAppProtection object.
* Read properties and relationships of the windowsInformationProtection 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-windowsinformationprotection-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ManagedAppPolicyItemRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppPolicy | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -92,7 +92,7 @@ export class ManagedAppPolicyItemRequestBuilder extends BaseRequestBuilder<Manag
return requestInfo;
}
/**
* Read properties and relationships of the managedAppProtection object.
* Read properties and relationships of the windowsInformationProtection 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 @@ -43,7 +43,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsReque
* 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?: RequestConfiguration<object> | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
6 changes: 3 additions & 3 deletions src/deviceAppManagement/managedAppRegistrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder<Ma
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new ManagedAppRegistrationsRequestBuilder(x, y));
}
/**
* List properties and relationships of the managedAppRegistration objects.
* List properties and relationships of the androidManagedAppRegistration 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-managedappregistration-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ManagedAppRegistrationsRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedAppRegistrationCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -111,7 +111,7 @@ export class ManagedAppRegistrationsRequestBuilder extends BaseRequestBuilder<Ma
return this.requestAdapter.sendAsync<ManagedAppRegistration>(requestInfo, createManagedAppRegistrationFromDiscriminatorValue, errorMapping);
}
/**
* List properties and relationships of the managedAppRegistration objects.
* List properties and relationships of the androidManagedAppRegistration 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 @@ -43,7 +43,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsReque
* 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?: RequestConfiguration<object> | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class TargetAppsRequestBuilder extends BaseRequestBuilder<TargetAppsReque
* 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?: RequestConfiguration<object> | undefined) : Promise<void> {
const requestInfo = this.toPostRequestInformation(
Expand Down
6 changes: 3 additions & 3 deletions src/deviceAppManagement/managedEBooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedEBook
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new ManagedEBooksRequestBuilder(x, y));
}
/**
* List properties and relationships of the managedEBook objects.
* List properties and relationships of the iosVppEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedEBookCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ManagedEBooksRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedEBookCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -104,7 +104,7 @@ export class ManagedEBooksRequestBuilder extends BaseRequestBuilder<ManagedEBook
return this.requestAdapter.sendAsync<ManagedEBook>(requestInfo, createManagedEBookFromDiscriminatorValue, errorMapping);
}
/**
* List properties and relationships of the managedEBook objects.
* List properties and relationships of the iosVppEBook 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 @@ -71,10 +71,10 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder<AssignmentsReq
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new AssignmentsRequestBuilder(x, y));
}
/**
* 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?: RequestConfiguration<AssignmentsRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedEBookAssignmentCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -104,7 +104,7 @@ export class AssignmentsRequestBuilder extends BaseRequestBuilder<AssignmentsReq
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
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}", (x, y) => new ManagedEBookAssignmentItemRequestBuilder(x, y));
}
/**
* Deletes a managedEBookAssignment.
* Deletes a iosVppEBookAssignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0|Find more info here}
*/
public delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<void> {
const requestInfo = this.toDeleteRequestInformation(
Expand Down Expand Up @@ -76,7 +76,7 @@ export class ManagedEBookAssignmentItemRequestBuilder extends BaseRequestBuilder
return this.requestAdapter.sendAsync<ManagedEBookAssignment>(requestInfo, createManagedEBookAssignmentFromDiscriminatorValue, errorMapping);
}
/**
* Deletes a managedEBookAssignment.
* Deletes a iosVppEBookAssignment.
* @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/deviceAppManagement/managedEBooks/item/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder<ManagedEB
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
}
/**
* Read properties and relationships of the iosVppEBook object.
* Read properties and relationships of the managedEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ManagedEBook
* @see {@link https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<ManagedEBookItemRequestBuilderGetQueryParameters> | undefined) : Promise<ManagedEBook | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -122,7 +122,7 @@ export class ManagedEBookItemRequestBuilder extends BaseRequestBuilder<ManagedEB
return requestInfo;
}
/**
* Read properties and relationships of the iosVppEBook object.
* Read properties and relationships of the managedEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
12 changes: 6 additions & 6 deletions src/deviceAppManagement/mobileApps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsReque
super(pathParameters, requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", (x, y) => new MobileAppsRequestBuilder(x, y));
}
/**
* List properties and relationships of the mobileApp objects.
* List properties and relationships of the webApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of MobileAppCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-mobileapp-list?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-webapp-list?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: RequestConfiguration<MobileAppsRequestBuilderGetQueryParameters> | undefined) : Promise<MobileAppCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -199,11 +199,11 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsReque
return this.requestAdapter.sendAsync<MobileAppCollectionResponse>(requestInfo, createMobileAppCollectionResponseFromDiscriminatorValue, errorMapping);
}
/**
* Create a new microsoftStoreForBusinessApp object.
* Create a new iosiPadOSWebClip object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of MobileApp
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-create?view=graph-rest-1.0|Find more info here}
* @see {@link https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-create?view=graph-rest-1.0|Find more info here}
*/
public post(body: MobileApp, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<MobileApp | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand All @@ -216,7 +216,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsReque
return this.requestAdapter.sendAsync<MobileApp>(requestInfo, createMobileAppFromDiscriminatorValue, errorMapping);
}
/**
* List properties and relationships of the mobileApp objects.
* List properties and relationships of the webApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -227,7 +227,7 @@ export class MobileAppsRequestBuilder extends BaseRequestBuilder<MobileAppsReque
return requestInfo;
}
/**
* Create a new microsoftStoreForBusinessApp object.
* Create a new iosiPadOSWebClip 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
Loading