Ejemplo n.º 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("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);
 }
Ejemplo n.º 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.WriteLongValue("end", End);
     writer.WriteLongValue("start", Start);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 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.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);
 }
Ejemplo n.º 4
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("activationLockBypassCode", ActivationLockBypassCode);
     writer.WriteStringValue("androidSecurityPatchLevel", AndroidSecurityPatchLevel);
     writer.WriteStringValue("azureADDeviceId", AzureADDeviceId);
     writer.WriteBoolValue("azureADRegistered", AzureADRegistered);
     writer.WriteDateTimeOffsetValue("complianceGracePeriodExpirationDateTime", ComplianceGracePeriodExpirationDateTime);
     writer.WriteEnumValue <ComplianceState>("complianceState", ComplianceState);
     writer.WriteObjectValue <ApiSdk.Models.ConfigurationManagerClientEnabledFeatures>("configurationManagerClientEnabledFeatures", ConfigurationManagerClientEnabledFeatures);
     writer.WriteCollectionOfObjectValues <DeviceActionResult>("deviceActionResults", DeviceActionResults);
     writer.WriteObjectValue <ApiSdk.Models.DeviceCategory>("deviceCategory", DeviceCategory);
     writer.WriteStringValue("deviceCategoryDisplayName", DeviceCategoryDisplayName);
     writer.WriteCollectionOfObjectValues <DeviceCompliancePolicyState>("deviceCompliancePolicyStates", DeviceCompliancePolicyStates);
     writer.WriteCollectionOfObjectValues <DeviceConfigurationState>("deviceConfigurationStates", DeviceConfigurationStates);
     writer.WriteEnumValue <DeviceEnrollmentType>("deviceEnrollmentType", DeviceEnrollmentType);
     writer.WriteObjectValue <ApiSdk.Models.DeviceHealthAttestationState>("deviceHealthAttestationState", DeviceHealthAttestationState);
     writer.WriteStringValue("deviceName", DeviceName);
     writer.WriteEnumValue <DeviceRegistrationState>("deviceRegistrationState", DeviceRegistrationState);
     writer.WriteBoolValue("easActivated", EasActivated);
     writer.WriteDateTimeOffsetValue("easActivationDateTime", EasActivationDateTime);
     writer.WriteStringValue("easDeviceId", EasDeviceId);
     writer.WriteStringValue("emailAddress", EmailAddress);
     writer.WriteDateTimeOffsetValue("enrolledDateTime", EnrolledDateTime);
     writer.WriteStringValue("ethernetMacAddress", EthernetMacAddress);
     writer.WriteEnumValue <DeviceManagementExchangeAccessState>("exchangeAccessState", ExchangeAccessState);
     writer.WriteEnumValue <DeviceManagementExchangeAccessStateReason>("exchangeAccessStateReason", ExchangeAccessStateReason);
     writer.WriteDateTimeOffsetValue("exchangeLastSuccessfulSyncDateTime", ExchangeLastSuccessfulSyncDateTime);
     writer.WriteLongValue("freeStorageSpaceInBytes", FreeStorageSpaceInBytes);
     writer.WriteStringValue("iccid", Iccid);
     writer.WriteStringValue("imei", Imei);
     writer.WriteBoolValue("isEncrypted", IsEncrypted);
     writer.WriteBoolValue("isSupervised", IsSupervised);
     writer.WriteStringValue("jailBroken", JailBroken);
     writer.WriteDateTimeOffsetValue("lastSyncDateTime", LastSyncDateTime);
     writer.WriteStringValue("managedDeviceName", ManagedDeviceName);
     writer.WriteEnumValue <ManagedDeviceOwnerType>("managedDeviceOwnerType", ManagedDeviceOwnerType);
     writer.WriteEnumValue <ManagementAgentType>("managementAgent", ManagementAgent);
     writer.WriteStringValue("manufacturer", Manufacturer);
     writer.WriteStringValue("meid", Meid);
     writer.WriteStringValue("model", Model);
     writer.WriteStringValue("notes", Notes);
     writer.WriteStringValue("operatingSystem", OperatingSystem);
     writer.WriteStringValue("osVersion", OsVersion);
     writer.WriteEnumValue <ManagedDevicePartnerReportedHealthState>("partnerReportedThreatState", PartnerReportedThreatState);
     writer.WriteStringValue("phoneNumber", PhoneNumber);
     writer.WriteLongValue("physicalMemoryInBytes", PhysicalMemoryInBytes);
     writer.WriteStringValue("remoteAssistanceSessionErrorDetails", RemoteAssistanceSessionErrorDetails);
     writer.WriteStringValue("remoteAssistanceSessionUrl", RemoteAssistanceSessionUrl);
     writer.WriteStringValue("serialNumber", SerialNumber);
     writer.WriteStringValue("subscriberCarrier", SubscriberCarrier);
     writer.WriteLongValue("totalStorageSpaceInBytes", TotalStorageSpaceInBytes);
     writer.WriteStringValue("udid", Udid);
     writer.WriteStringValue("userDisplayName", UserDisplayName);
     writer.WriteStringValue("userId", UserId);
     writer.WriteStringValue("userPrincipalName", UserPrincipalName);
     writer.WriteStringValue("wiFiMacAddress", WiFiMacAddress);
 }
Ejemplo n.º 5
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.WriteLongValue("completedBlackAndWhiteJobCount", CompletedBlackAndWhiteJobCount);
     writer.WriteLongValue("completedColorJobCount", CompletedColorJobCount);
     writer.WriteLongValue("incompleteJobCount", IncompleteJobCount);
     writer.WriteDateValue("usageDate", UsageDate);
 }
Ejemplo n.º 6
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.WriteLongValue("deleted", Deleted);
     writer.WriteLongValue("remaining", Remaining);
     writer.WriteStringValue("state", State);
     writer.WriteObjectValue <ApiSdk.Models.StoragePlanInformation>("storagePlanInformation", StoragePlanInformation);
     writer.WriteLongValue("total", Total);
     writer.WriteLongValue("used", Used);
     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.WriteLongValue("excludedItemCount", ExcludedItemCount);
     writer.WriteCollectionOfObjectValues <KeyValuePair>("insightCounts", InsightCounts);
     writer.WriteLongValue("itemCount", ItemCount);
     writer.WriteLongValue("itemNeedReview", ItemNeedReview);
     writer.WriteCollectionOfObjectValues <KeyValuePair>("productItemCounts", ProductItemCounts);
     writer.WriteLongValue("signedOffItemCount", SignedOffItemCount);
     writer.WriteLongValue("totalItemSize", TotalItemSize);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 8
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.WriteLongValue("sequenceId", SequenceId);
     writer.WriteEnumValue <Tone>("tone", Tone);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 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.WriteByteArrayValue("content", Content);
     writer.WriteLongValue("size", Size);
 }
Ejemplo n.º 10
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);
 }
Ejemplo n.º 11
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("contentType", ContentType);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteLongValue("size", Size);
 }
Ejemplo n.º 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.WriteStringValue("description", Description);
     writer.WriteLongValue("fileSize", FileSize);
     writer.WriteObjectValue <ApiSdk.Models.FileSystemInfo>("fileSystemInfo", FileSystemInfo);
     writer.WriteStringValue("name", Name);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 13
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("deviceCount", DeviceCount);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfObjectValues <ManagedDevice>("managedDevices", ManagedDevices);
     writer.WriteLongValue("sizeInByte", SizeInByte);
     writer.WriteStringValue("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.WriteStringValue("activityType", ActivityType);
     writer.WriteLongValue("chainId", ChainId);
     writer.WriteObjectValue <ItemBody>("previewText", PreviewText);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.KeyValuePair>("templateParameters", TemplateParameters);
     writer.WriteObjectValue <TeamworkActivityTopic>("topic", Topic);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 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.WriteEnumValue <AttachmentType>("attachmentType", AttachmentType);
     writer.WriteStringValue("contentId", ContentId);
     writer.WriteStringValue("contentType", ContentType);
     writer.WriteBoolValue("isInline", IsInline);
     writer.WriteStringValue("name", Name);
     writer.WriteLongValue("size", Size);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 16
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("album", Album);
     writer.WriteStringValue("albumArtist", AlbumArtist);
     writer.WriteStringValue("artist", Artist);
     writer.WriteLongValue("bitrate", Bitrate);
     writer.WriteStringValue("composers", Composers);
     writer.WriteStringValue("copyright", Copyright);
     writer.WriteIntValue("disc", Disc);
     writer.WriteIntValue("discCount", DiscCount);
     writer.WriteLongValue("duration", Duration);
     writer.WriteStringValue("genre", Genre);
     writer.WriteBoolValue("hasDrm", HasDrm);
     writer.WriteBoolValue("isVariableBitrate", IsVariableBitrate);
     writer.WriteStringValue("title", Title);
     writer.WriteIntValue("track", Track);
     writer.WriteIntValue("trackCount", TrackCount);
     writer.WriteIntValue("year", Year);
     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("attestationIdentityKey", AttestationIdentityKey);
     writer.WriteStringValue("bitLockerStatus", BitLockerStatus);
     writer.WriteStringValue("bootAppSecurityVersion", BootAppSecurityVersion);
     writer.WriteStringValue("bootDebugging", BootDebugging);
     writer.WriteStringValue("bootManagerSecurityVersion", BootManagerSecurityVersion);
     writer.WriteStringValue("bootManagerVersion", BootManagerVersion);
     writer.WriteStringValue("bootRevisionListInfo", BootRevisionListInfo);
     writer.WriteStringValue("codeIntegrity", CodeIntegrity);
     writer.WriteStringValue("codeIntegrityCheckVersion", CodeIntegrityCheckVersion);
     writer.WriteStringValue("codeIntegrityPolicy", CodeIntegrityPolicy);
     writer.WriteStringValue("contentNamespaceUrl", ContentNamespaceUrl);
     writer.WriteStringValue("contentVersion", ContentVersion);
     writer.WriteStringValue("dataExcutionPolicy", DataExcutionPolicy);
     writer.WriteStringValue("deviceHealthAttestationStatus", DeviceHealthAttestationStatus);
     writer.WriteStringValue("earlyLaunchAntiMalwareDriverProtection", EarlyLaunchAntiMalwareDriverProtection);
     writer.WriteStringValue("healthAttestationSupportedStatus", HealthAttestationSupportedStatus);
     writer.WriteStringValue("healthStatusMismatchInfo", HealthStatusMismatchInfo);
     writer.WriteDateTimeOffsetValue("issuedDateTime", IssuedDateTime);
     writer.WriteStringValue("lastUpdateDateTime", LastUpdateDateTime);
     writer.WriteStringValue("operatingSystemKernelDebugging", OperatingSystemKernelDebugging);
     writer.WriteStringValue("operatingSystemRevListInfo", OperatingSystemRevListInfo);
     writer.WriteStringValue("pcr0", Pcr0);
     writer.WriteStringValue("pcrHashAlgorithm", PcrHashAlgorithm);
     writer.WriteLongValue("resetCount", ResetCount);
     writer.WriteLongValue("restartCount", RestartCount);
     writer.WriteStringValue("safeMode", SafeMode);
     writer.WriteStringValue("secureBoot", SecureBoot);
     writer.WriteStringValue("secureBootConfigurationPolicyFingerPrint", SecureBootConfigurationPolicyFingerPrint);
     writer.WriteStringValue("testSigning", TestSigning);
     writer.WriteStringValue("tpmVersion", TpmVersion);
     writer.WriteStringValue("virtualSecureMode", VirtualSecureMode);
     writer.WriteStringValue("windowsPE", WindowsPE);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 18
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.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
     writer.WriteStringValue("joinWebUrl", JoinWebUrl);
     writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
     writer.WriteCollectionOfEnumValues <Modality>("modalities", Modalities);
     writer.WriteObjectValue <ApiSdk.Models.IdentitySet>("organizer", Organizer);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.IdentitySet>("participants", Participants);
     writer.WriteCollectionOfObjectValues <Session>("sessions", Sessions);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteEnumValue <CallType>("type", Type);
     writer.WriteLongValue("version", Version);
 }
Ejemplo n.º 19
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("audioBitsPerSample", AudioBitsPerSample);
     writer.WriteIntValue("audioChannels", AudioChannels);
     writer.WriteStringValue("audioFormat", AudioFormat);
     writer.WriteIntValue("audioSamplesPerSecond", AudioSamplesPerSecond);
     writer.WriteIntValue("bitrate", Bitrate);
     writer.WriteLongValue("duration", Duration);
     writer.WriteStringValue("fourCC", FourCC);
     writer.WriteDoubleValue("frameRate", FrameRate);
     writer.WriteIntValue("height", Height);
     writer.WriteIntValue("width", Width);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 20
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("currentValue", CurrentValue);
     writer.WriteLongValue("errorCode", ErrorCode);
     writer.WriteStringValue("errorDescription", ErrorDescription);
     writer.WriteStringValue("instanceDisplayName", InstanceDisplayName);
     writer.WriteStringValue("setting", Setting);
     writer.WriteStringValue("settingName", SettingName);
     writer.WriteCollectionOfObjectValues <SettingSource>("sources", Sources);
     writer.WriteEnumValue <ComplianceStatus>("state", State);
     writer.WriteStringValue("userEmail", UserEmail);
     writer.WriteStringValue("userId", UserId);
     writer.WriteStringValue("userName", UserName);
     writer.WriteStringValue("userPrincipalName", UserPrincipalName);
     writer.WriteAdditionalData(AdditionalData);
 }
Ejemplo n.º 21
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 <ItemAnalytics>("analytics", Analytics);
     writer.WriteObjectValue <ApiSdk.Models.Audio>("audio", Audio);
     writer.WriteObjectValue <ApiSdk.Models.Bundle>("bundle", Bundle);
     writer.WriteCollectionOfObjectValues <DriveItem>("children", Children);
     writer.WriteByteArrayValue("content", Content);
     writer.WriteStringValue("cTag", CTag);
     writer.WriteObjectValue <ApiSdk.Models.Deleted>("deleted", Deleted);
     writer.WriteObjectValue <ApiSdk.Models.File>("file", File);
     writer.WriteObjectValue <ApiSdk.Models.FileSystemInfo>("fileSystemInfo", FileSystemInfo);
     writer.WriteObjectValue <ApiSdk.Models.Folder>("folder", Folder);
     writer.WriteObjectValue <ApiSdk.Models.Image>("image", Image);
     writer.WriteObjectValue <ApiSdk.Models.ListItem>("listItem", ListItem);
     writer.WriteObjectValue <GeoCoordinates>("location", Location);
     writer.WriteObjectValue <ApiSdk.Models.Malware>("malware", Malware);
     writer.WriteObjectValue <ApiSdk.Models.Package>("package", Package);
     writer.WriteObjectValue <ApiSdk.Models.PendingOperations>("pendingOperations", PendingOperations);
     writer.WriteCollectionOfObjectValues <Permission>("permissions", Permissions);
     writer.WriteObjectValue <ApiSdk.Models.Photo>("photo", Photo);
     writer.WriteObjectValue <PublicationFacet>("publication", Publication);
     writer.WriteObjectValue <ApiSdk.Models.RemoteItem>("remoteItem", RemoteItem);
     writer.WriteObjectValue <ApiSdk.Models.Root>("root", Root);
     writer.WriteObjectValue <ApiSdk.Models.SearchResult>("searchResult", SearchResult);
     writer.WriteObjectValue <ApiSdk.Models.Shared>("shared", Shared);
     writer.WriteObjectValue <ApiSdk.Models.SharepointIds>("sharepointIds", SharepointIds);
     writer.WriteLongValue("size", Size);
     writer.WriteObjectValue <ApiSdk.Models.SpecialFolder>("specialFolder", SpecialFolder);
     writer.WriteCollectionOfObjectValues <Subscription>("subscriptions", Subscriptions);
     writer.WriteCollectionOfObjectValues <ThumbnailSet>("thumbnails", Thumbnails);
     writer.WriteCollectionOfObjectValues <DriveItemVersion>("versions", Versions);
     writer.WriteObjectValue <ApiSdk.Models.Video>("video", Video);
     writer.WriteStringValue("webDavUrl", WebDavUrl);
     writer.WriteObjectValue <ApiSdk.Models.Workbook>("workbook", Workbook);
 }
Ejemplo n.º 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.WriteObjectValue <IdentitySet>("createdBy", CreatedBy);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteObjectValue <ApiSdk.Models.File>("file", File);
     writer.WriteObjectValue <ApiSdk.Models.FileSystemInfo>("fileSystemInfo", FileSystemInfo);
     writer.WriteObjectValue <ApiSdk.Models.Folder>("folder", Folder);
     writer.WriteStringValue("id", Id);
     writer.WriteObjectValue <ApiSdk.Models.Image>("image", Image);
     writer.WriteObjectValue <IdentitySet>("lastModifiedBy", LastModifiedBy);
     writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
     writer.WriteStringValue("name", Name);
     writer.WriteObjectValue <ApiSdk.Models.Package>("package", Package);
     writer.WriteObjectValue <ItemReference>("parentReference", ParentReference);
     writer.WriteObjectValue <ApiSdk.Models.Shared>("shared", Shared);
     writer.WriteObjectValue <ApiSdk.Models.SharepointIds>("sharepointIds", SharepointIds);
     writer.WriteLongValue("size", Size);
     writer.WriteObjectValue <ApiSdk.Models.SpecialFolder>("specialFolder", SpecialFolder);
     writer.WriteObjectValue <ApiSdk.Models.Video>("video", Video);
     writer.WriteStringValue("webDavUrl", WebDavUrl);
     writer.WriteStringValue("webUrl", WebUrl);
     writer.WriteAdditionalData(AdditionalData);
 }