/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("id", Id); writer.WriteStringValue("targetedAuthenticationMethod", TargetedAuthenticationMethod); writer.WriteEnumValue <AuthenticationMethodTargetType>("targetType", TargetType); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("originalQueryString", OriginalQueryString); writer.WriteObjectValue <SearchAlteration>("queryAlteration", QueryAlteration); writer.WriteEnumValue <SearchAlterationType>("queryAlterationType", QueryAlterationType); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("message", Message); writer.WriteTimeSpanValue("offset", Offset); writer.WriteEnumValue <BookingReminderRecipients>("recipients", Recipients); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue <InstallIntent>("intent", Intent); writer.WriteObjectValue <MobileAppAssignmentSettings>("settings", Settings); writer.WriteObjectValue <DeviceAndAppManagementAssignmentTarget>("target", Target); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteDateTimeOffsetValue("lastActionDateTime", LastActionDateTime); writer.WriteEnumValue <OperationStatus>("status", Status); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue <IdentitySet>("identity", Identity); writer.WriteEnumValue <OnlineMeetingRole>("role", Role); writer.WriteStringValue("upn", Upn); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("description", Description); writer.WriteCollectionOfEnumValues <PrinterProcessingStateDetail>("details", Details); writer.WriteEnumValue <PrinterProcessingState>("state", State); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); writer.WriteEnumValue <ScheduleEntityTheme>("theme", Theme); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues <ServiceHealthIssue>("issues", Issues); writer.WriteStringValue("service", Service); writer.WriteEnumValue <ServiceHealthStatus>("status", Status); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("containerId", ContainerId); writer.WriteEnumValue <PlannerContainerType>("type", Type); writer.WriteStringValue("url", Url); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("address", Address); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue <WebsiteType>("type", Type); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("applicationName", ApplicationName); writer.WriteEnumValue <ApplicationType>("applicationType", ApplicationType); writer.WriteIntValue("deviceCount", DeviceCount); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue <IdentitySet>("final", Final); writer.WriteObjectValue <IdentitySet>("original", Original); writer.WriteEnumValue <RoutingType>("routingType", RoutingType); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue <TimeOffReasonIconType>("iconType", IconType); writer.WriteBoolValue("isActive", IsActive); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteIntValue("daysWithoutContactBeforeUnenroll", DaysWithoutContactBeforeUnenroll); writer.WriteStringValue("mdmEnrollmentUrl", MdmEnrollmentUrl); writer.WriteIntValue("minutesOfInactivityBeforeDeviceLock", MinutesOfInactivityBeforeDeviceLock); writer.WriteIntValue("numberOfPastPinsRemembered", NumberOfPastPinsRemembered); writer.WriteIntValue("passwordMaximumAttemptCount", PasswordMaximumAttemptCount); writer.WriteIntValue("pinExpirationDays", PinExpirationDays); writer.WriteEnumValue <WindowsInformationProtectionPinCharacterRequirements>("pinLowercaseLetters", PinLowercaseLetters); writer.WriteIntValue("pinMinimumLength", PinMinimumLength); writer.WriteEnumValue <WindowsInformationProtectionPinCharacterRequirements>("pinSpecialCharacters", PinSpecialCharacters); writer.WriteEnumValue <WindowsInformationProtectionPinCharacterRequirements>("pinUppercaseLetters", PinUppercaseLetters); writer.WriteBoolValue("revokeOnMdmHandoffDisabled", RevokeOnMdmHandoffDisabled); writer.WriteBoolValue("windowsHelloForBusinessBlocked", WindowsHelloForBusinessBlocked); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue <PermissionClassificationType>("classification", Classification); writer.WriteStringValue("permissionId", PermissionId); writer.WriteStringValue("permissionName", PermissionName); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfPrimitiveValues <string>("receivers", Receivers); writer.WriteEnumValue <RoutingMode>("routingMode", RoutingMode); writer.WriteCollectionOfPrimitiveValues <string>("sources", Sources); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("message", Message); writer.WriteEnumValue <ThreatAssessmentResultType>("resultType", ResultType); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteTimeSpanValue("duration", Duration); writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime); writer.WriteEnumValue <ExpirationPatternType>("type", Type); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteEnumValue <AnswerInputType>("answerInputType", AnswerInputType); writer.WriteCollectionOfPrimitiveValues <string>("answerOptions", AnswerOptions); writer.WriteStringValue("displayName", DisplayName); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteObjectValue <ApiSdk.Models.Device>("device", Device); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue <AuthenticationMethodKeyStrength>("keyStrength", KeyStrength); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue <Term>("fromTerm", FromTerm); writer.WriteEnumValue <RelationType>("relationship", Relationship); writer.WriteObjectValue <ApiSdk.Models.TermStore.Set>("set", Set); writer.WriteObjectValue <Term>("toTerm", ToTerm); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("displayName", DisplayName); writer.WriteDateTimeOffsetValue("lastConnectionDateTime", LastConnectionDateTime); writer.WriteEnumValue <RemoteAssistanceOnboardingStatus>("onboardingStatus", OnboardingStatus); writer.WriteStringValue("onboardingUrl", OnboardingUrl); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("displayName", DisplayName); writer.WriteDateTimeOffsetValue("lastAccessedTime", LastAccessedTime); writer.WriteObjectValue <RecentNotebookLinks>("links", Links); writer.WriteEnumValue <OnenoteSourceService>("sourceService", SourceService); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue <DateTimeTimeZone>("completedDateTime", CompletedDateTime); writer.WriteObjectValue <DateTimeTimeZone>("dueDateTime", DueDateTime); writer.WriteEnumValue <FollowupFlagStatus>("flagStatus", FlagStatus); writer.WriteObjectValue <DateTimeTimeZone>("startDateTime", StartDateTime); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteIntValue("deviceErrorCode", DeviceErrorCode); writer.WriteStringValue("deviceErrorName", DeviceErrorName); writer.WriteEnumValue <ImportedWindowsAutopilotDeviceIdentityImportStatus>("deviceImportStatus", DeviceImportStatus); writer.WriteStringValue("deviceRegistrationId", DeviceRegistrationId); writer.WriteAdditionalData(AdditionalData); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue <PlannerChecklistItems>("checklist", Checklist); writer.WriteStringValue("description", Description); writer.WriteEnumValue <PlannerPreviewType>("previewType", PreviewType); writer.WriteObjectValue <PlannerExternalReferences>("references", References); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("deviceId", DeviceId); writer.WriteStringValue("key", Key); writer.WriteEnumValue <VolumeType>("volumeType", VolumeType); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public new void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue <EducationExternalSource>("externalSource", ExternalSource); writer.WriteStringValue("externalSourceDetail", ExternalSourceDetail); }
/// <summary> /// Serializes information the current object /// <param name="writer">Serialization writer to use to serialize this model</param> /// </summary> public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("actionName", ActionName); writer.WriteEnumValue <ActionState>("actionState", ActionState); writer.WriteDateTimeOffsetValue("lastUpdatedDateTime", LastUpdatedDateTime); writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); writer.WriteAdditionalData(AdditionalData); }