Exemple #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.WriteByteArrayValue("customKeyIdentifier", CustomKeyIdentifier);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
     writer.WriteByteArrayValue("key", Key);
     writer.WriteStringValue("keyId", KeyId);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteStringValue("type", Type);
     writer.WriteStringValue("usage", Usage);
     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.WriteStringValue("backgroundColor", BackgroundColor);
     writer.WriteByteArrayValue("backgroundImage", BackgroundImage);
     writer.WriteStringValue("backgroundImageRelativeUrl", BackgroundImageRelativeUrl);
     writer.WriteByteArrayValue("bannerLogo", BannerLogo);
     writer.WriteStringValue("bannerLogoRelativeUrl", BannerLogoRelativeUrl);
     writer.WriteCollectionOfPrimitiveValues <string>("cdnList", CdnList);
     writer.WriteStringValue("signInPageText", SignInPageText);
     writer.WriteByteArrayValue("squareLogo", SquareLogo);
     writer.WriteStringValue("squareLogoRelativeUrl", SquareLogoRelativeUrl);
     writer.WriteStringValue("usernameHintText", UsernameHintText);
 }
 /// <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 <Attachment>("attachments", Attachments);
     writer.WriteCollectionOfObjectValues <Recipient>("bccRecipients", BccRecipients);
     writer.WriteObjectValue <ItemBody>("body", Body);
     writer.WriteStringValue("bodyPreview", BodyPreview);
     writer.WriteCollectionOfObjectValues <Recipient>("ccRecipients", CcRecipients);
     writer.WriteStringValue("conversationId", ConversationId);
     writer.WriteByteArrayValue("conversationIndex", ConversationIndex);
     writer.WriteCollectionOfObjectValues <Extension>("extensions", Extensions);
     writer.WriteObjectValue <FollowupFlag>("flag", Flag);
     writer.WriteObjectValue <Recipient>("from", From);
     writer.WriteBoolValue("hasAttachments", HasAttachments);
     writer.WriteEnumValue <Importance>("importance", Importance);
     writer.WriteEnumValue <InferenceClassificationType>("inferenceClassification", InferenceClassification);
     writer.WriteCollectionOfObjectValues <InternetMessageHeader>("internetMessageHeaders", InternetMessageHeaders);
     writer.WriteStringValue("internetMessageId", InternetMessageId);
     writer.WriteBoolValue("isDeliveryReceiptRequested", IsDeliveryReceiptRequested);
     writer.WriteBoolValue("isDraft", IsDraft);
     writer.WriteBoolValue("isRead", IsRead);
     writer.WriteBoolValue("isReadReceiptRequested", IsReadReceiptRequested);
     writer.WriteCollectionOfObjectValues <MultiValueLegacyExtendedProperty>("multiValueExtendedProperties", MultiValueExtendedProperties);
     writer.WriteStringValue("parentFolderId", ParentFolderId);
     writer.WriteDateTimeOffsetValue("receivedDateTime", ReceivedDateTime);
     writer.WriteCollectionOfObjectValues <Recipient>("replyTo", ReplyTo);
     writer.WriteObjectValue <Recipient>("sender", Sender);
     writer.WriteDateTimeOffsetValue("sentDateTime", SentDateTime);
     writer.WriteCollectionOfObjectValues <SingleValueLegacyExtendedProperty>("singleValueExtendedProperties", SingleValueExtendedProperties);
     writer.WriteStringValue("subject", Subject);
     writer.WriteCollectionOfObjectValues <Recipient>("toRecipients", ToRecipients);
     writer.WriteObjectValue <ItemBody>("uniqueBody", UniqueBody);
     writer.WriteStringValue("webLink", WebLink);
 }
 /// <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("allowAttendeeToEnableCamera", AllowAttendeeToEnableCamera);
     writer.WriteBoolValue("allowAttendeeToEnableMic", AllowAttendeeToEnableMic);
     writer.WriteEnumValue <OnlineMeetingPresenters>("allowedPresenters", AllowedPresenters);
     writer.WriteEnumValue <MeetingChatMode>("allowMeetingChat", AllowMeetingChat);
     writer.WriteBoolValue("allowTeamworkReactions", AllowTeamworkReactions);
     writer.WriteCollectionOfObjectValues <MeetingAttendanceReport>("attendanceReports", AttendanceReports);
     writer.WriteByteArrayValue("attendeeReport", AttendeeReport);
     writer.WriteObjectValue <ApiSdk.Models.AudioConferencing>("audioConferencing", AudioConferencing);
     writer.WriteObjectValue <BroadcastMeetingSettings>("broadcastSettings", BroadcastSettings);
     writer.WriteObjectValue <ApiSdk.Models.ChatInfo>("chatInfo", ChatInfo);
     writer.WriteDateTimeOffsetValue("creationDateTime", CreationDateTime);
     writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
     writer.WriteStringValue("externalId", ExternalId);
     writer.WriteBoolValue("isBroadcast", IsBroadcast);
     writer.WriteBoolValue("isEntryExitAnnounced", IsEntryExitAnnounced);
     writer.WriteObjectValue <ItemBody>("joinInformation", JoinInformation);
     writer.WriteStringValue("joinWebUrl", JoinWebUrl);
     writer.WriteObjectValue <ApiSdk.Models.LobbyBypassSettings>("lobbyBypassSettings", LobbyBypassSettings);
     writer.WriteObjectValue <MeetingParticipants>("participants", Participants);
     writer.WriteBoolValue("recordAutomatically", RecordAutomatically);
     writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime);
     writer.WriteStringValue("subject", Subject);
     writer.WriteStringValue("videoTeleconferenceId", VideoTeleconferenceId);
 }
 /// <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("type", Type);
     writer.WriteByteArrayValue("value", Value);
     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 new void Serialize(ISerializationWriter writer)
 {
     _ = writer ?? throw new ArgumentNullException(nameof(writer));
     base.Serialize(writer);
     writer.WriteByteArrayValue("content", Content);
     writer.WriteStringValue("contentUrl", ContentUrl);
 }
 /// <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("identityProvider", IdentityProvider);
     writer.WriteByteArrayValue("key", Key);
     writer.WriteIntValue("type", Type);
     writer.WriteAdditionalData(AdditionalData);
 }
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.WriteStringValue("displayName", DisplayName);
     writer.WriteByteArrayValue("file", File);
     writer.WriteStringValue("fileHash", FileHash);
     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.WriteByteArrayValue("certificate", Certificate);
     writer.WriteStringValue("description", Description);
     writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime);
     writer.WriteStringValue("subjectName", SubjectName);
     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 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);
 }
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.WriteByteArrayValue("content", Content);
     writer.WriteStringValue("contentType", ContentType);
     writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
     writer.WriteStringValue("name", Name);
     writer.WriteIntValue("size", Size);
 }
 /// <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("certificate", Certificate);
     writer.WriteStringValue("certificateRevocationListUrl", CertificateRevocationListUrl);
     writer.WriteStringValue("deltaCertificateRevocationListUrl", DeltaCertificateRevocationListUrl);
     writer.WriteBoolValue("isRootAuthority", IsRootAuthority);
     writer.WriteStringValue("issuer", Issuer);
     writer.WriteStringValue("issuerSki", IssuerSki);
     writer.WriteAdditionalData(AdditionalData);
 }
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.WriteStringValue("assignedUserPrincipalName", AssignedUserPrincipalName);
     writer.WriteStringValue("groupTag", GroupTag);
     writer.WriteByteArrayValue("hardwareIdentifier", HardwareIdentifier);
     writer.WriteStringValue("importId", ImportId);
     writer.WriteStringValue("productKey", ProductKey);
     writer.WriteStringValue("serialNumber", SerialNumber);
     writer.WriteObjectValue <ImportedWindowsAutopilotDeviceIdentityState>("state", State);
 }
 /// <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);
 }
Exemple #15
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);
 }
 /// <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 <AddIn>("addIns", AddIns);
     writer.WriteObjectValue <ApiApplication>("api", Api);
     writer.WriteStringValue("appId", AppId);
     writer.WriteStringValue("applicationTemplateId", ApplicationTemplateId);
     writer.WriteCollectionOfObjectValues <AppRole>("appRoles", AppRoles);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteObjectValue <DirectoryObject>("createdOnBehalfOf", CreatedOnBehalfOf);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("disabledByMicrosoftStatus", DisabledByMicrosoftStatus);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfObjectValues <ExtensionProperty>("extensionProperties", ExtensionProperties);
     writer.WriteStringValue("groupMembershipClaims", GroupMembershipClaims);
     writer.WriteCollectionOfObjectValues <HomeRealmDiscoveryPolicy>("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies);
     writer.WriteCollectionOfPrimitiveValues <string>("identifierUris", IdentifierUris);
     writer.WriteObjectValue <InformationalUrl>("info", Info);
     writer.WriteBoolValue("isDeviceOnlyAuthSupported", IsDeviceOnlyAuthSupported);
     writer.WriteBoolValue("isFallbackPublicClient", IsFallbackPublicClient);
     writer.WriteCollectionOfObjectValues <KeyCredential>("keyCredentials", KeyCredentials);
     writer.WriteByteArrayValue("logo", Logo);
     writer.WriteStringValue("notes", Notes);
     writer.WriteBoolValue("oauth2RequirePostResponse", Oauth2RequirePostResponse);
     writer.WriteObjectValue <ApiSdk.Models.OptionalClaims>("optionalClaims", OptionalClaims);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("owners", Owners);
     writer.WriteObjectValue <ApiSdk.Models.ParentalControlSettings>("parentalControlSettings", ParentalControlSettings);
     writer.WriteCollectionOfObjectValues <PasswordCredential>("passwordCredentials", PasswordCredentials);
     writer.WriteObjectValue <PublicClientApplication>("publicClient", PublicClient);
     writer.WriteStringValue("publisherDomain", PublisherDomain);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.RequiredResourceAccess>("requiredResourceAccess", RequiredResourceAccess);
     writer.WriteStringValue("serviceManagementReference", ServiceManagementReference);
     writer.WriteStringValue("signInAudience", SignInAudience);
     writer.WriteObjectValue <SpaApplication>("spa", Spa);
     writer.WriteCollectionOfPrimitiveValues <string>("tags", Tags);
     writer.WriteStringValue("tokenEncryptionKeyId", TokenEncryptionKeyId);
     writer.WriteCollectionOfObjectValues <TokenIssuancePolicy>("tokenIssuancePolicies", TokenIssuancePolicies);
     writer.WriteCollectionOfObjectValues <TokenLifetimePolicy>("tokenLifetimePolicies", TokenLifetimePolicies);
     writer.WriteObjectValue <ApiSdk.Models.VerifiedPublisher>("verifiedPublisher", VerifiedPublisher);
     writer.WriteObjectValue <WebApplication>("web", Web);
 }
Exemple #17
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);
 }
Exemple #18
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.WriteAdditionalData(AdditionalData);
 }