@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
43 lines (42 loc) • 1.81 kB
TypeScript
import { type AdditionalDataHolder, type Guid, 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 {RecordData}
*/
export declare function createRecordDataFromDiscriminatorValue(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 deserializeIntoRecordData(recordData?: Partial<RecordData> | undefined): Record<string, (node: ParseNode) => void>;
/**
* Information about a single tenant record
*/
export interface RecordData 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>;
/**
* List of object IDs that are allowed to access this record and related data.
*/
authorizedPrincipalList?: Guid[] | null;
/**
* Human readable name for the tenant record
*/
displayName?: string | null;
/**
* The object ID of the tenant that is considered a parent to this record
*/
parentId?: Guid | null;
/**
* The object ID of the tenant record
*/
tenantId?: Guid | null;
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeRecordData(writer: SerializationWriter, recordData?: Partial<RecordData> | undefined | null): void;