UNPKG

@shi-corp/sdk-data-gateway

Version:

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

51 lines (50 loc) 2.25 kB
import { type AdditionalDataHolder, type Guid, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Metadata that describes the execution session (run) that is used to tie/relate all of the license report together. */ export interface CorrelationRecord 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>; /** * The user account used to retrieve the license information in the tenant being audited. */ auditTenantAccount?: string | null; /** * The ID of the execution session (run) that is used to tie/relate all of the data together. */ correlationId?: Guid | null; /** * Timestamp of when the report was created. */ createdAt?: Date | null; /** * User account used to store/report the license report to the SHI Lab cloud service. */ reportTenantAccount?: string | null; /** * Unique ID of customer's Microsoft tenant that the license report is for. */ tenantId?: Guid | null; /** * Timestamp of when the report was last updated. */ updatedAt?: Date | null; } /** * 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 {CorrelationRecord} */ export declare function createCorrelationRecordFromDiscriminatorValue(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 deserializeIntoCorrelationRecord(correlationRecord?: Partial<CorrelationRecord> | undefined): Record<string, (node: ParseNode) => void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeCorrelationRecord(writer: SerializationWriter, correlationRecord?: Partial<CorrelationRecord> | undefined | null): void;