Exemplo n.º 1
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("accountEnabled", AccountEnabled);
     writer.WriteCollectionOfObjectValues <AlternativeSecurityId>("alternativeSecurityIds", AlternativeSecurityIds);
     writer.WriteDateTimeOffsetValue("approximateLastSignInDateTime", ApproximateLastSignInDateTime);
     writer.WriteDateTimeOffsetValue("complianceExpirationDateTime", ComplianceExpirationDateTime);
     writer.WriteStringValue("deviceId", DeviceId);
     writer.WriteStringValue("deviceMetadata", DeviceMetadata);
     writer.WriteIntValue("deviceVersion", DeviceVersion);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfObjectValues <Extension>("extensions", Extensions);
     writer.WriteBoolValue("isCompliant", IsCompliant);
     writer.WriteBoolValue("isManaged", IsManaged);
     writer.WriteStringValue("mdmAppId", MdmAppId);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("memberOf", MemberOf);
     writer.WriteDateTimeOffsetValue("onPremisesLastSyncDateTime", OnPremisesLastSyncDateTime);
     writer.WriteBoolValue("onPremisesSyncEnabled", OnPremisesSyncEnabled);
     writer.WriteStringValue("operatingSystem", OperatingSystem);
     writer.WriteStringValue("operatingSystemVersion", OperatingSystemVersion);
     writer.WriteCollectionOfPrimitiveValues <string>("physicalIds", PhysicalIds);
     writer.WriteStringValue("profileType", ProfileType);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("registeredOwners", RegisteredOwners);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("registeredUsers", RegisteredUsers);
     writer.WriteCollectionOfPrimitiveValues <string>("systemLabels", SystemLabels);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("transitiveMemberOf", TransitiveMemberOf);
     writer.WriteStringValue("trustType", TrustType);
 }
 /// <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>("ids", Ids);
     writer.WriteCollectionOfPrimitiveValues <string>("types", Types);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo 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.WriteCollectionOfPrimitiveValues <string>("excludeLocations", ExcludeLocations);
     writer.WriteCollectionOfPrimitiveValues <string>("includeLocations", IncludeLocations);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 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.WriteCollectionOfPrimitiveValues <string>("allowedResourceActions", AllowedResourceActions);
     writer.WriteCollectionOfPrimitiveValues <string>("notAllowedResourceActions", NotAllowedResourceActions);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo 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.WriteCollectionOfObjectValues <AssignedPlan>("assignedPlans", AssignedPlans);
     writer.WriteObjectValue <OrganizationalBranding>("branding", Branding);
     writer.WriteCollectionOfPrimitiveValues <string>("businessPhones", BusinessPhones);
     writer.WriteCollectionOfObjectValues <ApiSdk.Models.CertificateBasedAuthConfiguration>("certificateBasedAuthConfiguration", CertificateBasedAuthConfiguration);
     writer.WriteStringValue("city", City);
     writer.WriteStringValue("country", Country);
     writer.WriteStringValue("countryLetterCode", CountryLetterCode);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfObjectValues <Extension>("extensions", Extensions);
     writer.WriteCollectionOfPrimitiveValues <string>("marketingNotificationEmails", MarketingNotificationEmails);
     writer.WriteEnumValue <MdmAuthority>("mobileDeviceManagementAuthority", MobileDeviceManagementAuthority);
     writer.WriteDateTimeOffsetValue("onPremisesLastSyncDateTime", OnPremisesLastSyncDateTime);
     writer.WriteBoolValue("onPremisesSyncEnabled", OnPremisesSyncEnabled);
     writer.WriteStringValue("postalCode", PostalCode);
     writer.WriteStringValue("preferredLanguage", PreferredLanguage);
     writer.WriteObjectValue <ApiSdk.Models.PrivacyProfile>("privacyProfile", PrivacyProfile);
     writer.WriteCollectionOfObjectValues <ProvisionedPlan>("provisionedPlans", ProvisionedPlans);
     writer.WriteCollectionOfPrimitiveValues <string>("securityComplianceNotificationMails", SecurityComplianceNotificationMails);
     writer.WriteCollectionOfPrimitiveValues <string>("securityComplianceNotificationPhones", SecurityComplianceNotificationPhones);
     writer.WriteStringValue("state", State);
     writer.WriteStringValue("street", Street);
     writer.WriteCollectionOfPrimitiveValues <string>("technicalNotificationMails", TechnicalNotificationMails);
     writer.WriteStringValue("tenantType", TenantType);
     writer.WriteCollectionOfObjectValues <VerifiedDomain>("verifiedDomains", VerifiedDomains);
 }
 /// <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.WriteCollectionOfPrimitiveValues <string>("receivers", Receivers);
     writer.WriteEnumValue <RoutingMode>("routingMode", RoutingMode);
     writer.WriteCollectionOfPrimitiveValues <string>("sources", Sources);
 }
Exemplo n.º 7
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("enabled", Enabled);
     writer.WriteCollectionOfPrimitiveValues <string>("excludedGroups", ExcludedGroups);
     writer.WriteCollectionOfPrimitiveValues <string>("includedGroups", IncludedGroups);
     writer.WriteBoolValue("overrideDefaultRule", OverrideDefaultRule);
 }
 /// <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>("excludeApplications", ExcludeApplications);
     writer.WriteCollectionOfPrimitiveValues <string>("includeApplications", IncludeApplications);
     writer.WriteCollectionOfPrimitiveValues <string>("includeAuthenticationContextClassReferences", IncludeAuthenticationContextClassReferences);
     writer.WriteCollectionOfPrimitiveValues <string>("includeUserActions", IncludeUserActions);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 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.WriteCollectionOfEnumValues <ConditionalAccessGrantControl>("builtInControls", BuiltInControls);
     writer.WriteCollectionOfPrimitiveValues <string>("customAuthenticationFactors", CustomAuthenticationFactors);
     writer.WriteStringValue("operator", Operator);
     writer.WriteCollectionOfPrimitiveValues <string>("termsOfUse", TermsOfUse);
     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("displayName", DisplayName);
     writer.WriteCollectionOfPrimitiveValues <string>("enforcedGrantControls", EnforcedGrantControls);
     writer.WriteCollectionOfPrimitiveValues <string>("enforcedSessionControls", EnforcedSessionControls);
     writer.WriteStringValue("id", Id);
     writer.WriteEnumValue <AppliedConditionalAccessPolicyResult>("result", Result);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 11
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("conferenceId", ConferenceId);
     writer.WriteStringValue("dialinUrl", DialinUrl);
     writer.WriteStringValue("tollFreeNumber", TollFreeNumber);
     writer.WriteCollectionOfPrimitiveValues <string>("tollFreeNumbers", TollFreeNumbers);
     writer.WriteStringValue("tollNumber", TollNumber);
     writer.WriteCollectionOfPrimitiveValues <string>("tollNumbers", TollNumbers);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo 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("caller", Caller);
     writer.WriteCollectionOfPrimitiveValues <string>("enforcedSettings", EnforcedSettings);
     writer.WriteCollectionOfPrimitiveValues <string>("inheritableSettings", InheritableSettings);
     writer.WriteStringValue("level", Level);
     writer.WriteCollectionOfEnumValues <UnifiedRoleManagementPolicyRuleTargetOperations>("operations", Operations);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("targetObjects", TargetObjects);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 13
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>("groupBy", GroupBy);
     writer.WriteStringValue("id", Id);
     writer.WriteCollectionOfPrimitiveValues <string>("orderBy", OrderBy);
     writer.WriteStringValue("search", Search);
     writer.WriteCollectionOfPrimitiveValues <string>("select", Select);
     writer.WriteIntValue("skip", Skip);
     writer.WriteIntValue("top", Top);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 14
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.WriteCollectionOfPrimitiveValues <string>("categories", Categories);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteStringValue("homePageUrl", HomePageUrl);
     writer.WriteStringValue("logoUrl", LogoUrl);
     writer.WriteStringValue("publisher", Publisher);
     writer.WriteCollectionOfPrimitiveValues <string>("supportedProvisioningTypes", SupportedProvisioningTypes);
     writer.WriteCollectionOfPrimitiveValues <string>("supportedSingleSignOnModes", SupportedSingleSignOnModes);
 }
Exemplo n.º 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.WriteCollectionOfPrimitiveValues <string>("clientApplicationIds", ClientApplicationIds);
     writer.WriteCollectionOfPrimitiveValues <string>("clientApplicationPublisherIds", ClientApplicationPublisherIds);
     writer.WriteBoolValue("clientApplicationsFromVerifiedPublisherOnly", ClientApplicationsFromVerifiedPublisherOnly);
     writer.WriteCollectionOfPrimitiveValues <string>("clientApplicationTenantIds", ClientApplicationTenantIds);
     writer.WriteStringValue("permissionClassification", PermissionClassification);
     writer.WriteCollectionOfPrimitiveValues <string>("permissions", Permissions);
     writer.WriteEnumValue <PermissionType>("permissionType", PermissionType);
     writer.WriteStringValue("resourceApplication", ResourceApplication);
 }
Exemplo n.º 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.WriteBoolValue("accountEnabled", AccountEnabled);
     writer.WriteCollectionOfObjectValues <AddIn>("addIns", AddIns);
     writer.WriteCollectionOfPrimitiveValues <string>("alternativeNames", AlternativeNames);
     writer.WriteStringValue("appDescription", AppDescription);
     writer.WriteStringValue("appDisplayName", AppDisplayName);
     writer.WriteStringValue("appId", AppId);
     writer.WriteStringValue("applicationTemplateId", ApplicationTemplateId);
     writer.WriteStringValue("appOwnerOrganizationId", AppOwnerOrganizationId);
     writer.WriteCollectionOfObjectValues <AppRoleAssignment>("appRoleAssignedTo", AppRoleAssignedTo);
     writer.WriteBoolValue("appRoleAssignmentRequired", AppRoleAssignmentRequired);
     writer.WriteCollectionOfObjectValues <AppRoleAssignment>("appRoleAssignments", AppRoleAssignments);
     writer.WriteCollectionOfObjectValues <AppRole>("appRoles", AppRoles);
     writer.WriteCollectionOfObjectValues <ClaimsMappingPolicy>("claimsMappingPolicies", ClaimsMappingPolicies);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("createdObjects", CreatedObjects);
     writer.WriteCollectionOfObjectValues <DelegatedPermissionClassification>("delegatedPermissionClassifications", DelegatedPermissionClassifications);
     writer.WriteStringValue("description", Description);
     writer.WriteStringValue("disabledByMicrosoftStatus", DisabledByMicrosoftStatus);
     writer.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfObjectValues <Endpoint>("endpoints", Endpoints);
     writer.WriteStringValue("homepage", Homepage);
     writer.WriteCollectionOfObjectValues <HomeRealmDiscoveryPolicy>("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies);
     writer.WriteObjectValue <InformationalUrl>("info", Info);
     writer.WriteCollectionOfObjectValues <KeyCredential>("keyCredentials", KeyCredentials);
     writer.WriteStringValue("loginUrl", LoginUrl);
     writer.WriteStringValue("logoutUrl", LogoutUrl);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("memberOf", MemberOf);
     writer.WriteStringValue("notes", Notes);
     writer.WriteCollectionOfPrimitiveValues <string>("notificationEmailAddresses", NotificationEmailAddresses);
     writer.WriteCollectionOfObjectValues <OAuth2PermissionGrant>("oauth2PermissionGrants", Oauth2PermissionGrants);
     writer.WriteCollectionOfObjectValues <PermissionScope>("oauth2PermissionScopes", Oauth2PermissionScopes);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("ownedObjects", OwnedObjects);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("owners", Owners);
     writer.WriteCollectionOfObjectValues <PasswordCredential>("passwordCredentials", PasswordCredentials);
     writer.WriteStringValue("preferredSingleSignOnMode", PreferredSingleSignOnMode);
     writer.WriteStringValue("preferredTokenSigningKeyThumbprint", PreferredTokenSigningKeyThumbprint);
     writer.WriteCollectionOfPrimitiveValues <string>("replyUrls", ReplyUrls);
     writer.WriteCollectionOfObjectValues <ResourceSpecificPermission>("resourceSpecificApplicationPermissions", ResourceSpecificApplicationPermissions);
     writer.WriteObjectValue <ApiSdk.Models.SamlSingleSignOnSettings>("samlSingleSignOnSettings", SamlSingleSignOnSettings);
     writer.WriteCollectionOfPrimitiveValues <string>("servicePrincipalNames", ServicePrincipalNames);
     writer.WriteStringValue("servicePrincipalType", ServicePrincipalType);
     writer.WriteStringValue("signInAudience", SignInAudience);
     writer.WriteCollectionOfPrimitiveValues <string>("tags", Tags);
     writer.WriteStringValue("tokenEncryptionKeyId", TokenEncryptionKeyId);
     writer.WriteCollectionOfObjectValues <TokenIssuancePolicy>("tokenIssuancePolicies", TokenIssuancePolicies);
     writer.WriteCollectionOfObjectValues <TokenLifetimePolicy>("tokenLifetimePolicies", TokenLifetimePolicies);
     writer.WriteCollectionOfObjectValues <DirectoryObject>("transitiveMemberOf", TransitiveMemberOf);
 }
 /// <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);
 }
Exemplo n.º 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.WriteStringValue("displayName", DisplayName);
     writer.WriteCollectionOfPrimitiveValues <string>("resources", Resources);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo 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.WriteCollectionOfObjectValues <DriveRecipient>("recipients", Recipients);
     writer.WriteCollectionOfPrimitiveValues <string>("roles", Roles);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 20
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("additionalInformation", AdditionalInformation);
     writer.WriteCollectionOfObjectValues <BookingCustomerInformationBase>("customers", Customers);
     writer.WriteStringValue("customerTimeZone", CustomerTimeZone);
     writer.WriteTimeSpanValue("duration", Duration);
     writer.WriteObjectValue <DateTimeTimeZone>("endDateTime", EndDateTime);
     writer.WriteIntValue("filledAttendeesCount", FilledAttendeesCount);
     writer.WriteBoolValue("isLocationOnline", IsLocationOnline);
     writer.WriteStringValue("joinWebUrl", JoinWebUrl);
     writer.WriteIntValue("maximumAttendeesCount", MaximumAttendeesCount);
     writer.WriteBoolValue("optOutOfCustomerEmail", OptOutOfCustomerEmail);
     writer.WriteTimeSpanValue("postBuffer", PostBuffer);
     writer.WriteTimeSpanValue("preBuffer", PreBuffer);
     writer.WriteDoubleValue("price", Price);
     writer.WriteEnumValue <BookingPriceType>("priceType", PriceType);
     writer.WriteCollectionOfObjectValues <BookingReminder>("reminders", Reminders);
     writer.WriteStringValue("selfServiceAppointmentId", SelfServiceAppointmentId);
     writer.WriteStringValue("serviceId", ServiceId);
     writer.WriteObjectValue <Location>("serviceLocation", ServiceLocation);
     writer.WriteStringValue("serviceName", ServiceName);
     writer.WriteStringValue("serviceNotes", ServiceNotes);
     writer.WriteBoolValue("smsNotificationsEnabled", SmsNotificationsEnabled);
     writer.WriteCollectionOfPrimitiveValues <string>("staffMemberIds", StaffMemberIds);
     writer.WriteObjectValue <DateTimeTimeZone>("startDateTime", StartDateTime);
 }
Exemplo n.º 21
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>("disabledPlans", DisabledPlans);
     writer.WriteStringValue("skuId", SkuId);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 22
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("appDisplayName", AppDisplayName);
     writer.WriteStringValue("appId", AppId);
     writer.WriteCollectionOfObjectValues <AppliedConditionalAccessPolicy>("appliedConditionalAccessPolicies", AppliedConditionalAccessPolicies);
     writer.WriteStringValue("clientAppUsed", ClientAppUsed);
     writer.WriteEnumValue <ConditionalAccessStatus>("conditionalAccessStatus", ConditionalAccessStatus);
     writer.WriteStringValue("correlationId", CorrelationId);
     writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
     writer.WriteObjectValue <ApiSdk.Models.DeviceDetail>("deviceDetail", DeviceDetail);
     writer.WriteStringValue("ipAddress", IpAddress);
     writer.WriteBoolValue("isInteractive", IsInteractive);
     writer.WriteObjectValue <SignInLocation>("location", Location);
     writer.WriteStringValue("resourceDisplayName", ResourceDisplayName);
     writer.WriteStringValue("resourceId", ResourceId);
     writer.WriteEnumValue <RiskDetail>("riskDetail", RiskDetail);
     writer.WriteCollectionOfEnumValues <RiskEventType>("riskEventTypes", RiskEventTypes);
     writer.WriteCollectionOfPrimitiveValues <string>("riskEventTypes_v2", RiskEventTypes_v2);
     writer.WriteEnumValue <RiskLevel>("riskLevelAggregated", RiskLevelAggregated);
     writer.WriteEnumValue <RiskLevel>("riskLevelDuringSignIn", RiskLevelDuringSignIn);
     writer.WriteEnumValue <RiskState>("riskState", RiskState);
     writer.WriteObjectValue <SignInStatus>("status", Status);
     writer.WriteStringValue("userDisplayName", UserDisplayName);
     writer.WriteStringValue("userId", UserId);
     writer.WriteStringValue("userPrincipalName", UserPrincipalName);
 }
Exemplo n.º 23
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("appId", AppId);
     writer.WriteCollectionOfPrimitiveValues <string>("delegatedPermissionIds", DelegatedPermissionIds);
     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.WriteCollectionOfPrimitiveValues <string>("countriesBlockedForMinors", CountriesBlockedForMinors);
     writer.WriteStringValue("legalAgeGroupRule", LegalAgeGroupRule);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 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.WriteCollectionOfPrimitiveValues <string>("emailAddresses", EmailAddresses);
     writer.WriteEnumValue <MailTipsType>("mailTipsOptions", MailTipsOptions);
     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.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);
 }
Exemplo n.º 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.WriteEnumValue <RiskDetail>("detail", Detail);
     writer.WriteCollectionOfPrimitiveValues <string>("riskEventTypes", RiskEventTypes);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 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.WriteCollectionOfObjectValues <AssignedLicense>("addLicenses", AddLicenses);
     writer.WriteCollectionOfPrimitiveValues <string>("removeLicenses", RemoveLicenses);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 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.WriteCollectionOfPrimitiveValues <string>("aggregationFilters", AggregationFilters);
     writer.WriteCollectionOfObjectValues <AggregationOption>("aggregations", Aggregations);
     writer.WriteCollectionOfPrimitiveValues <string>("contentSources", ContentSources);
     writer.WriteBoolValue("enableTopResults", EnableTopResults);
     writer.WriteCollectionOfEnumValues <EntityType>("entityTypes", EntityTypes);
     writer.WriteCollectionOfPrimitiveValues <string>("fields", Fields);
     writer.WriteIntValue("from", From);
     writer.WriteObjectValue <SearchQuery>("query", Query);
     writer.WriteObjectValue <SearchAlterationOptions>("queryAlterationOptions", QueryAlterationOptions);
     writer.WriteObjectValue <ResultTemplateOption>("resultTemplateOptions", ResultTemplateOptions);
     writer.WriteIntValue("size", Size);
     writer.WriteCollectionOfObjectValues <SortProperty>("sortProperties", SortProperties);
     writer.WriteAdditionalData(AdditionalData);
 }
Exemplo n.º 30
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("expirationDateTime", ExpirationDateTime);
     writer.WriteCollectionOfPrimitiveValues <string>("nextExpectedRanges", NextExpectedRanges);
     writer.WriteStringValue("uploadUrl", UploadUrl);
     writer.WriteAdditionalData(AdditionalData);
 }