/// <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);
 }
Example #2
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.WriteEnumValue <UserFlowType>("userFlowType", UserFlowType);
     writer.WriteFloatValue("userFlowTypeVersion", UserFlowTypeVersion);
 }
 /// <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.WriteCollectionOfObjectValues <RubricCriterion>("criteria", Criteria);
     writer.WriteObjectValue <EducationItemBody>("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteStringValue("qualityId", QualityId);
     writer.WriteFloatValue("weight", Weight);
     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.WriteFloatValue("averageAudioDegradation", AverageAudioDegradation);
     writer.WriteTimeSpanValue("averageAudioNetworkJitter", AverageAudioNetworkJitter);
     writer.WriteLongValue("averageBandwidthEstimate", AverageBandwidthEstimate);
     writer.WriteTimeSpanValue("averageJitter", AverageJitter);
     writer.WriteFloatValue("averagePacketLossRate", AveragePacketLossRate);
     writer.WriteFloatValue("averageRatioOfConcealedSamples", AverageRatioOfConcealedSamples);
     writer.WriteFloatValue("averageReceivedFrameRate", AverageReceivedFrameRate);
     writer.WriteTimeSpanValue("averageRoundTripTime", AverageRoundTripTime);
     writer.WriteFloatValue("averageVideoFrameLossPercentage", AverageVideoFrameLossPercentage);
     writer.WriteFloatValue("averageVideoFrameRate", AverageVideoFrameRate);
     writer.WriteFloatValue("averageVideoPacketLossRate", AverageVideoPacketLossRate);
     writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
     writer.WriteFloatValue("lowFrameRateRatio", LowFrameRateRatio);
     writer.WriteFloatValue("lowVideoProcessingCapabilityRatio", LowVideoProcessingCapabilityRatio);
     writer.WriteTimeSpanValue("maxAudioNetworkJitter", MaxAudioNetworkJitter);
     writer.WriteTimeSpanValue("maxJitter", MaxJitter);
     writer.WriteFloatValue("maxPacketLossRate", MaxPacketLossRate);
     writer.WriteFloatValue("maxRatioOfConcealedSamples", MaxRatioOfConcealedSamples);
     writer.WriteTimeSpanValue("maxRoundTripTime", MaxRoundTripTime);
     writer.WriteLongValue("packetUtilization", PacketUtilization);
     writer.WriteFloatValue("postForwardErrorCorrectionPacketLossRate", PostForwardErrorCorrectionPacketLossRate);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteEnumValue <MediaStreamDirection>("streamDirection", StreamDirection);
     writer.WriteStringValue("streamId", StreamId);
     writer.WriteBoolValue("wasMediaBypassed", WasMediaBypassed);
     writer.WriteAdditionalData(AdditionalData);
 }
Example #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.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);
 }