@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
77 lines • 4.45 kB
TypeScript
import { type BaseCollectionPaginationCountResponse, type EmailAddress } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @returns {FindRoomListsGetResponse}
*/
export declare function createFindRoomListsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
export declare function deserializeIntoFindRoomListsGetResponse(findRoomListsGetResponse?: Partial<FindRoomListsGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
export interface FindRoomListsGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
/**
* The value property
*/
value?: EmailAddress[] | null;
}
/**
* Provides operations to call the findRoomLists method.
*/
export interface FindRoomListsRequestBuilder extends BaseRequestBuilder<FindRoomListsRequestBuilder> {
/**
* Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<FindRoomListsGetResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<FindRoomListsRequestBuilderGetQueryParameters> | undefined): Promise<FindRoomListsGetResponse | undefined>;
/**
* Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FindRoomListsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list.
*/
export interface FindRoomListsRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Filter items by property values
*/
filter?: string;
/**
* Search items by search phrases
*/
search?: string;
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeFindRoomListsGetResponse(writer: SerializationWriter, findRoomListsGetResponse?: Partial<FindRoomListsGetResponse> | undefined | null): void;
/**
* Uri template for the request builder.
*/
export declare const FindRoomListsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/findRoomLists(){?%24count,%24filter,%24search,%24skip,%24top}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const FindRoomListsRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map