Skip to content

Commit

Permalink
Update generated files with build 128432
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 7, 2023
1 parent 65b3327 commit a9a9dd4
Show file tree
Hide file tree
Showing 2,713 changed files with 8,869 additions and 5,560 deletions.
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
5 changes: 3 additions & 2 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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}");
};
/**
* Delete navigation property profileCardProperties for admin
* Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-1.0|Find more info here}
*/
public delete(requestConfiguration?: ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration | undefined) : Promise<void> {
const requestInfo = this.toDeleteRequestInformation(
Expand All @@ -77,9 +78,10 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendNoResponseContentAsync(requestInfo, errorMapping);
};
/**
* Get profileCardProperties from admin
* Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ProfileCardProperty
* @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ProfileCardPropertyItemRequestBuilderGetRequestConfiguration | undefined) : Promise<ProfileCardProperty | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -92,10 +94,11 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ProfileCardProperty>(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping);
};
/**
* Update the navigation property profileCardProperties in admin
* Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ProfileCardProperty
* @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-1.0|Find more info here}
*/
public patch(body: ProfileCardProperty, requestConfiguration?: ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration | undefined) : Promise<ProfileCardProperty | undefined> {
const requestInfo = this.toPatchRequestInformation(
Expand All @@ -108,7 +111,7 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ProfileCardProperty>(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping);
};
/**
* Delete navigation property profileCardProperties for admin
* Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -125,7 +128,7 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Get profileCardProperties from admin
* Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -143,7 +146,7 @@ export class ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Update the navigation property profileCardProperties in admin
* Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
* @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 @@ -98,9 +98,10 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/admin/people/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}");
};
/**
* Get profileCardProperties from admin
* Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ProfileCardPropertyCollectionResponse
* @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0|Find more info here}
*/
public get(requestConfiguration?: ProfileCardPropertiesRequestBuilderGetRequestConfiguration | undefined) : Promise<ProfileCardPropertyCollectionResponse | undefined> {
const requestInfo = this.toGetRequestInformation(
Expand All @@ -113,10 +114,11 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ProfileCardPropertyCollectionResponse>(requestInfo, createProfileCardPropertyCollectionResponseFromDiscriminatorValue, errorMapping);
};
/**
* Create new navigation property to profileCardProperties for admin
* Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of ProfileCardProperty
* @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0|Find more info here}
*/
public post(body: ProfileCardProperty, requestConfiguration?: ProfileCardPropertiesRequestBuilderPostRequestConfiguration | undefined) : Promise<ProfileCardProperty | undefined> {
const requestInfo = this.toPostRequestInformation(
Expand All @@ -129,7 +131,7 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<ProfileCardProperty>(requestInfo, createProfileCardPropertyFromDiscriminatorValue, errorMapping);
};
/**
* Get profileCardProperties from admin
* Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand All @@ -147,7 +149,7 @@ export class ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder {
return requestInfo;
};
/**
* Create new navigation property to profileCardProperties for admin
* Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
* @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/appCatalogs/teamsApps/item/teamsAppItemRequestBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder {
super(pathParameters, requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}");
};
/**
* This API is available in the following national cloud deployments.
* Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @see {@link https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0|Find more info here}
*/
Expand Down Expand Up @@ -116,7 +116,7 @@ export class TeamsAppItemRequestBuilder extends BaseRequestBuilder {
return this.requestAdapter.sendAsync<TeamsApp>(requestInfo, createTeamsAppFromDiscriminatorValue, errorMapping);
};
/**
* This API is available in the following national cloud deployments.
* Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
*/
Expand Down
2 changes: 1 addition & 1 deletion src/applications/delta/deltaGetResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function deserializeIntoDeltaGetResponse(deltaGetResponse: DeltaGetRespon
}
export function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse: DeltaGetResponse | undefined = {} as DeltaGetResponse) : void {
serializeBaseDeltaFunctionResponse(writer, deltaGetResponse)
writer.writeCollectionOfObjectValues<Application>("value", deltaGetResponse.value, );
writer.writeCollectionOfObjectValues<Application>("value", deltaGetResponse.value, serializeApplication);
}
// tslint:enable
// eslint-enable
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetAvailableExtensionPropertiesPostResponse extends BaseCollect
}
export function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse: GetAvailableExtensionPropertiesPostResponse | undefined = {} as GetAvailableExtensionPropertiesPostResponse) : void {
serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse)
writer.writeCollectionOfObjectValues<ExtensionProperty>("value", getAvailableExtensionPropertiesPostResponse.value, );
writer.writeCollectionOfObjectValues<ExtensionProperty>("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty);
}
// tslint:enable
// eslint-enable
2 changes: 1 addition & 1 deletion src/applications/getByIds/getByIdsPostResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface GetByIdsPostResponse extends BaseCollectionPaginationCountRespo
}
export function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse: GetByIdsPostResponse | undefined = {} as GetByIdsPostResponse) : void {
serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse)
writer.writeCollectionOfObjectValues<DirectoryObject>("value", getByIdsPostResponse.value, );
writer.writeCollectionOfObjectValues<DirectoryObject>("value", getByIdsPostResponse.value, serializeDirectoryObject);
}
// tslint:enable
// eslint-enable
4 changes: 2 additions & 2 deletions src/applications/item/addKey/addKeyPostRequestBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export function deserializeIntoAddKeyPostRequestBody(addKeyPostRequestBody: AddK
}
}
export function serializeAddKeyPostRequestBody(writer: SerializationWriter, addKeyPostRequestBody: AddKeyPostRequestBody | undefined = {} as AddKeyPostRequestBody) : void {
writer.writeObjectValue<KeyCredential>("keyCredential", addKeyPostRequestBody.keyCredential, );
writer.writeObjectValue<PasswordCredential>("passwordCredential", addKeyPostRequestBody.passwordCredential, );
writer.writeObjectValue<KeyCredential>("keyCredential", addKeyPostRequestBody.keyCredential, serializeKeyCredential);
writer.writeObjectValue<PasswordCredential>("passwordCredential", addKeyPostRequestBody.passwordCredential, serializePasswordCredential);
writer.writeStringValue("proof", addKeyPostRequestBody.proof);
writer.writeAdditionalData(addKeyPostRequestBody.additionalData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function deserializeIntoAddPasswordPostRequestBody(addPasswordPostRequest
}
}
export function serializeAddPasswordPostRequestBody(writer: SerializationWriter, addPasswordPostRequestBody: AddPasswordPostRequestBody | undefined = {} as AddPasswordPostRequestBody) : void {
writer.writeObjectValue<PasswordCredential>("passwordCredential", addPasswordPostRequestBody.passwordCredential, );
writer.writeObjectValue<PasswordCredential>("passwordCredential", addPasswordPostRequestBody.passwordCredential, serializePasswordCredential);
writer.writeAdditionalData(addPasswordPostRequestBody.additionalData);
}
// tslint:enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function deserializeIntoAcquireAccessTokenPostRequestBody(acquireAccessTo
}
}
export function serializeAcquireAccessTokenPostRequestBody(writer: SerializationWriter, acquireAccessTokenPostRequestBody: AcquireAccessTokenPostRequestBody | undefined = {} as AcquireAccessTokenPostRequestBody) : void {
writer.writeCollectionOfObjectValues<SynchronizationSecretKeyStringValuePair>("credentials", acquireAccessTokenPostRequestBody.credentials, );
writer.writeCollectionOfObjectValues<SynchronizationSecretKeyStringValuePair>("credentials", acquireAccessTokenPostRequestBody.credentials, serializeSynchronizationSecretKeyStringValuePair);
writer.writeAdditionalData(acquireAccessTokenPostRequestBody.additionalData);
}
// tslint:enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ProvisionOnDemandPostRequestBody extends AdditionalDataHolder,
parameters?: SynchronizationJobApplicationParameters[];
}
export function serializeProvisionOnDemandPostRequestBody(writer: SerializationWriter, provisionOnDemandPostRequestBody: ProvisionOnDemandPostRequestBody | undefined = {} as ProvisionOnDemandPostRequestBody) : void {
writer.writeCollectionOfObjectValues<SynchronizationJobApplicationParameters>("parameters", provisionOnDemandPostRequestBody.parameters, );
writer.writeCollectionOfObjectValues<SynchronizationJobApplicationParameters>("parameters", provisionOnDemandPostRequestBody.parameters, serializeSynchronizationJobApplicationParameters);
writer.writeAdditionalData(provisionOnDemandPostRequestBody.additionalData);
}
// tslint:enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface RestartPostRequestBody extends AdditionalDataHolder, Parsable {
criteria?: SynchronizationJobRestartCriteria;
}
export function serializeRestartPostRequestBody(writer: SerializationWriter, restartPostRequestBody: RestartPostRequestBody | undefined = {} as RestartPostRequestBody) : void {
writer.writeObjectValue<SynchronizationJobRestartCriteria>("criteria", restartPostRequestBody.criteria, );
writer.writeObjectValue<SynchronizationJobRestartCriteria>("criteria", restartPostRequestBody.criteria, serializeSynchronizationJobRestartCriteria);
writer.writeAdditionalData(restartPostRequestBody.additionalData);
}
// tslint:enable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface FilterOperatorsGetResponse extends BaseCollectionPaginationCoun
}
export function serializeFilterOperatorsGetResponse(writer: SerializationWriter, filterOperatorsGetResponse: FilterOperatorsGetResponse | undefined = {} as FilterOperatorsGetResponse) : void {
serializeBaseCollectionPaginationCountResponse(writer, filterOperatorsGetResponse)
writer.writeCollectionOfObjectValues<FilterOperatorSchema>("value", filterOperatorsGetResponse.value, );
writer.writeCollectionOfObjectValues<FilterOperatorSchema>("value", filterOperatorsGetResponse.value, serializeFilterOperatorSchema);
}
// tslint:enable
// eslint-enable
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface FunctionsGetResponse extends BaseCollectionPaginationCountRespo
}
export function serializeFunctionsGetResponse(writer: SerializationWriter, functionsGetResponse: FunctionsGetResponse | undefined = {} as FunctionsGetResponse) : void {
serializeBaseCollectionPaginationCountResponse(writer, functionsGetResponse)
writer.writeCollectionOfObjectValues<AttributeMappingFunctionSchema>("value", functionsGetResponse.value, );
writer.writeCollectionOfObjectValues<AttributeMappingFunctionSchema>("value", functionsGetResponse.value, serializeAttributeMappingFunctionSchema);
}
// tslint:enable
// eslint-enable
Loading

0 comments on commit a9a9dd4

Please sign in to comment.