@shi-corp/sdk-data-gateway
Version:
SDK client used to interface with the SHI Data Gateway service.
95 lines (94 loc) • 3.54 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 {Shield}
*/
export declare function createShieldFromDiscriminatorValue(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 deserializeIntoShield(shield?: Partial<Shield> | undefined): Record<string, (node: ParseNode) => void>;
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
export declare function serializeShield(writer: SerializationWriter, shield?: Partial<Shield> | undefined | null): void;
/**
* Record that describes the purchased licenses for a specific tenant. More than one of these can be active at a single time.
*/
export interface Shield 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>;
/**
* Used to correlate the license entitlements with other records.
*/
correlationId?: Guid | null;
/**
* Count of Enterprise Devices that are allowed to be managed.
*/
enterpriseDeviceCount?: number | null;
/**
* Count of Enterprise Interfaces that are allowed to be managed.
*/
enterpriseInterfaceCount?: number | null;
/**
* Count of Enterprise Intermediaries that are allowed to be managed.
*/
enterpriseIntermediaryCount?: number | null;
/**
* Count of Enterprise Users that are allowed to be managed.
*/
enterpriseUserCount?: number | null;
/**
* Date that the entitlement expires at.
*/
notValidAfter?: Date | null;
/**
* Date that the entitlement becomes active at.
*/
notValidBefore?: Date | null;
/**
* Count of Privileged Devices (PAW) that are allowed to be managed.
*/
privilegedDeviceCount?: number | null;
/**
* Count of Privileged Interfaces that are allowed to be managed.
*/
privilegedInterfaceCount?: number | null;
/**
* Count of Privileged Intermediaries that are allowed to be managed.
*/
privilegedIntermediaryCount?: number | null;
/**
* Count of Privileged Users that are allowed to be managed.
*/
privilegedUserCount?: number | null;
/**
* This could be any value used to correlate the purchase operation to this entitlement record.
*/
purchaseId?: string | null;
/**
* Count of Specialized Devices that are allowed to be managed.
*/
specializedDeviceCount?: number | null;
/**
* Count of Specialized Interfaces that are allowed to be managed.
*/
specializedInterfaceCount?: number | null;
/**
* Count of Specialized Intermediaries that are allowed to be managed.
*/
specializedIntermediaryCount?: number | null;
/**
* Count of Specialized Users that are allowed to be managed.
*/
specializedUserCount?: number | null;
/**
* Tenant that this license entitlement is valid for.
*/
tenantId?: Guid | null;
}