Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateWebRequest" /> class.
 /// </summary>
 /// <param name="webName">webName.</param>
 /// <param name="webTitle">webTitle.</param>
 /// <param name="webDescription">webDescription.</param>
 /// <param name="webLanguage">webLanguage.</param>
 /// <param name="webTemplate">webTemplate.</param>
 /// <param name="parentSiteUrl">parentSiteUrl.</param>
 /// <param name="parentWebUrl">parentWebUrl.</param>
 /// <param name="primaryContact">primaryContact.</param>
 /// <param name="secondaryContact">secondaryContact.</param>
 /// <param name="userPermissions">userPermissions.</param>
 /// <param name="groupPermissions">groupPermissions.</param>
 /// <param name="yammerGroupSettings">yammerGroupSettings.</param>
 /// <param name="isOnQuickLaunch">isOnQuickLaunch.</param>
 /// <param name="isOnTopLinkBar">isOnTopLinkBar.</param>
 /// <param name="isInheritance">isInheritance.</param>
 /// <param name="deploymentManagerPlanName">deploymentManagerPlanName.</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 CreateWebRequest(string webName = default(string), string webTitle = default(string), string webDescription = default(string), IntModel webLanguage = default(IntModel), string webTemplate = default(string), string parentSiteUrl = default(string), string parentWebUrl = default(string), ApiUser primaryContact = default(ApiUser), ApiUser secondaryContact = default(ApiUser), List <RequestUserWithPermissions> userPermissions = default(List <RequestUserWithPermissions>), List <RequestGroupWithPermissions> groupPermissions = default(List <RequestGroupWithPermissions>), YammerGroupRequestSettings yammerGroupSettings = default(YammerGroupRequestSettings), bool isOnQuickLaunch = default(bool), bool isOnTopLinkBar = default(bool), bool isInheritance = default(bool), string deploymentManagerPlanName = 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.WebName                   = webName;
     this.WebTitle                  = webTitle;
     this.WebDescription            = webDescription;
     this.WebLanguage               = webLanguage;
     this.WebTemplate               = webTemplate;
     this.ParentSiteUrl             = parentSiteUrl;
     this.ParentWebUrl              = parentWebUrl;
     this.PrimaryContact            = primaryContact;
     this.SecondaryContact          = secondaryContact;
     this.UserPermissions           = userPermissions;
     this.GroupPermissions          = groupPermissions;
     this.YammerGroupSettings       = yammerGroupSettings;
     this.IsOnQuickLaunch           = isOnQuickLaunch;
     this.IsOnTopLinkBar            = isOnTopLinkBar;
     this.IsInheritance             = isInheritance;
     this.DeploymentManagerPlanName = deploymentManagerPlanName;
     this.Id               = id;
     this.ServiceId        = serviceId;
     this.Department       = department;
     this.Summary          = summary;
     this.NotesToApprovers = notesToApprovers;
     this.QuestionnaireId  = questionnaireId;
     this.Metadatas        = metadatas;
 }
Exemple #2
0
 /// <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;
 }