示例#1
0
 /// <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.WriteFloatValue("bandwidthLowEventRatio", BandwidthLowEventRatio);
     writer.WriteStringValue("basicServiceSetIdentifier", BasicServiceSetIdentifier);
     writer.WriteEnumValue <NetworkConnectionType>("connectionType", ConnectionType);
     writer.WriteFloatValue("delayEventRatio", DelayEventRatio);
     writer.WriteStringValue("dnsSuffix", DnsSuffix);
     writer.WriteStringValue("ipAddress", IpAddress);
     writer.WriteLongValue("linkSpeed", LinkSpeed);
     writer.WriteStringValue("macAddress", MacAddress);
     writer.WriteIntValue("port", Port);
     writer.WriteFloatValue("receivedQualityEventRatio", ReceivedQualityEventRatio);
     writer.WriteStringValue("reflexiveIPAddress", ReflexiveIPAddress);
     writer.WriteStringValue("relayIPAddress", RelayIPAddress);
     writer.WriteIntValue("relayPort", RelayPort);
     writer.WriteFloatValue("sentQualityEventRatio", SentQualityEventRatio);
     writer.WriteStringValue("subnet", Subnet);
     writer.WriteEnumValue <WifiBand>("wifiBand", WifiBand);
     writer.WriteIntValue("wifiBatteryCharge", WifiBatteryCharge);
     writer.WriteIntValue("wifiChannel", WifiChannel);
     writer.WriteStringValue("wifiMicrosoftDriver", WifiMicrosoftDriver);
     writer.WriteStringValue("wifiMicrosoftDriverVersion", WifiMicrosoftDriverVersion);
     writer.WriteEnumValue <WifiRadioType>("wifiRadioType", WifiRadioType);
     writer.WriteIntValue("wifiSignalStrength", WifiSignalStrength);
     writer.WriteStringValue("wifiVendorDriver", WifiVendorDriver);
     writer.WriteStringValue("wifiVendorDriverVersion", WifiVendorDriverVersion);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#2
0
 /// <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("captureDeviceDriver", CaptureDeviceDriver);
     writer.WriteStringValue("captureDeviceName", CaptureDeviceName);
     writer.WriteFloatValue("captureNotFunctioningEventRatio", CaptureNotFunctioningEventRatio);
     writer.WriteFloatValue("cpuInsufficentEventRatio", CpuInsufficentEventRatio);
     writer.WriteFloatValue("deviceClippingEventRatio", DeviceClippingEventRatio);
     writer.WriteFloatValue("deviceGlitchEventRatio", DeviceGlitchEventRatio);
     writer.WriteIntValue("howlingEventCount", HowlingEventCount);
     writer.WriteFloatValue("initialSignalLevelRootMeanSquare", InitialSignalLevelRootMeanSquare);
     writer.WriteFloatValue("lowSpeechLevelEventRatio", LowSpeechLevelEventRatio);
     writer.WriteFloatValue("lowSpeechToNoiseEventRatio", LowSpeechToNoiseEventRatio);
     writer.WriteFloatValue("micGlitchRate", MicGlitchRate);
     writer.WriteIntValue("receivedNoiseLevel", ReceivedNoiseLevel);
     writer.WriteIntValue("receivedSignalLevel", ReceivedSignalLevel);
     writer.WriteStringValue("renderDeviceDriver", RenderDeviceDriver);
     writer.WriteStringValue("renderDeviceName", RenderDeviceName);
     writer.WriteFloatValue("renderMuteEventRatio", RenderMuteEventRatio);
     writer.WriteFloatValue("renderNotFunctioningEventRatio", RenderNotFunctioningEventRatio);
     writer.WriteFloatValue("renderZeroVolumeEventRatio", RenderZeroVolumeEventRatio);
     writer.WriteIntValue("sentNoiseLevel", SentNoiseLevel);
     writer.WriteIntValue("sentSignalLevel", SentSignalLevel);
     writer.WriteFloatValue("speakerGlitchRate", SpeakerGlitchRate);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#3
0
 /// <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("height", Height);
     writer.WriteIntValue("width", Width);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#4
0
 /// <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("averageInboundJitter", AverageInboundJitter);
     writer.WriteDoubleValue("averageInboundPacketLossRateInPercentage", AverageInboundPacketLossRateInPercentage);
     writer.WriteTimeSpanValue("averageInboundRoundTripDelay", AverageInboundRoundTripDelay);
     writer.WriteTimeSpanValue("averageOutboundJitter", AverageOutboundJitter);
     writer.WriteDoubleValue("averageOutboundPacketLossRateInPercentage", AverageOutboundPacketLossRateInPercentage);
     writer.WriteTimeSpanValue("averageOutboundRoundTripDelay", AverageOutboundRoundTripDelay);
     writer.WriteIntValue("channelIndex", ChannelIndex);
     writer.WriteLongValue("inboundPackets", InboundPackets);
     writer.WriteStringValue("localIPAddress", LocalIPAddress);
     writer.WriteIntValue("localPort", LocalPort);
     writer.WriteTimeSpanValue("maximumInboundJitter", MaximumInboundJitter);
     writer.WriteDoubleValue("maximumInboundPacketLossRateInPercentage", MaximumInboundPacketLossRateInPercentage);
     writer.WriteTimeSpanValue("maximumInboundRoundTripDelay", MaximumInboundRoundTripDelay);
     writer.WriteTimeSpanValue("maximumOutboundJitter", MaximumOutboundJitter);
     writer.WriteDoubleValue("maximumOutboundPacketLossRateInPercentage", MaximumOutboundPacketLossRateInPercentage);
     writer.WriteTimeSpanValue("maximumOutboundRoundTripDelay", MaximumOutboundRoundTripDelay);
     writer.WriteTimeSpanValue("mediaDuration", MediaDuration);
     writer.WriteLongValue("networkLinkSpeedInBytes", NetworkLinkSpeedInBytes);
     writer.WriteLongValue("outboundPackets", OutboundPackets);
     writer.WriteStringValue("remoteIPAddress", RemoteIPAddress);
     writer.WriteIntValue("remotePort", RemotePort);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#5
0
 /// <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("maximumSize", MaximumSize);
     writer.WriteIntValue("minimumSize", MinimumSize);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#6
0
 /// <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("height", Height);
     writer.WriteIntValue("width", Width);
 }
 /// <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.WriteCollectionOfEnumValues <ManagedAppDataStorageLocation>("allowedDataStorageLocations", AllowedDataStorageLocations);
     writer.WriteEnumValue <ManagedAppDataTransferLevel>("allowedInboundDataTransferSources", AllowedInboundDataTransferSources);
     writer.WriteEnumValue <ManagedAppClipboardSharingLevel>("allowedOutboundClipboardSharingLevel", AllowedOutboundClipboardSharingLevel);
     writer.WriteEnumValue <ManagedAppDataTransferLevel>("allowedOutboundDataTransferDestinations", AllowedOutboundDataTransferDestinations);
     writer.WriteBoolValue("contactSyncBlocked", ContactSyncBlocked);
     writer.WriteBoolValue("dataBackupBlocked", DataBackupBlocked);
     writer.WriteBoolValue("deviceComplianceRequired", DeviceComplianceRequired);
     writer.WriteBoolValue("disableAppPinIfDevicePinIsSet", DisableAppPinIfDevicePinIsSet);
     writer.WriteBoolValue("fingerprintBlocked", FingerprintBlocked);
     writer.WriteEnumValue <ManagedBrowserType>("managedBrowser", ManagedBrowser);
     writer.WriteBoolValue("managedBrowserToOpenLinksRequired", ManagedBrowserToOpenLinksRequired);
     writer.WriteIntValue("maximumPinRetries", MaximumPinRetries);
     writer.WriteIntValue("minimumPinLength", MinimumPinLength);
     writer.WriteStringValue("minimumRequiredAppVersion", MinimumRequiredAppVersion);
     writer.WriteStringValue("minimumRequiredOsVersion", MinimumRequiredOsVersion);
     writer.WriteStringValue("minimumWarningAppVersion", MinimumWarningAppVersion);
     writer.WriteStringValue("minimumWarningOsVersion", MinimumWarningOsVersion);
     writer.WriteBoolValue("organizationalCredentialsRequired", OrganizationalCredentialsRequired);
     writer.WriteTimeSpanValue("periodBeforePinReset", PeriodBeforePinReset);
     writer.WriteTimeSpanValue("periodOfflineBeforeAccessCheck", PeriodOfflineBeforeAccessCheck);
     writer.WriteTimeSpanValue("periodOfflineBeforeWipeIsEnforced", PeriodOfflineBeforeWipeIsEnforced);
     writer.WriteTimeSpanValue("periodOnlineBeforeAccessCheck", PeriodOnlineBeforeAccessCheck);
     writer.WriteEnumValue <ManagedAppPinCharacterSet>("pinCharacterSet", PinCharacterSet);
     writer.WriteBoolValue("pinRequired", PinRequired);
     writer.WriteBoolValue("printBlocked", PrintBlocked);
     writer.WriteBoolValue("saveAsBlocked", SaveAsBlocked);
     writer.WriteBoolValue("simplePinBlocked", SimplePinBlocked);
 }
 /// <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("actionCount", ActionCount);
     writer.WriteIntValue("actorCount", ActorCount);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#9
0
 /// <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("activeChecklistItemCount", ActiveChecklistItemCount);
     writer.WriteObjectValue <PlannerAppliedCategories>("appliedCategories", AppliedCategories);
     writer.WriteObjectValue <PlannerAssignedToTaskBoardTaskFormat>("assignedToTaskBoardFormat", AssignedToTaskBoardFormat);
     writer.WriteStringValue("assigneePriority", AssigneePriority);
     writer.WriteObjectValue <PlannerAssignments>("assignments", Assignments);
     writer.WriteStringValue("bucketId", BucketId);
     writer.WriteObjectValue <PlannerBucketTaskBoardTaskFormat>("bucketTaskBoardFormat", BucketTaskBoardFormat);
     writer.WriteIntValue("checklistItemCount", ChecklistItemCount);
     writer.WriteObjectValue <IdentitySet>("completedBy", CompletedBy);
     writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime);
     writer.WriteStringValue("conversationThreadId", ConversationThreadId);
     writer.WriteObjectValue <IdentitySet>("createdBy", CreatedBy);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteObjectValue <PlannerTaskDetails>("details", Details);
     writer.WriteDateTimeOffsetValue("dueDateTime", DueDateTime);
     writer.WriteBoolValue("hasDescription", HasDescription);
     writer.WriteStringValue("orderHint", OrderHint);
     writer.WriteIntValue("percentComplete", PercentComplete);
     writer.WriteStringValue("planId", PlanId);
     writer.WriteEnumValue <PlannerPreviewType>("previewType", PreviewType);
     writer.WriteIntValue("priority", Priority);
     writer.WriteObjectValue <PlannerProgressTaskBoardTaskFormat>("progressTaskBoardFormat", ProgressTaskBoardFormat);
     writer.WriteIntValue("referenceCount", ReferenceCount);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteStringValue("title", Title);
 }
示例#10
0
 /// <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("additionalInformation", AdditionalInformation);
     writer.WriteCollectionOfObjectValues <BookingCustomerInformationBase>("customers", Customers);
     writer.WriteStringValue("customerTimeZone", CustomerTimeZone);
     writer.WriteTimeSpanValue("duration", Duration);
     writer.WriteObjectValue <DateTimeTimeZone>("endDateTime", EndDateTime);
     writer.WriteIntValue("filledAttendeesCount", FilledAttendeesCount);
     writer.WriteBoolValue("isLocationOnline", IsLocationOnline);
     writer.WriteStringValue("joinWebUrl", JoinWebUrl);
     writer.WriteIntValue("maximumAttendeesCount", MaximumAttendeesCount);
     writer.WriteBoolValue("optOutOfCustomerEmail", OptOutOfCustomerEmail);
     writer.WriteTimeSpanValue("postBuffer", PostBuffer);
     writer.WriteTimeSpanValue("preBuffer", PreBuffer);
     writer.WriteDoubleValue("price", Price);
     writer.WriteEnumValue <BookingPriceType>("priceType", PriceType);
     writer.WriteCollectionOfObjectValues <BookingReminder>("reminders", Reminders);
     writer.WriteStringValue("selfServiceAppointmentId", SelfServiceAppointmentId);
     writer.WriteStringValue("serviceId", ServiceId);
     writer.WriteObjectValue <Location>("serviceLocation", ServiceLocation);
     writer.WriteStringValue("serviceName", ServiceName);
     writer.WriteStringValue("serviceNotes", ServiceNotes);
     writer.WriteBoolValue("smsNotificationsEnabled", SmsNotificationsEnabled);
     writer.WriteCollectionOfPrimitiveValues <string>("staffMemberIds", StaffMemberIds);
     writer.WriteObjectValue <DateTimeTimeZone>("startDateTime", StartDateTime);
 }
示例#11
0
 /// <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("code", Code);
     writer.WriteStringValue("message", Message);
     writer.WriteIntValue("subcode", Subcode);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#12
0
 /// <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("enabled", Enabled);
     writer.WriteIntValue("suspended", Suspended);
     writer.WriteIntValue("warning", Warning);
     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("length", Length);
     writer.WriteIntValue("offset", Offset);
     writer.WriteStringValue("suggestion", Suggestion);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#14
0
 /// <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("bottom", Bottom);
     writer.WriteIntValue("left", Left);
     writer.WriteIntValue("right", Right);
     writer.WriteIntValue("top", Top);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#15
0
 /// <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.WriteBoolValue("allowMultipleLines", AllowMultipleLines);
     writer.WriteBoolValue("appendChangesToExistingText", AppendChangesToExistingText);
     writer.WriteIntValue("linesForEditing", LinesForEditing);
     writer.WriteIntValue("maxLength", MaxLength);
     writer.WriteStringValue("textType", TextType);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#16
0
 /// <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 <ApiSdk.Models.DeviceExchangeAccessStateSummary>("deviceExchangeAccessStateSummary", DeviceExchangeAccessStateSummary);
     writer.WriteObjectValue <ApiSdk.Models.DeviceOperatingSystemSummary>("deviceOperatingSystemSummary", DeviceOperatingSystemSummary);
     writer.WriteIntValue("dualEnrolledDeviceCount", DualEnrolledDeviceCount);
     writer.WriteIntValue("enrolledDeviceCount", EnrolledDeviceCount);
     writer.WriteIntValue("mdmEnrolledCount", MdmEnrolledCount);
 }
示例#17
0
 /// <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.WriteByteArrayValue("content", Content);
     writer.WriteIntValue("height", Height);
     writer.WriteStringValue("sourceItemId", SourceItemId);
     writer.WriteStringValue("url", Url);
     writer.WriteIntValue("width", Width);
     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 <DeviceInstallState>("deviceStates", DeviceStates);
     writer.WriteIntValue("failedDeviceCount", FailedDeviceCount);
     writer.WriteIntValue("installedDeviceCount", InstalledDeviceCount);
     writer.WriteIntValue("notInstalledDeviceCount", NotInstalledDeviceCount);
     writer.WriteStringValue("userName", UserName);
 }
 /// <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("allowedDeviceCount", AllowedDeviceCount);
     writer.WriteIntValue("blockedDeviceCount", BlockedDeviceCount);
     writer.WriteIntValue("quarantinedDeviceCount", QuarantinedDeviceCount);
     writer.WriteIntValue("unavailableDeviceCount", UnavailableDeviceCount);
     writer.WriteIntValue("unknownDeviceCount", UnknownDeviceCount);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#20
0
 /// <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.WriteBoolValue("isEnabled", IsEnabled);
     writer.WriteBoolValue("notifyReviewers", NotifyReviewers);
     writer.WriteBoolValue("remindersEnabled", RemindersEnabled);
     writer.WriteIntValue("requestDurationInDays", RequestDurationInDays);
     writer.WriteCollectionOfObjectValues <AccessReviewReviewerScope>("reviewers", Reviewers);
     writer.WriteIntValue("version", Version);
 }
 /// <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 <PolicyPlatformType>("platformType", PlatformType);
     writer.WriteIntValue("settingCount", SettingCount);
     writer.WriteCollectionOfObjectValues <DeviceConfigurationSettingState>("settingStates", SettingStates);
     writer.WriteEnumValue <ComplianceStatus>("state", State);
     writer.WriteIntValue("version", Version);
 }
示例#22
0
 /// <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.WriteCollectionOfPrimitiveValues <string>("groupBy", GroupBy);
     writer.WriteStringValue("id", Id);
     writer.WriteCollectionOfPrimitiveValues <string>("orderBy", OrderBy);
     writer.WriteStringValue("search", Search);
     writer.WriteCollectionOfPrimitiveValues <string>("select", Select);
     writer.WriteIntValue("skip", Skip);
     writer.WriteIntValue("top", Top);
     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("dayOfMonth", DayOfMonth);
     writer.WriteCollectionOfEnumValues <DayOfWeek>("daysOfWeek", DaysOfWeek);
     writer.WriteEnumValue <DayOfWeek>("firstDayOfWeek", FirstDayOfWeek);
     writer.WriteEnumValue <WeekIndex>("index", Index);
     writer.WriteIntValue("interval", Interval);
     writer.WriteIntValue("month", Month);
     writer.WriteEnumValue <RecurrencePatternType>("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.WriteCollectionOfObjectValues <EnrollmentConfigurationAssignment>("assignments", Assignments);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
     writer.WriteIntValue("priority", Priority);
     writer.WriteIntValue("version", Version);
 }
 /// <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.WriteBoolValue("bargeInAllowed", BargeInAllowed);
     writer.WriteStringValue("clientContext", ClientContext);
     writer.WriteIntValue("initialSilenceTimeoutInSeconds", InitialSilenceTimeoutInSeconds);
     writer.WriteIntValue("maxRecordDurationInSeconds", MaxRecordDurationInSeconds);
     writer.WriteIntValue("maxSilenceTimeoutInSeconds", MaxSilenceTimeoutInSeconds);
     writer.WriteBoolValue("playBeep", PlayBeep);
     writer.WriteCollectionOfObjectValues <Prompt>("prompts", Prompts);
     writer.WriteCollectionOfPrimitiveValues <string>("stopTones", StopTones);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#26
0
 /// <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("cameraMake", CameraMake);
     writer.WriteStringValue("cameraModel", CameraModel);
     writer.WriteDoubleValue("exposureDenominator", ExposureDenominator);
     writer.WriteDoubleValue("exposureNumerator", ExposureNumerator);
     writer.WriteDoubleValue("fNumber", FNumber);
     writer.WriteDoubleValue("focalLength", FocalLength);
     writer.WriteIntValue("iso", Iso);
     writer.WriteIntValue("orientation", Orientation);
     writer.WriteDateTimeOffsetValue("takenDateTime", TakenDateTime);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#27
0
 /// <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("activeUserCount", ActiveUserCount);
     writer.WriteCollectionOfObjectValues <AverageComparativeScore>("averageComparativeScores", AverageComparativeScores);
     writer.WriteStringValue("azureTenantId", AzureTenantId);
     writer.WriteCollectionOfObjectValues <ControlScore>("controlScores", ControlScores);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteDoubleValue("currentScore", CurrentScore);
     writer.WriteCollectionOfPrimitiveValues <string>("enabledServices", EnabledServices);
     writer.WriteIntValue("licensedUserCount", LicensedUserCount);
     writer.WriteDoubleValue("maxScore", MaxScore);
     writer.WriteObjectValue <SecurityVendorInformation>("vendorInformation", VendorInformation);
 }
 /// <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 <SigninFrequencyType>("type", Type);
     writer.WriteIntValue("value", Value);
 }
 /// <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("configurationAppliedUserCount", ConfigurationAppliedUserCount);
     writer.WriteObjectValue <ApiSdk.Models.MobileAppIdentifier>("mobileAppIdentifier", MobileAppIdentifier);
     writer.WriteAdditionalData(AdditionalData);
 }
示例#30
0
 /// <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.WriteByteArrayValue("content", Content);
     writer.WriteStringValue("contentUrl", ContentUrl);
     writer.WriteStringValue("createdByAppId", CreatedByAppId);
     writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
     writer.WriteIntValue("level", Level);
     writer.WriteObjectValue <PageLinks>("links", Links);
     writer.WriteIntValue("order", Order);
     writer.WriteObjectValue <Notebook>("parentNotebook", ParentNotebook);
     writer.WriteObjectValue <OnenoteSection>("parentSection", ParentSection);
     writer.WriteStringValue("title", Title);
     writer.WriteCollectionOfPrimitiveValues <string>("userTags", UserTags);
 }