Skip to content

Commit

Permalink
Update generated files with build 128844
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Nov 14, 2023
1 parent 46da869 commit c80a357
Show file tree
Hide file tree
Showing 9,543 changed files with 26,017 additions and 17,100 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions src/admin/adminRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class AdminRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -145,7 +145,7 @@ export class AdminRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeAdmin);
return requestInfo;
};
Expand Down
6 changes: 3 additions & 3 deletions src/admin/edge/edgeRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.DELETE;
requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -146,7 +146,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -165,7 +165,7 @@ export class EdgeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeEdge);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.DELETE;
requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -146,7 +146,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -165,7 +165,7 @@ export class InternetExplorerModeRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeInternetExplorerMode);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.DELETE;
requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -163,7 +163,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -182,7 +182,7 @@ export class BrowserSiteListItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSiteList);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export interface PublishPostRequestBody extends AdditionalDataHolder, Parsable {
}
export function serializePublishPostRequestBody(writer: SerializationWriter, publishPostRequestBody: PublishPostRequestBody | undefined = {} as PublishPostRequestBody) : void {
writer.writeStringValue("revision", publishPostRequestBody.revision);
writer.writeCollectionOfObjectValues<BrowserSharedCookie>("sharedCookies", publishPostRequestBody.sharedCookies, );
writer.writeCollectionOfObjectValues<BrowserSite>("sites", publishPostRequestBody.sites, );
writer.writeCollectionOfObjectValues<BrowserSharedCookie>("sharedCookies", publishPostRequestBody.sharedCookies, serializeBrowserSharedCookie);
writer.writeCollectionOfObjectValues<BrowserSite>("sites", publishPostRequestBody.sites, serializeBrowserSite);
writer.writeAdditionalData(publishPostRequestBody.additionalData);
}
// tslint:enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class PublishRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.POST;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePublishPostRequestBody);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.DELETE;
requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -142,7 +142,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -161,7 +161,7 @@ export class BrowserSharedCookieItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSharedCookie);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class SharedCookiesRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -164,7 +164,7 @@ export class SharedCookiesRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.POST;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSharedCookie);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.DELETE;
requestInfo.tryAddRequestHeaders("Accept", "application/json, application/json");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -142,7 +142,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -161,7 +161,7 @@ export class BrowserSiteItemRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSite);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -164,7 +164,7 @@ export class SitesRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.POST;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSite);
return requestInfo;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class SiteListsRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -164,7 +164,7 @@ export class SiteListsRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.POST;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializeBrowserSiteList);
return requestInfo;
};
Expand Down
9 changes: 5 additions & 4 deletions src/admin/people/peopleRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ export class PeopleRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/admin/people{?%24select,%24expand}");
};
/**
* Get people from admin
* Retrieve the properties and relationships of a peopleAdminSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of PeopleAdminSettings
* @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: PeopleRequestBuilderGetRequestConfiguration | undefined) : Promise<PeopleAdminSettings | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand Down Expand Up @@ -91,7 +92,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<PeopleAdminSettings>(requestInfo, createPeopleAdminSettingsFromDiscriminatorValue, errorMapping);
};
/**
* Get people from admin
* Retrieve the properties and relationships of a peopleAdminSettings object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -105,7 +106,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.GET;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
return requestInfo;
};
/**
Expand All @@ -124,7 +125,7 @@ export class PeopleRequestBuilder extends BaseRequestBuilder {
requestInfo.urlTemplate = this.urlTemplate;
requestInfo.pathParameters = this.pathParameters;
requestInfo.httpMethod = HttpMethod.PATCH;
requestInfo.tryAddRequestHeaders("Accept", "application/json;q=1");
requestInfo.tryAddRequestHeaders("Accept", "application/json");
requestInfo.setContentFromParsable(this.requestAdapter, "application/json", body, serializePeopleAdminSettings);
return requestInfo;
};
Expand Down
Loading

0 comments on commit c80a357

Please sign in to comment.