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

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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
50 changes: 41 additions & 9 deletions src/admin/adminRequestBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,48 @@
import { type Admin } from '../models/admin';
import { createAdminFromDiscriminatorValue } from '../models/createAdminFromDiscriminatorValue';
import { deserializeIntoAdmin } from '../models/deserializeIntoAdmin';
// tslint:disable
// eslint-disable
// Generated by Microsoft Kiota
import { createAdminFromDiscriminatorValue, deserializeIntoAdmin, serializeAdmin, type Admin } from '../models/admin';
import { type ODataError } from '../models/oDataErrors/';
import { createODataErrorFromDiscriminatorValue } from '../models/oDataErrors/createODataErrorFromDiscriminatorValue';
import { deserializeIntoODataError } from '../models/oDataErrors/deserializeIntoODataError';
import { serializeODataError } from '../models/oDataErrors/serializeODataError';
import { serializeAdmin } from '../models/serializeAdmin';
import { type AdminRequestBuilderGetRequestConfiguration } from './adminRequestBuilderGetRequestConfiguration';
import { type AdminRequestBuilderPatchRequestConfiguration } from './adminRequestBuilderPatchRequestConfiguration';
import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../models/oDataErrors/oDataError';
import { EdgeRequestBuilder } from './edge/edgeRequestBuilder';
import { ServiceAnnouncementRequestBuilder } from './serviceAnnouncement/serviceAnnouncementRequestBuilder';
import { SharepointRequestBuilder } from './sharepoint/sharepointRequestBuilder';
import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions';

export interface AdminRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
export interface AdminRequestBuilderGetRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
/**
* Request query parameters
*/
queryParameters?: AdminRequestBuilderGetQueryParameters;
}
export interface AdminRequestBuilderPatchRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
}
/**
* Provides operations to manage the admin singleton.
*/
Expand Down Expand Up @@ -122,3 +152,5 @@ export class AdminRequestBuilder extends BaseRequestBuilder {
return new AdminRequestBuilder(rawUrl, this.requestAdapter);
};
}
// tslint:enable
// eslint-enable
11 changes: 0 additions & 11 deletions src/admin/adminRequestBuilderGetQueryParameters.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/admin/adminRequestBuilderGetRequestConfiguration.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/admin/adminRequestBuilderPatchRequestConfiguration.ts

This file was deleted.

61 changes: 51 additions & 10 deletions src/admin/edge/edgeRequestBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,56 @@
import { createEdgeFromDiscriminatorValue } from '../../models/createEdgeFromDiscriminatorValue';
import { deserializeIntoEdge } from '../../models/deserializeIntoEdge';
import { type Edge } from '../../models/edge';
// tslint:disable
// eslint-disable
// Generated by Microsoft Kiota
import { createEdgeFromDiscriminatorValue, deserializeIntoEdge, serializeEdge, type Edge } from '../../models/edge';
import { type ODataError } from '../../models/oDataErrors/';
import { createODataErrorFromDiscriminatorValue } from '../../models/oDataErrors/createODataErrorFromDiscriminatorValue';
import { deserializeIntoODataError } from '../../models/oDataErrors/deserializeIntoODataError';
import { serializeODataError } from '../../models/oDataErrors/serializeODataError';
import { serializeEdge } from '../../models/serializeEdge';
import { type EdgeRequestBuilderDeleteRequestConfiguration } from './edgeRequestBuilderDeleteRequestConfiguration';
import { type EdgeRequestBuilderGetRequestConfiguration } from './edgeRequestBuilderGetRequestConfiguration';
import { type EdgeRequestBuilderPatchRequestConfiguration } from './edgeRequestBuilderPatchRequestConfiguration';
import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../models/oDataErrors/oDataError';
import { InternetExplorerModeRequestBuilder } from './internetExplorerMode/internetExplorerModeRequestBuilder';
import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions';

export interface EdgeRequestBuilderDeleteRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
}
export interface EdgeRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
export interface EdgeRequestBuilderGetRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
/**
* Request query parameters
*/
queryParameters?: EdgeRequestBuilderGetQueryParameters;
}
export interface EdgeRequestBuilderPatchRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
}
/**
* Provides operations to manage the edge property of the microsoft.graph.admin entity.
*/
Expand Down Expand Up @@ -139,3 +178,5 @@ export class EdgeRequestBuilder extends BaseRequestBuilder {
return new EdgeRequestBuilder(rawUrl, this.requestAdapter);
};
}
// tslint:enable
// eslint-enable
12 changes: 0 additions & 12 deletions src/admin/edge/edgeRequestBuilderDeleteRequestConfiguration.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/admin/edge/edgeRequestBuilderGetQueryParameters.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/admin/edge/edgeRequestBuilderGetRequestConfiguration.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/admin/edge/edgeRequestBuilderPatchRequestConfiguration.ts

This file was deleted.

5 changes: 1 addition & 4 deletions src/admin/edge/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export * from './edgeRequestBuilderDeleteRequestConfiguration'
export * from './edgeRequestBuilderGetQueryParameters'
export * from './edgeRequestBuilderGetRequestConfiguration'
export * from './edgeRequestBuilderPatchRequestConfiguration'
export * from './edgeRequestBuilder'
5 changes: 1 addition & 4 deletions src/admin/edge/internetExplorerMode/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export * from './internetExplorerModeRequestBuilderDeleteRequestConfiguration'
export * from './internetExplorerModeRequestBuilderGetQueryParameters'
export * from './internetExplorerModeRequestBuilderGetRequestConfiguration'
export * from './internetExplorerModeRequestBuilderPatchRequestConfiguration'
export * from './internetExplorerModeRequestBuilder'
Original file line number Diff line number Diff line change
@@ -1,17 +1,56 @@
import { createInternetExplorerModeFromDiscriminatorValue } from '../../../models/createInternetExplorerModeFromDiscriminatorValue';
import { deserializeIntoInternetExplorerMode } from '../../../models/deserializeIntoInternetExplorerMode';
import { type InternetExplorerMode } from '../../../models/internetExplorerMode';
// tslint:disable
// eslint-disable
// Generated by Microsoft Kiota
import { createInternetExplorerModeFromDiscriminatorValue, deserializeIntoInternetExplorerMode, serializeInternetExplorerMode, type InternetExplorerMode } from '../../../models/internetExplorerMode';
import { type ODataError } from '../../../models/oDataErrors/';
import { createODataErrorFromDiscriminatorValue } from '../../../models/oDataErrors/createODataErrorFromDiscriminatorValue';
import { deserializeIntoODataError } from '../../../models/oDataErrors/deserializeIntoODataError';
import { serializeODataError } from '../../../models/oDataErrors/serializeODataError';
import { serializeInternetExplorerMode } from '../../../models/serializeInternetExplorerMode';
import { type InternetExplorerModeRequestBuilderDeleteRequestConfiguration } from './internetExplorerModeRequestBuilderDeleteRequestConfiguration';
import { type InternetExplorerModeRequestBuilderGetRequestConfiguration } from './internetExplorerModeRequestBuilderGetRequestConfiguration';
import { type InternetExplorerModeRequestBuilderPatchRequestConfiguration } from './internetExplorerModeRequestBuilderPatchRequestConfiguration';
import { createODataErrorFromDiscriminatorValue, deserializeIntoODataError, serializeODataError } from '../../../models/oDataErrors/oDataError';
import { SiteListsRequestBuilder } from './siteLists/siteListsRequestBuilder';
import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestOption } from '@microsoft/kiota-abstractions';

export interface InternetExplorerModeRequestBuilderDeleteRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
}
export interface InternetExplorerModeRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
export interface InternetExplorerModeRequestBuilderGetRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
/**
* Request query parameters
*/
queryParameters?: InternetExplorerModeRequestBuilderGetQueryParameters;
}
export interface InternetExplorerModeRequestBuilderPatchRequestConfiguration {
/**
* Request headers
*/
headers?: Record<string, string[]>;
/**
* Request options
*/
options?: RequestOption[];
}
/**
* Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity.
*/
Expand Down Expand Up @@ -139,3 +178,5 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder {
return new InternetExplorerModeRequestBuilder(rawUrl, this.requestAdapter);
};
}
// tslint:enable
// eslint-enable

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading