UNPKG

@shi-corp/sdk-data-gateway

Version:

SDK client used to interface with the SHI Data Gateway service.

35 lines (34 loc) 1.59 kB
import { type AdditionalDataHolder, type Parsable, type ParseNode, 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 {Ring} */ export declare function createRingFromDiscriminatorValue(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 deserializeIntoRing(ring?: Partial<Ring> | undefined): Record<string, (node: ParseNode) => void>; /** * Object containing channel ring configuration. */ export interface Ring extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record<string, unknown>; /** * Flag that indicates if the ring should be operating off of the latest version number provided by the channel (`true`) or the previous (`false`). */ latest?: boolean | null; /** * Ring number that this configuration belongs to. */ number?: number | null; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeRing(writer: SerializationWriter, ring?: Partial<Ring> | undefined | null): void;