UNPKG

@microsoft/msgraph-beta-sdk

Version:
1,037 lines 268 kB
/* tslint:disable */ /* eslint-disable */ // Generated by Microsoft Kiota // @ts-ignore import { createActionUrlFromDiscriminatorValue, createGenericErrorFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, deserializeIntoEntity, serializeActionUrl, serializeBaseCollectionPaginationCountResponse, serializeEntity, serializeGenericError } from '../index.js'; /** * 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 {AggregatedPolicyComplianceCollectionResponse} */ // @ts-ignore export function createAggregatedPolicyComplianceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAggregatedPolicyComplianceCollectionResponse; } /** * 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 {AggregatedPolicyCompliance} */ // @ts-ignore export function createAggregatedPolicyComplianceFromDiscriminatorValue(parseNode) { return deserializeIntoAggregatedPolicyCompliance; } /** * 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 {AlertData} */ // @ts-ignore export function createAlertDataFromDiscriminatorValue(parseNode) { return deserializeIntoAlertData; } /** * 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 {AlertDataReferenceString} */ // @ts-ignore export function createAlertDataReferenceStringFromDiscriminatorValue(parseNode) { return deserializeIntoAlertDataReferenceString; } /** * 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 {AlertLogContent} */ // @ts-ignore export function createAlertLogContentFromDiscriminatorValue(parseNode) { return deserializeIntoAlertLogContent; } /** * 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 {AlertRuleDefinitionTemplate} */ // @ts-ignore export function createAlertRuleDefinitionTemplateFromDiscriminatorValue(parseNode) { return deserializeIntoAlertRuleDefinitionTemplate; } /** * 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 {AppPerformanceCollectionResponse} */ // @ts-ignore export function createAppPerformanceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAppPerformanceCollectionResponse; } /** * 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 {AppPerformance} */ // @ts-ignore export function createAppPerformanceFromDiscriminatorValue(parseNode) { return deserializeIntoAppPerformance; } /** * 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 {AuditEventCollectionResponse} */ // @ts-ignore export function createAuditEventCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAuditEventCollectionResponse; } /** * 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 {AuditEvent} */ // @ts-ignore export function createAuditEventFromDiscriminatorValue(parseNode) { return deserializeIntoAuditEvent; } /** * 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 {CloudPcConnectionCollectionResponse} */ // @ts-ignore export function createCloudPcConnectionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcConnectionCollectionResponse; } /** * 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 {CloudPcConnection} */ // @ts-ignore export function createCloudPcConnectionFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcConnection; } /** * 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 {CloudPcDeviceCollectionResponse} */ // @ts-ignore export function createCloudPcDeviceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcDeviceCollectionResponse; } /** * 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 {CloudPcDevice} */ // @ts-ignore export function createCloudPcDeviceFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcDevice; } /** * 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 {CloudPcOverviewCollectionResponse} */ // @ts-ignore export function createCloudPcOverviewCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcOverviewCollectionResponse; } /** * 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 {CloudPcOverview} */ // @ts-ignore export function createCloudPcOverviewFromDiscriminatorValue(parseNode) { return deserializeIntoCloudPcOverview; } /** * 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 {ConditionalAccessPolicyCoverageCollectionResponse} */ // @ts-ignore export function createConditionalAccessPolicyCoverageCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoConditionalAccessPolicyCoverageCollectionResponse; } /** * 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 {ConditionalAccessPolicyCoverage} */ // @ts-ignore export function createConditionalAccessPolicyCoverageFromDiscriminatorValue(parseNode) { return deserializeIntoConditionalAccessPolicyCoverage; } /** * 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 {CredentialUserRegistrationsSummaryCollectionResponse} */ // @ts-ignore export function createCredentialUserRegistrationsSummaryCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoCredentialUserRegistrationsSummaryCollectionResponse; } /** * 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 {CredentialUserRegistrationsSummary} */ // @ts-ignore export function createCredentialUserRegistrationsSummaryFromDiscriminatorValue(parseNode) { return deserializeIntoCredentialUserRegistrationsSummary; } /** * 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 {DeviceAppPerformanceCollectionResponse} */ // @ts-ignore export function createDeviceAppPerformanceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceAppPerformanceCollectionResponse; } /** * 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 {DeviceAppPerformance} */ // @ts-ignore export function createDeviceAppPerformanceFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceAppPerformance; } /** * 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 {DeviceCompliancePolicySettingStateSummaryCollectionResponse} */ // @ts-ignore export function createDeviceCompliancePolicySettingStateSummaryCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceCompliancePolicySettingStateSummaryCollectionResponse; } /** * 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 {DeviceCompliancePolicySettingStateSummary} */ // @ts-ignore export function createDeviceCompliancePolicySettingStateSummaryFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceCompliancePolicySettingStateSummary; } /** * 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 {DeviceHealthStatusCollectionResponse} */ // @ts-ignore export function createDeviceHealthStatusCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceHealthStatusCollectionResponse; } /** * 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 {DeviceHealthStatus} */ // @ts-ignore export function createDeviceHealthStatusFromDiscriminatorValue(parseNode) { return deserializeIntoDeviceHealthStatus; } /** * 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 {Email} */ // @ts-ignore export function createEmailFromDiscriminatorValue(parseNode) { return deserializeIntoEmail; } /** * 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 {GraphAPIErrorDetails} */ // @ts-ignore export function createGraphAPIErrorDetailsFromDiscriminatorValue(parseNode) { return deserializeIntoGraphAPIErrorDetails; } /** * 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 {ManagedDeviceComplianceCollectionResponse} */ // @ts-ignore export function createManagedDeviceComplianceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedDeviceComplianceCollectionResponse; } /** * 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 {ManagedDeviceCompliance} */ // @ts-ignore export function createManagedDeviceComplianceFromDiscriminatorValue(parseNode) { return deserializeIntoManagedDeviceCompliance; } /** * 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 {ManagedDeviceComplianceTrendCollectionResponse} */ // @ts-ignore export function createManagedDeviceComplianceTrendCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedDeviceComplianceTrendCollectionResponse; } /** * 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 {ManagedDeviceComplianceTrend} */ // @ts-ignore export function createManagedDeviceComplianceTrendFromDiscriminatorValue(parseNode) { return deserializeIntoManagedDeviceComplianceTrend; } /** * 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 {ManagedTenantAlertCollectionResponse} */ // @ts-ignore export function createManagedTenantAlertCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertCollectionResponse; } /** * 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 {ManagedTenantAlert} */ // @ts-ignore export function createManagedTenantAlertFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlert; } /** * 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 {ManagedTenantAlertLogCollectionResponse} */ // @ts-ignore export function createManagedTenantAlertLogCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertLogCollectionResponse; } /** * 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 {ManagedTenantAlertLog} */ // @ts-ignore export function createManagedTenantAlertLogFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertLog; } /** * 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 {ManagedTenantAlertRuleCollectionResponse} */ // @ts-ignore export function createManagedTenantAlertRuleCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertRuleCollectionResponse; } /** * 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 {ManagedTenantAlertRuleDefinitionCollectionResponse} */ // @ts-ignore export function createManagedTenantAlertRuleDefinitionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertRuleDefinitionCollectionResponse; } /** * 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 {ManagedTenantAlertRuleDefinition} */ // @ts-ignore export function createManagedTenantAlertRuleDefinitionFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertRuleDefinition; } /** * 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 {ManagedTenantAlertRule} */ // @ts-ignore export function createManagedTenantAlertRuleFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantAlertRule; } /** * 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 {ManagedTenantApiNotificationCollectionResponse} */ // @ts-ignore export function createManagedTenantApiNotificationCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantApiNotificationCollectionResponse; } /** * 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 {ManagedTenantApiNotification} */ // @ts-ignore export function createManagedTenantApiNotificationFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantApiNotification; } /** * 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 {ManagedTenantEmailNotificationCollectionResponse} */ // @ts-ignore export function createManagedTenantEmailNotificationCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantEmailNotificationCollectionResponse; } /** * 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 {ManagedTenantEmailNotification} */ // @ts-ignore export function createManagedTenantEmailNotificationFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantEmailNotification; } /** * 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 {ManagedTenant} */ // @ts-ignore export function createManagedTenantFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenant; } /** * 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 {ManagedTenantTicketingEndpointCollectionResponse} */ // @ts-ignore export function createManagedTenantTicketingEndpointCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantTicketingEndpointCollectionResponse; } /** * 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 {ManagedTenantTicketingEndpoint} */ // @ts-ignore export function createManagedTenantTicketingEndpointFromDiscriminatorValue(parseNode) { return deserializeIntoManagedTenantTicketingEndpoint; } /** * 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 {ManagementActionCollectionResponse} */ // @ts-ignore export function createManagementActionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementActionCollectionResponse; } /** * 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 {ManagementActionDeploymentStatus} */ // @ts-ignore export function createManagementActionDeploymentStatusFromDiscriminatorValue(parseNode) { return deserializeIntoManagementActionDeploymentStatus; } /** * 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 {ManagementAction} */ // @ts-ignore export function createManagementActionFromDiscriminatorValue(parseNode) { return deserializeIntoManagementAction; } /** * 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 {ManagementActionInfo} */ // @ts-ignore export function createManagementActionInfoFromDiscriminatorValue(parseNode) { return deserializeIntoManagementActionInfo; } /** * 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 {ManagementActionTenantDeploymentStatusCollectionResponse} */ // @ts-ignore export function createManagementActionTenantDeploymentStatusCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementActionTenantDeploymentStatusCollectionResponse; } /** * 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 {ManagementActionTenantDeploymentStatus} */ // @ts-ignore export function createManagementActionTenantDeploymentStatusFromDiscriminatorValue(parseNode) { return deserializeIntoManagementActionTenantDeploymentStatus; } /** * 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 {ManagementIntentCollectionResponse} */ // @ts-ignore export function createManagementIntentCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementIntentCollectionResponse; } /** * 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 {ManagementIntent} */ // @ts-ignore export function createManagementIntentFromDiscriminatorValue(parseNode) { return deserializeIntoManagementIntent; } /** * 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 {ManagementIntentInfo} */ // @ts-ignore export function createManagementIntentInfoFromDiscriminatorValue(parseNode) { return deserializeIntoManagementIntentInfo; } /** * 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 {ManagementTemplateCollectionCollectionResponse} */ // @ts-ignore export function createManagementTemplateCollectionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateCollectionCollectionResponse; } /** * 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 {ManagementTemplateCollection} */ // @ts-ignore export function createManagementTemplateCollectionFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateCollection; } /** * 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 {ManagementTemplateCollectionResponse} */ // @ts-ignore export function createManagementTemplateCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateCollectionResponse; } /** * 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 {ManagementTemplateCollectionTenantSummaryCollectionResponse} */ // @ts-ignore export function createManagementTemplateCollectionTenantSummaryCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateCollectionTenantSummaryCollectionResponse; } /** * 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 {ManagementTemplateCollectionTenantSummary} */ // @ts-ignore export function createManagementTemplateCollectionTenantSummaryFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateCollectionTenantSummary; } /** * 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 {ManagementTemplateDetailedInfo} */ // @ts-ignore export function createManagementTemplateDetailedInfoFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateDetailedInfo; } /** * 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 {ManagementTemplate} */ // @ts-ignore export function createManagementTemplateFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplate; } /** * 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 {ManagementTemplateStepCollectionResponse} */ // @ts-ignore export function createManagementTemplateStepCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepCollectionResponse; } /** * 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 {ManagementTemplateStepDeploymentCollectionResponse} */ // @ts-ignore export function createManagementTemplateStepDeploymentCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepDeploymentCollectionResponse; } /** * 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 {ManagementTemplateStepDeployment} */ // @ts-ignore export function createManagementTemplateStepDeploymentFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepDeployment; } /** * 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 {ManagementTemplateStep} */ // @ts-ignore export function createManagementTemplateStepFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStep; } /** * 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 {ManagementTemplateStepTenantSummaryCollectionResponse} */ // @ts-ignore export function createManagementTemplateStepTenantSummaryCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepTenantSummaryCollectionResponse; } /** * 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 {ManagementTemplateStepTenantSummary} */ // @ts-ignore export function createManagementTemplateStepTenantSummaryFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepTenantSummary; } /** * 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 {ManagementTemplateStepVersionCollectionResponse} */ // @ts-ignore export function createManagementTemplateStepVersionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepVersionCollectionResponse; } /** * 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 {ManagementTemplateStepVersion} */ // @ts-ignore export function createManagementTemplateStepVersionFromDiscriminatorValue(parseNode) { return deserializeIntoManagementTemplateStepVersion; } /** * 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 {MyRoleCollectionResponse} */ // @ts-ignore export function createMyRoleCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoMyRoleCollectionResponse; } /** * 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 {MyRole} */ // @ts-ignore export function createMyRoleFromDiscriminatorValue(parseNode) { return deserializeIntoMyRole; } /** * 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 {NotificationTarget} */ // @ts-ignore export function createNotificationTargetFromDiscriminatorValue(parseNode) { return deserializeIntoNotificationTarget; } /** * 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 {RoleAssignment} */ // @ts-ignore export function createRoleAssignmentFromDiscriminatorValue(parseNode) { return deserializeIntoRoleAssignment; } /** * 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 {RoleDefinition} */ // @ts-ignore export function createRoleDefinitionFromDiscriminatorValue(parseNode) { return deserializeIntoRoleDefinition; } /** * 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 {Setting} */ // @ts-ignore export function createSettingFromDiscriminatorValue(parseNode) { return deserializeIntoSetting; } /** * 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 {TemplateParameter} */ // @ts-ignore export function createTemplateParameterFromDiscriminatorValue(parseNode) { return deserializeIntoTemplateParameter; } /** * 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 {TenantCollectionResponse} */ // @ts-ignore export function createTenantCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoTenantCollectionResponse; } /** * 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 {TenantContactInformation} */ // @ts-ignore export function createTenantContactInformationFromDiscriminatorValue(parseNode) { return deserializeIntoTenantContactInformation; } /** * 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 {TenantContract} */ // @ts-ignore export function createTenantContractFromDiscriminatorValue(parseNode) { return deserializeIntoTenantContract; } /** * 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 {TenantCustomizedInformationCollectionResponse} */ // @ts-ignore export function createTenantCustomizedInformationCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoTenantCustomizedInformationCollectionResponse; } /** * 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 {TenantCustomizedInformation} */ // @ts-ignore export function createTenantCustomizedInformationFromDiscriminatorValue(parseNode) { return deserializeIntoTenantCustomizedInformation; } /** * 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 {TenantDetailedInformationCollectionResponse} */ // @ts-ignore export function createTenantDetailedInformationCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoTenantDetailedInformationCollectionResponse; } /** * 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 {TenantDetailedInformation} */ // @ts-ignore export function createTenantDetailedInformationFromDiscriminatorValue(parseNode) { return deserializeIntoTenantDetailedInformation; } /** * 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 {Tenant} */ // @ts-ignore export function createTenantFromDiscriminatorValue(parseNode) { return deserializeIntoTenant; } /** * 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 {TenantGroupCollectionResponse} */ // @ts-ignore export function createTenantGroupCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoTenantGroupCollectionResponse; } /** * 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 {TenantGroup} */ // @ts-ignore export function createTenantGroupFromDiscriminatorValue(parseNode) { return deserializeIntoTenantGroup; } /** * 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 {TenantInfo} */ // @ts-ignore export function createTenantInfoFromDiscriminatorValue(parseNode) { return deserializeIntoTenantInfo; } /** * 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 {TenantStatusInformation} */ // @ts-ignore export function createTenantStatusInformationFromDiscriminatorValue(parseNode) { return deserializeIntoTenantStatusInformation; } /** * 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 {TenantTagCollectionResponse} */ // @ts-ignore export function createTenantTagCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoTenantTagCollectionResponse; } /** * 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 {TenantTag} */ // @ts-ignore export function createTenantTagFromDiscriminatorValue(parseNode) { return deserializeIntoTenantTag; } /** * 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 {WindowsDeviceMalwareStateCollectionResponse} */ // @ts-ignore export function createWindowsDeviceMalwareStateCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoWindowsDeviceMalwareStateCollectionResponse; } /** * 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 {WindowsDeviceMalwareState} */ // @ts-ignore export function createWindowsDeviceMalwareStateFromDiscriminatorValue(parseNode) { return deserializeIntoWindowsDeviceMalwareState; } /** * 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 {WindowsProtectionStateCollectionResponse} */ // @ts-ignore export function createWindowsProtectionStateCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoWindowsProtectionStateCollectionResponse; } /** * 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 {WindowsProtectionState} */ // @ts-ignore export function createWindowsProtectionStateFromDiscriminatorValue(parseNode) { return deserializeIntoWindowsProtectionState; } /** * 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 {WorkloadActionDeploymentStatus} */ // @ts-ignore export function createWorkloadActionDeploymentStatusFromDiscriminatorValue(parseNode) { return deserializeIntoWorkloadActionDeploymentStatus; } /** * 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 {WorkloadAction} */ // @ts-ignore export function createWorkloadActionFromDiscriminatorValue(parseNode) { return deserializeIntoWorkloadAction; } /** * 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 {WorkloadStatus} */ // @ts-ignore export function createWorkloadStatusFromDiscriminatorValue(parseNode) { return deserializeIntoWorkloadStatus; } /** * The deserialization information for the current model * @param AggregatedPolicyCompliance The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAggregatedPolicyCompliance(aggregatedPolicyCompliance = {}) { return Object.assign(Object.assign({}, deserializeIntoEntity(aggregatedPolicyCompliance)), { "compliancePolicyId": n => { aggregatedPolicyCompliance.compliancePolicyId = n.getStringValue(); }, "compliancePolicyName": n => { aggregatedPolicyCompliance.compliancePolicyName = n.getStringValue(); }, "compliancePolicyPlatform": n => { aggregatedPolicyCompliance.compliancePolicyPlatform = n.getStringValue(); }, "compliancePolicyType": n => { aggregatedPolicyCompliance.compliancePolicyType = n.getStringValue(); }, "lastRefreshedDateTime": n => { aggregatedPolicyCompliance.lastRefreshedDateTime = n.getDateValue(); }, "numberOfCompliantDevices": n => { aggregatedPolicyCompliance.numberOfCompliantDevices = n.getNumberValue(); }, "numberOfErrorDevices": n => { aggregatedPolicyCompliance.numberOfErrorDevices = n.getNumberValue(); }, "numberOfNonCompliantDevices": n => { aggregatedPolicyCompliance.numberOfNonCompliantDevices = n.getNumberValue(); }, "policyModifiedDateTime": n => { aggregatedPolicyCompliance.policyModifiedDateTime = n.getDateValue(); }, "tenantDisplayName": n => { aggregatedPolicyCompliance.tenantDisplayName = n.getStringValue(); }, "tenantId": n => { aggregatedPolicyCompliance.tenantId = n.getStringValue(); } }); } /** * The deserialization information for the current model * @param AggregatedPolicyComplianceCollectionResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAggregatedPolicyComplianceCollectionResponse(aggregatedPolicyComplianceCollectionResponse = {}) { return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(aggregatedPolicyComplianceCollectionResponse)), { "value": n => { aggregatedPolicyComplianceCollectionResponse.value = n.getCollectionOfObjectValues(createAggregatedPolicyComplianceFromDiscriminatorValue); } }); } /** * The deserialization information for the current model * @param AlertData The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAlertData(alertData = {}) { return { "backingStoreEnabled": n => { alertData.backingStoreEnabled = true; }, "displayName": n => { alertData.displayName = n.getStringValue(); }, "@odata.type": n => { alertData.odataType = n.getStringValue(); }, }; } /** * The deserialization information for the current model * @param AlertDataReferenceString The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAlertDataReferenceString(alertDataReferenceString = {}) { return { "backingStoreEnabled": n => { alertDataReferenceString.backingStoreEnabled = true; }, "displayName": n => { alertDataReferenceString.displayName = n.getStringValue(); }, "@odata.type": n => { alertDataReferenceString.odataType = n.getStringValue(); }, }; } /** * The deserialization information for the current model * @param AlertLogContent The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAlertLogContent(alertLogContent = {}) { return { "backingStoreEnabled": n => { alertLogContent.backingStoreEnabled = true; }, "displayName": n => { alertLogContent.displayName = n.getStringValue(); }, "@odata.type": n => { alertLogContent.odataType = n.getStringValue(); }, }; } /** * The deserialization information for the current model * @param AlertRuleDefinitionTemplate The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAlertRuleDefinitionTemplate(alertRuleDefinitionTemplate = {}) { return { "backingStoreEnabled": n => { alertRuleDefinitionTemplate.backingStoreEnabled = true; }, "defaultSeverity": n => { alertRuleDefinitionTemplate.defaultSeverity = n.getEnumValue(AlertSeverityObject); }, "@odata.type": n => { alertRuleDefinitionTemplate.odataType = n.getStringValue(); }, }; } /** * The deserialization information for the current model * @param AppPerformance The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAppPerformance(appPerformance = {}) { return Object.assign(Object.assign({}, deserializeIntoEntity(appPerformance)), { "appFriendlyName": n => { appPerformance.appFriendlyName = n.getStringValue(); }, "appName": n => { appPerformance.appName = n.getStringValue(); }, "appPublisher": n => { appPerformance.appPublisher = n.getStringValue(); }, "lastUpdatedDateTime": n => { appPerformance.lastUpdatedDateTime = n.getDateValue(); }, "meanTimeToFailureInMinutes": n => { appPerformance.meanTimeToFailureInMinutes = n.getNumberValue(); }, "tenantDisplayName": n => { appPerformance.tenantDisplayName = n.getStringValue(); }, "tenantId": n => { appPerformance.tenantId = n.getStringValue(); }, "totalActiveDeviceCount": n => { appPerformance.totalActiveDeviceCount = n.getNumberValue(); }, "totalAppCrashCount": n => { appPerformance.totalAppCrashCount = n.getNumberValue(); }, "totalAppFreezeCount": n => { appPerformance.totalAppFreezeCount = n.getNumberValue(); } }); } /** * The deserialization information for the current model * @param AppPerformanceCollectionResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAppPerformanceCollectionResponse(appPerformanceCollectionResponse = {}) { return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(appPerformanceCollectionResponse)), { "value": n => { appPerformanceCollectionResponse.value = n.getCollectionOfObjectValues(createAppPerformanceFromDiscriminatorValue); } }); } /** * The deserialization information for the current model * @param AuditEvent The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAuditEvent(auditEvent = {}) { return Object.assign(Object.assign({}, deserializeIntoEntity(auditEvent)), { "activity": n => { auditEvent.activity = n.getStringValue(); }, "activityDateTime": n => { auditEvent.activityDateTime = n.getDateValue(); }, "activityId": n => { auditEvent.activityId = n.getStringValue(); }, "category": n => { auditEvent.category = n.getStringValue(); }, "httpVerb": n => { auditEvent.httpVerb = n.getStringValue(); }, "initiatedByAppId": n => { auditEvent.initiatedByAppId = n.getStringValue(); }, "initiatedByUpn": n => { auditEvent.initiatedByUpn = n.getStringValue(); }, "initiatedByUserId": n => { auditEvent.initiatedByUserId = n.getStringValue(); }, "ipAddress": n => { auditEvent.ipAddress = n.getStringValue(); }, "requestBody": n => { auditEvent.requestBody = n.getStringValue(); }, "requestUrl": n => { auditEvent.requestUrl = n.getStringValue(); }, "tenantIds": n => { auditEvent.tenantIds = n.getStringValue(); }, "tenantNames": n => { auditEvent.tenantNames = n.getStringValue(); } }); } /** * The deserialization information for the current model * @param AuditEventCollectionResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoAuditEventCollectionResponse(auditEventCollectionResponse = {}) { return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(auditEventCollectionResponse)), { "value": n => { auditEventCollectionResponse.value = n.getCollectionOfObjectValues(createAuditEventFromDiscriminatorValue); } }); } /** * The deserialization information for the current model * @param CloudPcConnection The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoCloudPcConnection(cloudPcConnection = {}) { return Object.assign(Object.assign({}, deserializeIntoEntity(cloudPcConnection)), { "displayName": n => { cloudPcConnection.displayName = n.getStringValue(); }, "healthCheckStatus": n => { cloudPcConnection.healthCheckStatus = n.getStringValue(); }, "lastRefreshedDateTime": n => { cloudPcConnection.lastRefreshedDateTime = n.getDateValue(); }, "tenantDisplayName": n => { cloudPcConnection.tenantDisplayName = n.getStringValue(); }, "tenantId": n => { cloudPcConnection.tenantId = n.getStringValue(); } }); } /** * The deserialization information for the current model * @param CloudPcConnectionCollectionResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoCloudPcConnectionCollectionResponse(cloudPcConnectionCollectionResponse = {}) { return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(cloudPcConnectionCollectionResponse)), { "value": n => { cloudPcConnectionCollectionResponse.value = n.getCollectionOfObjectValues(createCloudPcConnectionFromDiscriminatorValue); } }); } /** * The deserialization information for the current model * @param CloudPcDevice The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoCloudPcDevice(cloudPcDevice = {}) { return Object.assign(Object.assign({}, deserializeIntoEntity(cloudPcDevice)), { "cloudPcStatus": n => { cloudPcDevice.cloudPcStatus = n.getStringValue(); }, "deviceSpecification": n => { cloudPcDevice.deviceSpecification = n.getStringValue(); }, "displayName": n => { cloudPcDevice.displayName = n.getStringValue(); }, "lastRefreshedDateTime": n => { cloudPcDevice.lastRefreshedDateTime = n.getDateValue(); }, "managedDeviceId": n => { cloudPcDevice.managedDeviceId = n.getStringValue(); }, "managedDeviceName": n => { cloudPcDevice.managedDeviceName = n.getStringValue(); }, "provisioningPolicyId": n => { cloudPcDevice.provisioningPolicyId = n.getStringValue(); }, "servicePlanName": n => { cloudPcDevice.servicePlanName = n.getStringValue(); }, "servicePlanType": n => { cloudPcDevice.servicePlanType = n.getStringValue(); }, "tenantDisplayName": n => { cloudPcDevice.tenantDisplayName = n.getStringValue(); }, "tenantId": n => { cloudPcDevice.tenantId = n.getStringValue(); }, "userPrincipalName": n => { cloudPcDevice.userPrincipalName = n.getStringValue(); } }); } /** * The deserialization information for the current model * @param CloudPcDeviceCollectionResponse The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ // @ts-ignore export function deserializeIntoCloudPcDeviceCollectionResponse(cloudPcDeviceCollectionResponse = {}) { return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(cloudPcDeviceCollectionResponse)), { "value"