@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
87 lines (86 loc) • 4.92 kB
TypeScript
import { type CorrelationRecord } from './licenseReport/index.js';
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 {LicenseReport_availableLicense}
*/
export declare function createLicenseReport_availableLicenseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
* 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 {LicenseReport_licenseData}
*/
export declare function createLicenseReport_licenseDataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
/**
* 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 {LicenseReport}
*/
export declare function createLicenseReportFromDiscriminatorValue(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 deserializeIntoLicenseReport(licenseReport?: Partial<LicenseReport> | undefined): Record<string, (node: ParseNode) => void>;
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
export declare function deserializeIntoLicenseReport_availableLicense(licenseReport_availableLicense?: Partial<LicenseReport_availableLicense> | undefined): Record<string, (node: ParseNode) => void>;
/**
* The deserialization information for the current model
* @returns {Record<string, (node: ParseNode) => void>}
*/
export declare function deserializeIntoLicenseReport_licenseData(licenseReport_licenseData?: Partial<LicenseReport_licenseData> | undefined): Record<string, (node: ParseNode) => void>;
/**
* Completely calculated license report structure that is the result of a complete run.
*/
export interface LicenseReport 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>;
/**
* Breakdown of the purchased licenses/service plans available in the tenant being audited for this run. Where the key is the ID of the service plan and the value is how many licenses are available/purchase for it.
*/
availableLicense?: LicenseReport_availableLicense | null;
/**
* Metadata that describes the execution session (run) that is used to tie/relate all of the license report together.
*/
correlation?: CorrelationRecord | null;
/**
* The licenseData property
*/
licenseData?: LicenseReport_licenseData | null;
}
/**
* Breakdown of the purchased licenses/service plans available in the tenant being audited for this run. Where the key is the ID of the service plan and the value is how many licenses are available/purchase for it.
*/
export interface LicenseReport_availableLicense 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>;
}
export interface LicenseReport_licenseData 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>;
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeLicenseReport(writer: SerializationWriter, licenseReport?: Partial<LicenseReport> | undefined | null): void;
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeLicenseReport_availableLicense(writer: SerializationWriter, licenseReport_availableLicense?: Partial<LicenseReport_availableLicense> | undefined | null): void;
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeLicenseReport_licenseData(writer: SerializationWriter, licenseReport_licenseData?: Partial<LicenseReport_licenseData> | undefined | null): void;