/// <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 <DriveItemUploadableProperties>("item", Item);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.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);
 }
 /// <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.Post>("post", Post);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteObjectValue <DateTimeTimeZone>("newReminderTime", NewReminderTime);
     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 void Serialize(ISerializationWriter writer)
 {
     _ = writer ?? throw new ArgumentNullException(nameof(writer));
     writer.WriteObjectValue <TeleconferenceDeviceQuality>("quality", Quality);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteObjectValue <ApiSdk.Models.PendingContentUpdate>("pendingContentUpdate", PendingContentUpdate);
     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 <UnifiedRoleManagementPolicyRuleTarget>("target", Target);
 }
Exemple #8
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 <TeamworkConversationIdentity>("conversation", Conversation);
 }
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.WriteObjectValue <ApiSdk.Models.PasswordCredential>("passwordCredential", PasswordCredential);
     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.AuthenticationMethodsRegistrationCampaign>("authenticationMethodsRegistrationCampaign", AuthenticationMethodsRegistrationCampaign);
     writer.WriteAdditionalData(AdditionalData);
 }
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.WriteCollectionOfObjectValues <DirectoryObject>("acceptedSenders", AcceptedSenders);
     writer.WriteBoolValue("allowExternalSenders", AllowExternalSenders);
     writer.WriteCollectionOfObjectValues <AppRoleAssignment>("appRoleAssignments", AppRoleAssignments);
     writer.WriteCollectionOfObjectValues <AssignedLabel>("assignedLabels", AssignedLabels);
     writer.WriteCollectionOfObjectValues <AssignedLicense>("assignedLicenses", AssignedLicenses);
     writer.WriteBoolValue("autoSubscribeNewMembers", AutoSubscribeNewMembers);
     writer.WriteObjectValue <ApiSdk.Models.Calendar>("calendar", Calendar);
     writer.WriteCollectionOfObjectValues <Event>("calendarView", CalendarView);
     writer.WriteStringValue("classification", Classification);
     writer.WriteCollectionOfObjectValues <Conversation>("conversations", Conversations);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteObjectValue <DirectoryObject>("createdOnBehalfOf", CreatedOnBehalfOf);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteObjectValue <ApiSdk.Models.Drive>("drive", Drive);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.Drive>("drives", Drives);
     writer.WriteCollectionOfObjectValues <Event>("events", Events);
     writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime);
     writer.WriteCollectionOfObjectValues <Extension>("extensions", Extensions);
     writer.WriteCollectionOfObjectValues <GroupLifecyclePolicy>("groupLifecyclePolicies", GroupLifecyclePolicies);
     writer.WriteCollectionOfPrimitiveValues <string>("groupTypes", GroupTypes);
     writer.WriteBoolValue("hasMembersWithLicenseErrors", HasMembersWithLicenseErrors);
     writer.WriteBoolValue("hideFromAddressLists", HideFromAddressLists);
     writer.WriteBoolValue("hideFromOutlookClients", HideFromOutlookClients);
     writer.WriteBoolValue("isArchived", IsArchived);
     writer.WriteBoolValue("isAssignableToRole", IsAssignableToRole);
     writer.WriteBoolValue("isSubscribedByMail", IsSubscribedByMail);
     writer.WriteObjectValue <ApiSdk.Models.LicenseProcessingState>("licenseProcessingState", LicenseProcessingState);
     writer.WriteStringValue("mail", Mail);
     writer.WriteBoolValue("mailEnabled", MailEnabled);
     writer.WriteStringValue("mailNickname", MailNickname);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("memberOf", MemberOf);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("members", Members);
     writer.WriteStringValue("membershipRule", MembershipRule);
     writer.WriteStringValue("membershipRuleProcessingState", MembershipRuleProcessingState);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("membersWithLicenseErrors", MembersWithLicenseErrors);
     writer.WriteObjectValue <ApiSdk.Models.Onenote>("onenote", Onenote);
     writer.WriteStringValue("onPremisesDomainName", OnPremisesDomainName);
     writer.WriteDateTimeOffsetValue("onPremisesLastSyncDateTime", OnPremisesLastSyncDateTime);
     writer.WriteStringValue("onPremisesNetBiosName", OnPremisesNetBiosName);
     writer.WriteCollectionOfObjectValues <OnPremisesProvisioningError>("onPremisesProvisioningErrors", OnPremisesProvisioningErrors);
     writer.WriteStringValue("onPremisesSamAccountName", OnPremisesSamAccountName);
     writer.WriteStringValue("onPremisesSecurityIdentifier", OnPremisesSecurityIdentifier);
     writer.WriteBoolValue("onPremisesSyncEnabled", OnPremisesSyncEnabled);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("owners", Owners);
     writer.WriteCollectionOfObjectValues <ResourceSpecificPermissionGrant>("permissionGrants", PermissionGrants);
     writer.WriteObjectValue <ProfilePhoto>("photo", Photo);
     writer.WriteCollectionOfObjectValues <ProfilePhoto>("photos", Photos);
     writer.WriteObjectValue <PlannerGroup>("planner", Planner);
     writer.WriteStringValue("preferredDataLocation", PreferredDataLocation);
     writer.WriteStringValue("preferredLanguage", PreferredLanguage);
     writer.WriteCollectionOfPrimitiveValues <string>("proxyAddresses", ProxyAddresses);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("rejectedSenders", RejectedSenders);
     writer.WriteDateTimeOffsetValue("renewedDateTime", RenewedDateTime);
     writer.WriteBoolValue("securityEnabled", SecurityEnabled);
     writer.WriteStringValue("securityIdentifier", SecurityIdentifier);
     writer.WriteCollectionOfObjectValues <GroupSetting>("settings", Settings);
     writer.WriteCollectionOfObjectValues <Site>("sites", Sites);
     writer.WriteObjectValue <ApiSdk.Models.Team>("team", Team);
     writer.WriteStringValue("theme", Theme);
     writer.WriteCollectionOfObjectValues <ConversationThread>("threads", Threads);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("transitiveMemberOf", TransitiveMemberOf);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("transitiveMembers", TransitiveMembers);
     writer.WriteIntValue("unseenCount", UnseenCount);
     writer.WriteStringValue("visibility", Visibility);
 }
 /// <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.Chat>("chat", Chat);
 }
Exemple #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.WriteObjectValue <BooleanColumn>("boolean", Boolean);
     writer.WriteObjectValue <CalculatedColumn>("calculated", Calculated);
     writer.WriteObjectValue <ChoiceColumn>("choice", Choice);
     writer.WriteStringValue("columnGroup", ColumnGroup);
     writer.WriteObjectValue <ContentApprovalStatusColumn>("contentApprovalStatus", ContentApprovalStatus);
     writer.WriteObjectValue <CurrencyColumn>("currency", Currency);
     writer.WriteObjectValue <DateTimeColumn>("dateTime", DateTime);
     writer.WriteObjectValue <DefaultColumnValue>("defaultValue", DefaultValue);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteBoolValue("enforceUniqueValues", EnforceUniqueValues);
     writer.WriteObjectValue <GeolocationColumn>("geolocation", Geolocation);
     writer.WriteBoolValue("hidden", Hidden);
     writer.WriteObjectValue <HyperlinkOrPictureColumn>("hyperlinkOrPicture", HyperlinkOrPicture);
     writer.WriteBoolValue("indexed", Indexed);
     writer.WriteBoolValue("isDeletable", IsDeletable);
     writer.WriteBoolValue("isReorderable", IsReorderable);
     writer.WriteBoolValue("isSealed", IsSealed);
     writer.WriteObjectValue <LookupColumn>("lookup", Lookup);
     writer.WriteStringValue("name", Name);
     writer.WriteObjectValue <NumberColumn>("number", Number);
     writer.WriteObjectValue <PersonOrGroupColumn>("personOrGroup", PersonOrGroup);
     writer.WriteBoolValue("propagateChanges", PropagateChanges);
     writer.WriteBoolValue("readOnly", ReadOnly);
     writer.WriteBoolValue("required", Required);
     writer.WriteObjectValue <ColumnDefinition>("sourceColumn", SourceColumn);
     writer.WriteObjectValue <ContentTypeInfo>("sourceContentType", SourceContentType);
     writer.WriteObjectValue <TermColumn>("term", Term);
     writer.WriteObjectValue <TextColumn>("text", Text);
     writer.WriteObjectValue <ThumbnailColumn>("thumbnail", Thumbnail);
     writer.WriteEnumValue <ColumnTypes>("type", Type);
     writer.WriteObjectValue <ColumnValidation>("validation", Validation);
 }
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 <ApiSdk.Models.UpdateWindowsDeviceAccountActionParameter>("updateWindowsDeviceAccountActionParameter", UpdateWindowsDeviceAccountActionParameter);
     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 <ConditionalAccessFilter>("deviceFilter", DeviceFilter);
     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 void Serialize(ISerializationWriter writer)
 {
     _ = writer ?? throw new ArgumentNullException(nameof(writer));
     writer.WriteObjectValue <ApiSdk.Models.CallRecords.UserAgent>("userAgent", UserAgent);
     writer.WriteAdditionalData(AdditionalData);
 }
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.WriteObjectValue <ApiSdk.Models.EmailAddress>("emailAddress", EmailAddress);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #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.WriteObjectValue <FieldValueSet>("fields", Fields);
 }
Exemple #19
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 <WorkbookFilterCriteria>("criteria", Criteria);
 }
 /// <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 <DetailsInfo>("details", Details);
 }
 /// <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 <WorkbookChartLineFormat>("line", Line);
 }
 /// <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 <MainError>("error", Error);
     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 <WorkbookChartFill>("fill", Fill);
 }
 /// <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 <DeviceAndAppManagementAssignmentTarget>("target", Target);
 }
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.WriteObjectValue <ApiSdk.Models.ServiceAnnouncement>("serviceAnnouncement", ServiceAnnouncement);
     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.AttachmentItem>("attachmentItem", AttachmentItem);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemple #27
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 <ExternalLink>("previewImageUrl", PreviewImageUrl);
     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.WriteObjectValue <EducationItemBody>("description", Description);
     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.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);
 }