/// <summary> /// Initializes a new instance of the <see cref="CreateGroupRequest" /> class. /// </summary> /// <param name="groupType">groupType.</param> /// <param name="groupId">groupId.</param> /// <param name="groupIdWithoutPrefixSuffix">groupIdWithoutPrefixSuffix.</param> /// <param name="groupName">groupName.</param> /// <param name="groupNameWithoutPrefixSuffix">groupNameWithoutPrefixSuffix.</param> /// <param name="policy">policy.</param> /// <param name="groupDescription">groupDescription.</param> /// <param name="owners">owners.</param> /// <param name="members">members.</param> /// <param name="privacy">privacy.</param> /// <param name="subscribe">subscribe.</param> /// <param name="outsideSender">outsideSender.</param> /// <param name="enableTeamCollaboration">enableTeamCollaboration.</param> /// <param name="language">language.</param> /// <param name="classification">classification.</param> /// <param name="sensitivity">sensitivity.</param> /// <param name="leasePeriodSettings">leasePeriodSettings.</param> /// <param name="teamsSettings">teamsSettings.</param> /// <param name="appliedSiteDesignId">appliedSiteDesignId.</param> /// <param name="primaryContact">primaryContact.</param> /// <param name="secondaryContact">secondaryContact.</param> /// <param name="enableGroupMembershipHidden">enableGroupMembershipHidden.</param> /// <param name="enableAssignedMembership">enableAssignedMembership.</param> /// <param name="enableDynamicMembership">enableDynamicMembership.</param> /// <param name="templateSettings">templateSettings.</param> /// <param name="dynamicMembershipRules">dynamicMembershipRules.</param> /// <param name="multiGeoLocation">multiGeoLocation.</param> /// <param name="hubSiteSettings">hubSiteSettings.</param> /// <param name="yammerGroupInfo">yammerGroupInfo.</param> /// <param name="id">id.</param> /// <param name="serviceId">serviceId.</param> /// <param name="department">department.</param> /// <param name="summary">summary.</param> /// <param name="notesToApprovers">notesToApprovers.</param> /// <param name="questionnaireId">questionnaireId.</param> /// <param name="metadatas">metadatas.</param> public CreateGroupRequest(CreateGroupType?groupType = default(CreateGroupType?), string groupId = default(string), string groupIdWithoutPrefixSuffix = default(string), string groupName = default(string), string groupNameWithoutPrefixSuffix = default(string), Guid policy = default(Guid), string groupDescription = default(string), List <ApiUser> owners = default(List <ApiUser>), List <ApiUser> members = default(List <ApiUser>), bool privacy = default(bool), bool subscribe = default(bool), bool outsideSender = default(bool), bool enableTeamCollaboration = default(bool), string language = default(string), string classification = default(string), string sensitivity = default(string), GroupLeasePeriodSettings leasePeriodSettings = default(GroupLeasePeriodSettings), RequestTeamsSettings teamsSettings = default(RequestTeamsSettings), Guid?appliedSiteDesignId = default(Guid?), ApiUser primaryContact = default(ApiUser), ApiUser secondaryContact = default(ApiUser), bool enableGroupMembershipHidden = default(bool), bool enableAssignedMembership = default(bool), bool enableDynamicMembership = default(bool), TeamsTemplateSettings templateSettings = default(TeamsTemplateSettings), List <DynamicGroupRuleInfo> dynamicMembershipRules = default(List <DynamicGroupRuleInfo>), GeoLocationBase multiGeoLocation = default(GeoLocationBase), HubSiteSettings hubSiteSettings = default(HubSiteSettings), string yammerGroupInfo = default(string), Guid?id = default(Guid?), Guid serviceId = default(Guid), string department = default(string), string summary = default(string), string notesToApprovers = default(string), Guid?questionnaireId = default(Guid?), List <RequestMetadata> metadatas = default(List <RequestMetadata>)) { this.GroupType = groupType; this.GroupId = groupId; this.GroupIdWithoutPrefixSuffix = groupIdWithoutPrefixSuffix; this.GroupName = groupName; this.GroupNameWithoutPrefixSuffix = groupNameWithoutPrefixSuffix; this.Policy = policy; this.GroupDescription = groupDescription; this.Owners = owners; this.Members = members; this.Privacy = privacy; this.Subscribe = subscribe; this.OutsideSender = outsideSender; this.EnableTeamCollaboration = enableTeamCollaboration; this.Language = language; this.Classification = classification; this.Sensitivity = sensitivity; this.LeasePeriodSettings = leasePeriodSettings; this.TeamsSettings = teamsSettings; this.AppliedSiteDesignId = appliedSiteDesignId; this.PrimaryContact = primaryContact; this.SecondaryContact = secondaryContact; this.EnableGroupMembershipHidden = enableGroupMembershipHidden; this.EnableAssignedMembership = enableAssignedMembership; this.EnableDynamicMembership = enableDynamicMembership; this.TemplateSettings = templateSettings; this.DynamicMembershipRules = dynamicMembershipRules; this.MultiGeoLocation = multiGeoLocation; this.HubSiteSettings = hubSiteSettings; this.YammerGroupInfo = yammerGroupInfo; this.Id = id; this.ServiceId = serviceId; this.Department = department; this.Summary = summary; this.NotesToApprovers = notesToApprovers; this.QuestionnaireId = questionnaireId; this.Metadatas = metadatas; }
/// <summary> /// Initializes a new instance of the <see cref="CreateSiteRequest" /> class. /// </summary> /// <param name="siteTitle">siteTitle.</param> /// <param name="siteDescription">siteDescription.</param> /// <param name="siteUrl">siteUrl.</param> /// <param name="policyId">policyId.</param> /// <param name="timeZone">timeZone.</param> /// <param name="language">language.</param> /// <param name="template">template.</param> /// <param name="deploymentManagerPlanName">deploymentManagerPlanName.</param> /// <param name="primaryAdmin">primaryAdmin.</param> /// <param name="additionalAdmins">additionalAdmins.</param> /// <param name="primaryContact">primaryContact.</param> /// <param name="secondaryContact">secondaryContact.</param> /// <param name="siteDesign">siteDesign.</param> /// <param name="classification">classification.</param> /// <param name="hubSiteSettings">hubSiteSettings.</param> /// <param name="userPermissions">userPermissions.</param> /// <param name="groupPermissions">groupPermissions.</param> /// <param name="yammerGroupSettings">yammerGroupSettings.</param> /// <param name="leasePeriodSettings">leasePeriodSettings.</param> /// <param name="multiGeoLocation">multiGeoLocation.</param> /// <param name="inputTitle">inputTitle.</param> /// <param name="id">id.</param> /// <param name="serviceId">serviceId.</param> /// <param name="department">department.</param> /// <param name="summary">summary.</param> /// <param name="notesToApprovers">notesToApprovers.</param> /// <param name="questionnaireId">questionnaireId.</param> /// <param name="metadatas">metadatas.</param> public CreateSiteRequest(string siteTitle = default(string), string siteDescription = default(string), SiteUrl siteUrl = default(SiteUrl), Guid?policyId = default(Guid?), int?timeZone = default(int?), int language = default(int), string template = default(string), string deploymentManagerPlanName = default(string), ApiUser primaryAdmin = default(ApiUser), List <ApiUser> additionalAdmins = default(List <ApiUser>), ApiUser primaryContact = default(ApiUser), ApiUser secondaryContact = default(ApiUser), StringModel siteDesign = default(StringModel), string classification = default(string), HubSiteSettings hubSiteSettings = default(HubSiteSettings), List <RequestUserWithPermissions> userPermissions = default(List <RequestUserWithPermissions>), List <RequestGroupWithPermissions> groupPermissions = default(List <RequestGroupWithPermissions>), YammerGroupRequestSettings yammerGroupSettings = default(YammerGroupRequestSettings), SiteLeasePeriodRequestSettings leasePeriodSettings = default(SiteLeasePeriodRequestSettings), GeoLocationBase multiGeoLocation = default(GeoLocationBase), string inputTitle = default(string), Guid?id = default(Guid?), Guid serviceId = default(Guid), string department = default(string), string summary = default(string), string notesToApprovers = default(string), Guid?questionnaireId = default(Guid?), List <RequestMetadata> metadatas = default(List <RequestMetadata>)) { this.SiteTitle = siteTitle; this.SiteDescription = siteDescription; this.SiteUrl = siteUrl; this.PolicyId = policyId; this.TimeZone = timeZone; this.Language = language; this.Template = template; this.DeploymentManagerPlanName = deploymentManagerPlanName; this.PrimaryAdmin = primaryAdmin; this.AdditionalAdmins = additionalAdmins; this.PrimaryContact = primaryContact; this.SecondaryContact = secondaryContact; this.SiteDesign = siteDesign; this.Classification = classification; this.HubSiteSettings = hubSiteSettings; this.UserPermissions = userPermissions; this.GroupPermissions = groupPermissions; this.YammerGroupSettings = yammerGroupSettings; this.LeasePeriodSettings = leasePeriodSettings; this.MultiGeoLocation = multiGeoLocation; this.InputTitle = inputTitle; this.Id = id; this.ServiceId = serviceId; this.Department = department; this.Summary = summary; this.NotesToApprovers = notesToApprovers; this.QuestionnaireId = questionnaireId; this.Metadatas = metadatas; }