import { type Device, type PrivilegedDevice, type PrivilegedUser, type User } from '../managedObject/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 {Device | PrivilegedDevice} */ export declare function createManagedDevice_valueFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record 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 {ManagedDevice} */ export declare function createManagedDeviceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record 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 {ManagedPrivilegedDevice} */ export declare function createManagedPrivilegedDeviceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record 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 {ManagedPrivilegedUser} */ export declare function createManagedPrivilegedUserFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record 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 {PrivilegedUser | User} */ export declare function createManagedUser_valueFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record 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 {ManagedUser} */ export declare function createManagedUserFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param ManagedDevice The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedDevice(managedDevice?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ManagedDevice_value The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedDevice_value(managedDevice_value?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ManagedPrivilegedDevice The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedPrivilegedDevice(managedPrivilegedDevice?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ManagedPrivilegedUser The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedPrivilegedUser(managedPrivilegedUser?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ManagedUser The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedUser(managedUser?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ManagedUser_value The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoManagedUser_value(managedUser_value?: Partial | undefined): Record void>; export interface ManagedDevice extends AdditionalDataHolder, Parsable { /** * The OdataCount property */ odataCount?: number | null; /** * The OdataNextLink property */ odataNextLink?: string | null; /** * The value property */ value?: (Device | PrivilegedDevice)[] | null; } export type ManagedDevice_value = Device | PrivilegedDevice; export interface ManagedPrivilegedDevice extends AdditionalDataHolder, Parsable { /** * The OdataCount property */ odataCount?: number | null; /** * The OdataNextLink property */ odataNextLink?: string | null; /** * The value property */ value?: PrivilegedDevice[] | null; } export interface ManagedPrivilegedUser extends AdditionalDataHolder, Parsable { /** * The OdataCount property */ odataCount?: number | null; /** * The OdataNextLink property */ odataNextLink?: string | null; /** * The value property */ value?: PrivilegedUser[] | null; } export interface ManagedUser extends AdditionalDataHolder, Parsable { /** * The OdataCount property */ odataCount?: number | null; /** * The OdataNextLink property */ odataNextLink?: string | null; /** * The value property */ value?: (PrivilegedUser | User)[] | null; } export type ManagedUser_value = PrivilegedUser | User; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedDevice The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedDevice(writer: SerializationWriter, managedDevice?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedDevice_value The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedDevice_value(writer: SerializationWriter, managedDevice_value?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedPrivilegedDevice The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedPrivilegedDevice(writer: SerializationWriter, managedPrivilegedDevice?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedPrivilegedUser The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedPrivilegedUser(writer: SerializationWriter, managedPrivilegedUser?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedUser The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedUser(writer: SerializationWriter, managedUser?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param ManagedUser_value The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeManagedUser_value(writer: SerializationWriter, managedUser_value?: Partial | undefined | null, isSerializingDerivedType?: boolean): void;