/// <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("actionRequiredByDateTime", ActionRequiredByDateTime);
     writer.WriteCollectionOfObjectValues <ServiceAnnouncementAttachment>("attachments", Attachments);
     writer.WriteByteArrayValue("attachmentsArchive", AttachmentsArchive);
     writer.WriteObjectValue <ItemBody>("body", Body);
     writer.WriteEnumValue <ServiceUpdateCategory>("category", Category);
     writer.WriteBoolValue("hasAttachments", HasAttachments);
     writer.WriteBoolValue("isMajorChange", IsMajorChange);
     writer.WriteCollectionOfPrimitiveValues <string>("services", Services);
     writer.WriteEnumValue <ServiceUpdateSeverity>("severity", Severity);
     writer.WriteCollectionOfPrimitiveValues <string>("tags", Tags);
     writer.WriteObjectValue <ServiceUpdateMessageViewpoint>("viewPoint", ViewPoint);
 }
 /// <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("isDialInBypassEnabled", IsDialInBypassEnabled);
     writer.WriteEnumValue <LobbyBypassScope>("scope", Scope);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteCollectionOfPrimitiveValues <string>("hubSiteUrls", HubSiteUrls);
     writer.WriteBoolValue("propagateToExistingLists", PropagateToExistingLists);
     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 <ApiSdk.Models.Message>("message", Message);
     writer.WriteBoolValue("saveToSentItems", SaveToSentItems);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteBoolValue("distributeForStudentWork", DistributeForStudentWork);
     writer.WriteObjectValue <EducationResource>("resource", Resource);
 }
Exemple #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.WriteCollectionOfObjectValues <Channel>("channels", Channels);
     writer.WriteStringValue("classification", Classification);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteObjectValue <TeamFunSettings>("funSettings", FunSettings);
     writer.WriteObjectValue <ApiSdk.Models.Group>("group", Group);
     writer.WriteObjectValue <TeamGuestSettings>("guestSettings", GuestSettings);
     writer.WriteCollectionOfObjectValues <TeamsAppInstallation>("installedApps", InstalledApps);
     writer.WriteStringValue("internalId", InternalId);
     writer.WriteBoolValue("isArchived", IsArchived);
     writer.WriteCollectionOfObjectValues <ConversationMember>("members", Members);
     writer.WriteObjectValue <TeamMemberSettings>("memberSettings", MemberSettings);
     writer.WriteObjectValue <TeamMessagingSettings>("messagingSettings", MessagingSettings);
     writer.WriteCollectionOfObjectValues <TeamsAsyncOperation>("operations", Operations);
     writer.WriteObjectValue <Channel>("primaryChannel", PrimaryChannel);
     writer.WriteObjectValue <ApiSdk.Models.Schedule>("schedule", Schedule);
     writer.WriteEnumValue <TeamSpecialization>("specialization", Specialization);
     writer.WriteObjectValue <TeamsTemplate>("template", Template);
     writer.WriteEnumValue <TeamVisibilityType>("visibility", Visibility);
     writer.WriteStringValue("webUrl", WebUrl);
 }
 /// <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);
 }
 /// <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>("assignCategories", AssignCategories);
     writer.WriteStringValue("copyToFolder", CopyToFolder);
     writer.WriteBoolValue("delete", Delete);
     writer.WriteCollectionOfObjectValues <Recipient>("forwardAsAttachmentTo", ForwardAsAttachmentTo);
     writer.WriteCollectionOfObjectValues <Recipient>("forwardTo", ForwardTo);
     writer.WriteBoolValue("markAsRead", MarkAsRead);
     writer.WriteEnumValue <Importance>("markImportance", MarkImportance);
     writer.WriteStringValue("moveToFolder", MoveToFolder);
     writer.WriteBoolValue("permanentDelete", PermanentDelete);
     writer.WriteCollectionOfObjectValues <Recipient>("redirectTo", RedirectTo);
     writer.WriteBoolValue("stopProcessingRules", StopProcessingRules);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #9
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("comment", Comment);
     writer.WriteBoolValue("sendResponse", SendResponse);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteObjectValue <WorkbookChartGridlinesFormat>("format", Format);
     writer.WriteBoolValue("visible", Visible);
 }
Exemple #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.WriteBoolValue("allowNewTimeProposals", AllowNewTimeProposals);
     writer.WriteCollectionOfObjectValues <Attachment>("attachments", Attachments);
     writer.WriteCollectionOfObjectValues <Attendee>("attendees", Attendees);
     writer.WriteObjectValue <ItemBody>("body", Body);
     writer.WriteStringValue("bodyPreview", BodyPreview);
     writer.WriteObjectValue <ApiSdk.Models.Calendar>("calendar", Calendar);
     writer.WriteObjectValue <DateTimeTimeZone>("end", End);
     writer.WriteCollectionOfObjectValues <Extension>("extensions", Extensions);
     writer.WriteBoolValue("hasAttachments", HasAttachments);
     writer.WriteBoolValue("hideAttendees", HideAttendees);
     writer.WriteStringValue("iCalUId", ICalUId);
     writer.WriteEnumValue <Importance>("importance", Importance);
     writer.WriteCollectionOfObjectValues <Event>("instances", Instances);
     writer.WriteBoolValue("isAllDay", IsAllDay);
     writer.WriteBoolValue("isCancelled", IsCancelled);
     writer.WriteBoolValue("isDraft", IsDraft);
     writer.WriteBoolValue("isOnlineMeeting", IsOnlineMeeting);
     writer.WriteBoolValue("isOrganizer", IsOrganizer);
     writer.WriteBoolValue("isReminderOn", IsReminderOn);
     writer.WriteObjectValue <ApiSdk.Models.Location>("location", Location);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.Location>("locations", Locations);
     writer.WriteCollectionOfObjectValues <MultiValueLegacyExtendedProperty>("multiValueExtendedProperties", MultiValueExtendedProperties);
     writer.WriteObjectValue <OnlineMeetingInfo>("onlineMeeting", OnlineMeeting);
     writer.WriteEnumValue <OnlineMeetingProviderType>("onlineMeetingProvider", OnlineMeetingProvider);
     writer.WriteStringValue("onlineMeetingUrl", OnlineMeetingUrl);
     writer.WriteObjectValue <Recipient>("organizer", Organizer);
     writer.WriteStringValue("originalEndTimeZone", OriginalEndTimeZone);
     writer.WriteDateTimeOffsetValue("originalStart", OriginalStart);
     writer.WriteStringValue("originalStartTimeZone", OriginalStartTimeZone);
     writer.WriteObjectValue <PatternedRecurrence>("recurrence", Recurrence);
     writer.WriteIntValue("reminderMinutesBeforeStart", ReminderMinutesBeforeStart);
     writer.WriteBoolValue("responseRequested", ResponseRequested);
     writer.WriteObjectValue <ApiSdk.Models.ResponseStatus>("responseStatus", ResponseStatus);
     writer.WriteEnumValue <Sensitivity>("sensitivity", Sensitivity);
     writer.WriteStringValue("seriesMasterId", SeriesMasterId);
     writer.WriteEnumValue <FreeBusyStatus>("showAs", ShowAs);
     writer.WriteCollectionOfObjectValues <SingleValueLegacyExtendedProperty>("singleValueExtendedProperties", SingleValueExtendedProperties);
     writer.WriteObjectValue <DateTimeTimeZone>("start", Start);
     writer.WriteStringValue("subject", Subject);
     writer.WriteStringValue("transactionId", TransactionId);
     writer.WriteEnumValue <EventType>("type", Type);
     writer.WriteStringValue("webLink", WebLink);
 }
Exemple #12
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 <ManagedAppDataEncryptionType>("appDataEncryptionType", AppDataEncryptionType);
     writer.WriteCollectionOfObjectValues <ManagedMobileApp>("apps", Apps);
     writer.WriteCollectionOfObjectValues <KeyValuePair>("customSettings", CustomSettings);
     writer.WriteIntValue("deployedAppCount", DeployedAppCount);
     writer.WriteObjectValue <ManagedAppPolicyDeploymentSummary>("deploymentSummary", DeploymentSummary);
     writer.WriteBoolValue("disableAppEncryptionIfDeviceEncryptionIsEnabled", DisableAppEncryptionIfDeviceEncryptionIsEnabled);
     writer.WriteBoolValue("encryptAppData", EncryptAppData);
     writer.WriteBoolValue("faceIdBlocked", FaceIdBlocked);
     writer.WriteStringValue("minimumRequiredPatchVersion", MinimumRequiredPatchVersion);
     writer.WriteStringValue("minimumRequiredSdkVersion", MinimumRequiredSdkVersion);
     writer.WriteStringValue("minimumWarningPatchVersion", MinimumWarningPatchVersion);
     writer.WriteBoolValue("screenCaptureBlocked", ScreenCaptureBlocked);
 }
 /// <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("cve", Cve);
     writer.WriteStringValue("severity", Severity);
     writer.WriteBoolValue("wasRunning", WasRunning);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteObjectValue <AutomaticRepliesMailTips>("automaticReplies", AutomaticReplies);
     writer.WriteStringValue("customMailTip", CustomMailTip);
     writer.WriteBoolValue("deliveryRestricted", DeliveryRestricted);
     writer.WriteObjectValue <ApiSdk.Models.EmailAddress>("emailAddress", EmailAddress);
     writer.WriteObjectValue <MailTipsError>("error", Error);
     writer.WriteIntValue("externalMemberCount", ExternalMemberCount);
     writer.WriteBoolValue("isModerated", IsModerated);
     writer.WriteBoolValue("mailboxFull", MailboxFull);
     writer.WriteIntValue("maxMessageSize", MaxMessageSize);
     writer.WriteEnumValue <RecipientScopeType>("recipientScope", RecipientScope);
     writer.WriteCollectionOfObjectValues <Recipient>("recipientSuggestions", RecipientSuggestions);
     writer.WriteIntValue("totalMemberCount", TotalMemberCount);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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("allowTextEntry", AllowTextEntry);
     writer.WriteCollectionOfPrimitiveValues <string>("choices", Choices);
     writer.WriteStringValue("displayAs", DisplayAs);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteCollectionOfObjectValues <DirectoryObject>("appliesTo", AppliesTo);
     writer.WriteCollectionOfPrimitiveValues <string>("definition", Definition);
     writer.WriteBoolValue("isOrganizationDefault", IsOrganizationDefault);
 }
Exemple #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.WriteBoolValue("allowMultipleSelection", AllowMultipleSelection);
     writer.WriteStringValue("chooseFromType", ChooseFromType);
     writer.WriteStringValue("displayAs", DisplayAs);
     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.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);
 }
Exemple #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.WriteBoolValue("isDefault", IsDefault);
     writer.WriteStringValue("languageTag", LanguageTag);
     writer.WriteStringValue("name", Name);
     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.WriteCollectionOfObjectValues <WorkbookSortField>("fields", Fields);
     writer.WriteBoolValue("matchCase", MatchCase);
     writer.WriteStringValue("method", Method);
 }
Exemple #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 <ApiSdk.Models.Hashes>("hashes", Hashes);
     writer.WriteStringValue("mimeType", MimeType);
     writer.WriteBoolValue("processingMetadata", ProcessingMetadata);
     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.WriteBoolValue("isActive", IsActive);
     writer.WriteCollectionOfPrimitiveValues <string>("userIds", UserIds);
 }
Exemple #24
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.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
     writer.WriteBoolValue("notifyTeam", NotifyTeam);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #25
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.WriteCollectionOfEnumValues <PrintJobStateDetail>("details", Details);
     writer.WriteBoolValue("isAcquiredByPrinter", IsAcquiredByPrinter);
     writer.WriteEnumValue <PrintJobProcessingState>("state", State);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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("email", Email);
     writer.WriteObjectValue <IdentitySet>("invitedBy", InvitedBy);
     writer.WriteStringValue("redeemedBy", RedeemedBy);
     writer.WriteBoolValue("signInRequired", SignInRequired);
     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.WriteCollectionOfObjectValues <SearchAggregation>("aggregations", Aggregations);
     writer.WriteCollectionOfObjectValues <SearchHit>("hits", Hits);
     writer.WriteBoolValue("moreResultsAvailable", MoreResultsAvailable);
     writer.WriteIntValue("total", Total);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #28
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>("additionalProperties", AdditionalProperties);
     writer.WriteBoolValue("essential", Essential);
     writer.WriteStringValue("name", Name);
     writer.WriteStringValue("source", Source);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #29
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("addImageQuery", AddImageQuery);
     writer.WriteStringValue("alternateText", AlternateText);
     writer.WriteStringValue("alternativeText", AlternativeText);
     writer.WriteStringValue("iconUrl", IconUrl);
     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 <UserFlowLanguagePage>("defaultPages", DefaultPages);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteBoolValue("isEnabled", IsEnabled);
     writer.WriteCollectionOfObjectValues <UserFlowLanguagePage>("overridesPages", OverridesPages);
 }