UNPKG

@microsoft/kiota-serialization-form

Version:

Implementation of Kiota Serialization interfaces for URI from encoded

38 lines 2.02 kB
/** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ import { BackingStoreFactory, DateOnly, Duration, type Parsable, type ParsableFactory, type ParseNode, TimeOnly } from "@microsoft/kiota-abstractions"; export declare class FormParseNode implements ParseNode { private readonly _rawString; private readonly backingStoreFactory?; private readonly _fields; /** * Creates a new instance of FormParseNode * @param _rawString the raw string to parse * @param backingStoreFactory the factory to create backing stores */ constructor(_rawString: string, backingStoreFactory?: BackingStoreFactory | undefined); private readonly normalizeKey; getByteArrayValue(): ArrayBuffer | undefined; onBeforeAssignFieldValues: ((value: Parsable) => void) | undefined; onAfterAssignFieldValues: ((value: Parsable) => void) | undefined; getStringValue: () => string; getChildNode: (identifier: string) => ParseNode | undefined; getBooleanValue: () => boolean | undefined; getNumberValue: () => number; getGuidValue: () => string | undefined; getDateValue: () => Date; getDateOnlyValue: () => DateOnly | undefined; getTimeOnlyValue: () => TimeOnly | undefined; getDurationValue: () => Duration | undefined; getCollectionOfPrimitiveValues: <T>() => T[] | undefined; getCollectionOfObjectValues: <T extends Parsable>(parsableFactory: ParsableFactory<T>) => T[] | undefined; getObjectValue: <T extends Parsable>(parsableFactory: ParsableFactory<T>) => T; getCollectionOfEnumValues: <T>(type: any) => T[]; getEnumValue: <T>(type: any) => T | undefined; private readonly assignFieldValues; } //# sourceMappingURL=formParseNode.d.ts.map