@microsoft/msgraph-beta-sdk-solutions
Version:
Solutions fluent API for Microsoft Graph
114 lines • 5.54 kB
TypeScript
import { type VirtualEventWebinar, type VirtualEventWebinarCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder } from './getByUserIdAndRoleWithUserIdWithRole/index.js';
import { type GetByUserRoleWithRoleRequestBuilder } from './getByUserRoleWithRole/index.js';
import { type VirtualEventWebinarItemRequestBuilder } from './item/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.
*/
export interface WebinarsRequestBuilder extends BaseRequestBuilder<WebinarsRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.
* @param virtualEventWebinarId The unique identifier of virtualEventWebinar
* @returns {VirtualEventWebinarItemRequestBuilder}
*/
byVirtualEventWebinarId(virtualEventWebinarId: string): VirtualEventWebinarItemRequestBuilder;
/**
* Get the list of all virtualEventWebinar objects created in a tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<VirtualEventWebinarCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/virtualeventsroot-list-webinars?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<WebinarsRequestBuilderGetQueryParameters> | undefined): Promise<VirtualEventWebinarCollectionResponse | undefined>;
/**
* Provides operations to call the getByUserIdAndRole method.
* @param role Usage: role='{role}'
* @param userId Usage: userId='{userId}'
* @returns {GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder}
*/
getByUserIdAndRoleWithUserIdWithRole(role: string | undefined, userId: string | undefined): GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder;
/**
* Provides operations to call the getByUserRole method.
* @param role Usage: role='{role}'
* @returns {GetByUserRoleWithRoleRequestBuilder}
*/
getByUserRoleWithRole(role: string | undefined): GetByUserRoleWithRoleRequestBuilder;
/**
* Create a new virtualEventWebinar object in draft mode.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<VirtualEventWebinar>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/virtualeventsroot-post-webinars?view=graph-rest-beta|Find more info here}
*/
post(body: VirtualEventWebinar, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<VirtualEventWebinar | undefined>;
/**
* Get the list of all virtualEventWebinar objects created in a tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<WebinarsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create a new virtualEventWebinar object in draft mode.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(body: VirtualEventWebinar, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get the list of all virtualEventWebinar objects created in a tenant.
*/
export interface WebinarsRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const WebinarsRequestBuilderUriTemplate = "{+baseurl}/solutions/virtualEvents/webinars{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const WebinarsRequestBuilderNavigationMetadata: Record<Exclude<keyof WebinarsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const WebinarsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map