@microsoft/msgraph-beta-sdk-users
Version:
Users fluent API for Microsoft Graph
77 lines • 4.43 kB
TypeScript
import { type BaseCollectionPaginationCountResponse, type LocaleInfo } 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 {SupportedLanguagesGetResponse}
*/
export declare function createSupportedLanguagesGetResponseFromDiscriminatorValue(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 deserializeIntoSupportedLanguagesGetResponse(supportedLanguagesGetResponse?: Partial<SupportedLanguagesGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeSupportedLanguagesGetResponse(writer: SerializationWriter, supportedLanguagesGetResponse?: Partial<SupportedLanguagesGetResponse> | undefined | null): void;
export interface SupportedLanguagesGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
/**
* The value property
*/
value?: LocaleInfo[] | null;
}
/**
* Provides operations to call the supportedLanguages method.
*/
export interface SupportedLanguagesRequestBuilder extends BaseRequestBuilder<SupportedLanguagesRequestBuilder> {
/**
* Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<SupportedLanguagesGetResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<SupportedLanguagesRequestBuilderGetQueryParameters> | undefined): Promise<SupportedLanguagesGetResponse | undefined>;
/**
* Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SupportedLanguagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings.
*/
export interface SupportedLanguagesRequestBuilderGetQueryParameters {
/**
* 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;
}
/**
* Uri template for the request builder.
*/
export declare const SupportedLanguagesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/outlook/supportedLanguages(){?%24count,%24filter,%24search,%24skip,%24top}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const SupportedLanguagesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map