Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupNameConstructureSettings" /> class.
 /// </summary>
 /// <param name="enabled">enabled.</param>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="prefixs">prefixs.</param>
 /// <param name="suffixs">suffixs.</param>
 public GroupNameConstructureSettings(bool enabled = default(bool), AssignBy assignBy = default(AssignBy), List <GroupConstructureRule> prefixs = default(List <GroupConstructureRule>), List <GroupConstructureRule> suffixs = default(List <GroupConstructureRule>))
 {
     this.Enabled  = enabled;
     this.AssignBy = assignBy;
     this.Prefixs  = prefixs;
     this.Suffixs  = suffixs;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GrantPermissionServicePermissionSettings" /> class.
 /// </summary>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="isGrantPermissionDirectly">isGrantPermissionDirectly.</param>
 /// <param name="enableExcludePermissionLevles">enableExcludePermissionLevles.</param>
 /// <param name="excludedPermissionLevles">excludedPermissionLevles.</param>
 public GrantPermissionServicePermissionSettings(AssignBy assignBy = default(AssignBy), bool isGrantPermissionDirectly = default(bool), bool enableExcludePermissionLevles = default(bool), List <PermissionLevel> excludedPermissionLevles = default(List <PermissionLevel>))
 {
     this.AssignBy = assignBy;
     this.IsGrantPermissionDirectly     = isGrantPermissionDirectly;
     this.EnableExcludePermissionLevles = enableExcludePermissionLevles;
     this.ExcludedPermissionLevles      = excludedPermissionLevles;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceForRequest" /> class.
 /// </summary>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ServiceForRequest(AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.Metadatas           = metadatas;
     this.Name                = name;
     this.Description         = description;
     this.Department          = department;
     this.Departments         = departments;
     this.ServiceContact      = serviceContact;
     this.ServiceAdminContact = serviceAdminContact;
     this.CustomActions       = customActions;
     this.CategoryId          = categoryId;
     this.DepartmentAssignBy  = departmentAssignBy;
     this.Metadatas           = metadatas;
     this.HideRequestSummary  = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceUserWithPermissions" /> class.
 /// </summary>
 /// <param name="userAssignBy">userAssignBy.</param>
 /// <param name="user">user.</param>
 /// <param name="permissionLevels">permissionLevels.</param>
 public ServiceUserWithPermissions(AssignBy userAssignBy = default(AssignBy), ApiUser user = default(ApiUser), List <PermissionLevel> permissionLevels = default(List <PermissionLevel>))
 {
     this.User             = user;
     this.PermissionLevels = permissionLevels;
     this.UserAssignBy     = userAssignBy;
     this.User             = user;
     this.PermissionLevels = permissionLevels;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SiteLeasePeriodServiceSettings" /> class.
 /// </summary>
 /// <param name="leasePeriodAssignBy">leasePeriodAssignBy.</param>
 /// <param name="leaseWarningAssignBy">leaseWarningAssignBy.</param>
 /// <param name="leaseEnabled">leaseEnabled.</param>
 /// <param name="leaseWarningEnabled">leaseWarningEnabled.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="leaseInterval">leaseInterval.</param>
 /// <param name="leaseDurationType">leaseDurationType.</param>
 /// <param name="leaseWarningInterval">leaseWarningInterval.</param>
 /// <param name="leaseWarningDurationType">leaseWarningDurationType.</param>
 public SiteLeasePeriodServiceSettings(AssignBy leasePeriodAssignBy = default(AssignBy), AssignBy leaseWarningAssignBy = default(AssignBy), bool leaseEnabled = default(bool), bool leaseWarningEnabled = default(bool), Guid?approvalProcessId = default(Guid?), int leaseInterval = default(int), ApiDurationType leaseDurationType = default(ApiDurationType), int leaseWarningInterval = default(int), ApiDurationType leaseWarningDurationType = default(ApiDurationType))
 {
     this.LeasePeriodAssignBy      = leasePeriodAssignBy;
     this.LeaseWarningAssignBy     = leaseWarningAssignBy;
     this.LeaseEnabled             = leaseEnabled;
     this.LeaseWarningEnabled      = leaseWarningEnabled;
     this.ApprovalProcessId        = approvalProcessId;
     this.LeaseInterval            = leaseInterval;
     this.LeaseDurationType        = leaseDurationType;
     this.LeaseWarningInterval     = leaseWarningInterval;
     this.LeaseWarningDurationType = leaseWarningDurationType;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceGroupWithPermissions" /> class.
 /// </summary>
 /// <param name="usersAssignBy">usersAssignBy.</param>
 /// <param name="groupOwnerAssignBy">groupOwnerAssignBy.</param>
 /// <param name="allowChangePermissionLevel">allowChangePermissionLevel.</param>
 /// <param name="removable">removable.</param>
 /// <param name="name">name.</param>
 /// <param name="users">users.</param>
 /// <param name="permissionLevels">permissionLevels.</param>
 /// <param name="groupOwner">groupOwner.</param>
 /// <param name="groupOwnerType">groupOwnerType.</param>
 /// <param name="buildInGroupType">buildInGroupType.</param>
 public ServiceGroupWithPermissions(AssignBy usersAssignBy = default(AssignBy), AssignBy groupOwnerAssignBy = default(AssignBy), bool allowChangePermissionLevel = default(bool), bool removable = default(bool), string name = default(string), List <GroupUser> users = default(List <GroupUser>), List <PermissionLevel> permissionLevels = default(List <PermissionLevel>), ApiUser groupOwner = default(ApiUser), GroupOwnerType groupOwnerType = default(GroupOwnerType), SharePointBuildInGroupType buildInGroupType = default(SharePointBuildInGroupType))
 {
     this.UsersAssignBy              = usersAssignBy;
     this.GroupOwnerAssignBy         = groupOwnerAssignBy;
     this.AllowChangePermissionLevel = allowChangePermissionLevel;
     this.Removable        = removable;
     this.Name             = name;
     this.Users            = users;
     this.PermissionLevels = permissionLevels;
     this.GroupOwner       = groupOwner;
     this.GroupOwnerType   = groupOwnerType;
     this.BuildInGroupType = buildInGroupType;
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GrantPermissionServiceDurationSettings" /> class.
 /// </summary>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="isGrantTemporaryPermission">isGrantTemporaryPermission.</param>
 /// <param name="defaultDurationInterval">defaultDurationInterval.</param>
 /// <param name="defaultDurationType">defaultDurationType.</param>
 /// <param name="isEnableMaxDuration">isEnableMaxDuration.</param>
 /// <param name="maxDuration">maxDuration.</param>
 /// <param name="maxDurationType">maxDurationType.</param>
 /// <param name="isEnableExpirationNotify">isEnableExpirationNotify.</param>
 /// <param name="expirationNotifyDurationInterval">expirationNotifyDurationInterval.</param>
 /// <param name="expirationNotifyDurationType">expirationNotifyDurationType.</param>
 /// <param name="isOnlyUseDefaultDuration">isOnlyUseDefaultDuration.</param>
 public GrantPermissionServiceDurationSettings(AssignBy assignBy = default(AssignBy), bool isGrantTemporaryPermission = default(bool), int?defaultDurationInterval = default(int?), DurationDateType defaultDurationType = default(DurationDateType), bool isEnableMaxDuration = default(bool), int maxDuration = default(int), DurationDateType maxDurationType = default(DurationDateType), bool isEnableExpirationNotify = default(bool), int expirationNotifyDurationInterval = default(int), DurationDateType expirationNotifyDurationType = default(DurationDateType), bool isOnlyUseDefaultDuration = default(bool))
 {
     this.AssignBy = assignBy;
     this.IsGrantTemporaryPermission = isGrantTemporaryPermission;
     this.DefaultDurationInterval    = defaultDurationInterval;
     this.DefaultDurationType        = defaultDurationType;
     this.IsEnableMaxDuration        = isEnableMaxDuration;
     this.MaxDuration                      = maxDuration;
     this.MaxDurationType                  = maxDurationType;
     this.IsEnableExpirationNotify         = isEnableExpirationNotify;
     this.ExpirationNotifyDurationInterval = expirationNotifyDurationInterval;
     this.ExpirationNotifyDurationType     = expirationNotifyDurationType;
     this.IsOnlyUseDefaultDuration         = isOnlyUseDefaultDuration;
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceTeamsSettings" /> class.
 /// </summary>
 /// <param name="memberPermissionsAssignBy">memberPermissionsAssignBy.</param>
 /// <param name="guestPermissionsAssignBy">guestPermissionsAssignBy.</param>
 /// <param name="mentionsAssignBy">mentionsAssignBy.</param>
 /// <param name="funStuffAssignBy">funStuffAssignBy.</param>
 /// <param name="allowMembersCreateUpdateChannels">allowMembersCreateUpdateChannels.</param>
 /// <param name="allowMembersCreatePrivateChannels">allowMembersCreatePrivateChannels.</param>
 /// <param name="allowMemberDeleteRestoreChannels">allowMemberDeleteRestoreChannels.</param>
 /// <param name="allowMembersAddRemoveApps">allowMembersAddRemoveApps.</param>
 /// <param name="allowMembersCreateUpdateRemoveTabs">allowMembersCreateUpdateRemoveTabs.</param>
 /// <param name="allowMembersCreateUpdateRemoveConnections">allowMembersCreateUpdateRemoveConnections.</param>
 /// <param name="allowMembersDeleteMessages">allowMembersDeleteMessages.</param>
 /// <param name="allowMembersEditMessages">allowMembersEditMessages.</param>
 /// <param name="allowGuestsCreateUpdateChannels">allowGuestsCreateUpdateChannels.</param>
 /// <param name="allowGuestsDeleteChannels">allowGuestsDeleteChannels.</param>
 /// <param name="allowMentionsTeam">allowMentionsTeam.</param>
 /// <param name="allowMentionsChannel">allowMentionsChannel.</param>
 /// <param name="enableGiphy">enableGiphy.</param>
 /// <param name="enableStickersAndMemes">enableStickersAndMemes.</param>
 /// <param name="enableCustomMemes">enableCustomMemes.</param>
 /// <param name="giphyRatingType">giphyRatingType.</param>
 public ServiceTeamsSettings(AssignBy memberPermissionsAssignBy = default(AssignBy), AssignBy guestPermissionsAssignBy = default(AssignBy), AssignBy mentionsAssignBy = default(AssignBy), AssignBy funStuffAssignBy = default(AssignBy), bool allowMembersCreateUpdateChannels = default(bool), bool allowMembersCreatePrivateChannels = default(bool), bool allowMemberDeleteRestoreChannels = default(bool), bool allowMembersAddRemoveApps = default(bool), bool allowMembersCreateUpdateRemoveTabs = default(bool), bool allowMembersCreateUpdateRemoveConnections = default(bool), bool allowMembersDeleteMessages = default(bool), bool allowMembersEditMessages = default(bool), bool allowGuestsCreateUpdateChannels = default(bool), bool allowGuestsDeleteChannels = default(bool), bool allowMentionsTeam = default(bool), bool allowMentionsChannel = default(bool), bool enableGiphy = default(bool), bool enableStickersAndMemes = default(bool), bool enableCustomMemes = default(bool), GiphyRatingType giphyRatingType = default(GiphyRatingType))
 {
     this.MemberPermissionsAssignBy                 = memberPermissionsAssignBy;
     this.GuestPermissionsAssignBy                  = guestPermissionsAssignBy;
     this.MentionsAssignBy                          = mentionsAssignBy;
     this.FunStuffAssignBy                          = funStuffAssignBy;
     this.AllowMembersCreateUpdateChannels          = allowMembersCreateUpdateChannels;
     this.AllowMembersCreatePrivateChannels         = allowMembersCreatePrivateChannels;
     this.AllowMemberDeleteRestoreChannels          = allowMemberDeleteRestoreChannels;
     this.AllowMembersAddRemoveApps                 = allowMembersAddRemoveApps;
     this.AllowMembersCreateUpdateRemoveTabs        = allowMembersCreateUpdateRemoveTabs;
     this.AllowMembersCreateUpdateRemoveConnections = allowMembersCreateUpdateRemoveConnections;
     this.AllowMembersDeleteMessages                = allowMembersDeleteMessages;
     this.AllowMembersEditMessages                  = allowMembersEditMessages;
     this.AllowGuestsCreateUpdateChannels           = allowGuestsCreateUpdateChannels;
     this.AllowGuestsDeleteChannels                 = allowGuestsDeleteChannels;
     this.AllowMentionsTeam                         = allowMentionsTeam;
     this.AllowMentionsChannel                      = allowMentionsChannel;
     this.EnableGiphy            = enableGiphy;
     this.EnableStickersAndMemes = enableStickersAndMemes;
     this.EnableCustomMemes      = enableCustomMemes;
     this.GiphyRatingType        = giphyRatingType;
 }
Example #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ManagePermissionGrantSetting" /> class.
 /// </summary>
 /// <param name="isEnableGrantPermission">isEnableGrantPermission.</param>
 /// <param name="isGrantTemporaryPermission">isGrantTemporaryPermission.</param>
 /// <param name="grantPermissionAssignBy">grantPermissionAssignBy.</param>
 /// <param name="temporaryPermissionDuration">temporaryPermissionDuration.</param>
 /// <param name="temporaryDurationType">temporaryDurationType.</param>
 /// <param name="isMaxTemporaryDurationSetted">isMaxTemporaryDurationSetted.</param>
 /// <param name="temporaryPermissionMaxDuration">temporaryPermissionMaxDuration.</param>
 /// <param name="temporaryPermissionMaxDurationType">temporaryPermissionMaxDurationType.</param>
 /// <param name="isEnableExpireNotify">isEnableExpireNotify.</param>
 /// <param name="expireNotifyDuration">expireNotifyDuration.</param>
 /// <param name="expireNotifyDurationType">expireNotifyDurationType.</param>
 /// <param name="expireNotifyEmailTemplate">expireNotifyEmailTemplate.</param>
 /// <param name="isEnableWelcomeNotify">isEnableWelcomeNotify.</param>
 /// <param name="welcomeEmailSubject">welcomeEmailSubject.</param>
 /// <param name="welcomeEmailBody">welcomeEmailBody.</param>
 /// <param name="welcomeEmailAssignBy">welcomeEmailAssignBy.</param>
 /// <param name="allowSpecifyTemporayPermissionDuration">allowSpecifyTemporayPermissionDuration.</param>
 public ManagePermissionGrantSetting(bool isEnableGrantPermission = default(bool), bool isGrantTemporaryPermission = default(bool), AssignBy grantPermissionAssignBy = default(AssignBy), int temporaryPermissionDuration = default(int), ApiDurationType temporaryDurationType = default(ApiDurationType), bool isMaxTemporaryDurationSetted = default(bool), int temporaryPermissionMaxDuration = default(int), ApiDurationType temporaryPermissionMaxDurationType = default(ApiDurationType), bool isEnableExpireNotify = default(bool), int expireNotifyDuration = default(int), ApiDurationType expireNotifyDurationType = default(ApiDurationType), Guid?expireNotifyEmailTemplate = default(Guid?), bool isEnableWelcomeNotify = default(bool), string welcomeEmailSubject = default(string), string welcomeEmailBody = default(string), AssignBy welcomeEmailAssignBy = default(AssignBy), bool allowSpecifyTemporayPermissionDuration = default(bool))
 {
     this.IsEnableGrantPermission            = isEnableGrantPermission;
     this.IsGrantTemporaryPermission         = isGrantTemporaryPermission;
     this.GrantPermissionAssignBy            = grantPermissionAssignBy;
     this.TemporaryPermissionDuration        = temporaryPermissionDuration;
     this.TemporaryDurationType              = temporaryDurationType;
     this.IsMaxTemporaryDurationSetted       = isMaxTemporaryDurationSetted;
     this.TemporaryPermissionMaxDuration     = temporaryPermissionMaxDuration;
     this.TemporaryPermissionMaxDurationType = temporaryPermissionMaxDurationType;
     this.IsEnableExpireNotify      = isEnableExpireNotify;
     this.ExpireNotifyDuration      = expireNotifyDuration;
     this.ExpireNotifyDurationType  = expireNotifyDurationType;
     this.ExpireNotifyEmailTemplate = expireNotifyEmailTemplate;
     this.IsEnableWelcomeNotify     = isEnableWelcomeNotify;
     this.WelcomeEmailSubject       = welcomeEmailSubject;
     this.WelcomeEmailBody          = welcomeEmailBody;
     this.WelcomeEmailAssignBy      = welcomeEmailAssignBy;
     this.AllowSpecifyTemporayPermissionDuration = allowSpecifyTemporayPermissionDuration;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupIdConstructureSettings" /> class.
 /// </summary>
 /// <param name="ruleType">ruleType.</param>
 /// <param name="enableAutoSequenceNumber">enableAutoSequenceNumber.</param>
 /// <param name="autoSequenceNumber">autoSequenceNumber.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="prefixs">prefixs.</param>
 /// <param name="suffixs">suffixs.</param>
 public GroupIdConstructureSettings(GroupIdRuleType ruleType = default(GroupIdRuleType), bool enableAutoSequenceNumber = default(bool), string autoSequenceNumber = default(string), bool enabled = default(bool), AssignBy assignBy = default(AssignBy), List <GroupConstructureRule> prefixs = default(List <GroupConstructureRule>), List <GroupConstructureRule> suffixs = default(List <GroupConstructureRule>))
 {
     this.RuleType = ruleType;
     this.EnableAutoSequenceNumber = enableAutoSequenceNumber;
     this.AutoSequenceNumber       = autoSequenceNumber;
     this.Enabled  = enabled;
     this.AssignBy = assignBy;
     this.Prefixs  = prefixs;
     this.Suffixs  = suffixs;
 }
Example #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateWebScopeSettings" /> class.
 /// </summary>
 /// <param name="restrictParentUrl">restrictParentUrl.</param>
 /// <param name="scopeType">scopeType.</param>
 /// <param name="useTitleInUrl">useTitleInUrl.</param>
 /// <param name="enableUrlValidation">enableUrlValidation.</param>
 /// <param name="textValidationRule">textValidationRule.</param>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="autoPopulateUrlWithSPContext">autoPopulateUrlWithSPContext.</param>
 /// <param name="autoPopulateUrlWithSPContextAssignBy">autoPopulateUrlWithSPContextAssignBy.</param>
 public CreateWebScopeSettings(string restrictParentUrl = default(string), ScopeType scopeType = default(ScopeType), bool useTitleInUrl = default(bool), bool enableUrlValidation = default(bool), TextValidationRuleRef textValidationRule = default(TextValidationRuleRef), List <SPNode> selectedNodes = default(List <SPNode>), bool autoPopulateUrlWithSPContext = default(bool), AssignBy autoPopulateUrlWithSPContextAssignBy = default(AssignBy))
 {
     this.RestrictParentUrl                    = restrictParentUrl;
     this.TextValidationRule                   = textValidationRule;
     this.SelectedNodes                        = selectedNodes;
     this.RestrictParentUrl                    = restrictParentUrl;
     this.ScopeType                            = scopeType;
     this.UseTitleInUrl                        = useTitleInUrl;
     this.EnableUrlValidation                  = enableUrlValidation;
     this.TextValidationRule                   = textValidationRule;
     this.SelectedNodes                        = selectedNodes;
     this.AutoPopulateUrlWithSPContext         = autoPopulateUrlWithSPContext;
     this.AutoPopulateUrlWithSPContextAssignBy = autoPopulateUrlWithSPContextAssignBy;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ManuallyInputUrlSetting" /> class.
 /// </summary>
 /// <param name="enableConstructUrl">enableConstructUrl.</param>
 /// <param name="enableUrlValidation">enableUrlValidation.</param>
 /// <param name="constructUrlAssignBy">constructUrlAssignBy.</param>
 /// <param name="validationRule">validationRule.</param>
 /// <param name="rules">rules.</param>
 /// <param name="suffix">suffix.</param>
 /// <param name="connection">connection.</param>
 /// <param name="contructUrlAssignBy">contructUrlAssignBy.</param>
 public ManuallyInputUrlSetting(bool enableConstructUrl = default(bool), bool enableUrlValidation = default(bool), AssignBy constructUrlAssignBy = default(AssignBy), TextValidationRuleRef validationRule = default(TextValidationRuleRef), List <string> rules = default(List <string>), string suffix = default(string), string connection = default(string), AssignBy contructUrlAssignBy = default(AssignBy))
 {
     this.EnableConstructUrl   = enableConstructUrl;
     this.EnableUrlValidation  = enableUrlValidation;
     this.ConstructUrlAssignBy = constructUrlAssignBy;
     this.ValidationRule       = validationRule;
     this.Rules               = rules;
     this.Suffix              = suffix;
     this.Connection          = connection;
     this.ContructUrlAssignBy = contructUrlAssignBy;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeGroupSettingService" /> class.
 /// </summary>
 /// <param name="tenantId">tenantId.</param>
 /// <param name="groupRestriction">groupRestriction.</param>
 /// <param name="enableChangeName">enableChangeName.</param>
 /// <param name="enableChangeDescription">enableChangeDescription.</param>
 /// <param name="enableChangeMemberSubscription">enableChangeMemberSubscription.</param>
 /// <param name="enableChangeOutsideSenders">enableChangeOutsideSenders.</param>
 /// <param name="enableChangePrimaryContact">enableChangePrimaryContact.</param>
 /// <param name="enableChangeSecondaryContact">enableChangeSecondaryContact.</param>
 /// <param name="enableAddOwners">enableAddOwners.</param>
 /// <param name="addOwnerRestriction">addOwnerRestriction.</param>
 /// <param name="enableRemoveOwners">enableRemoveOwners.</param>
 /// <param name="enableAddMembers">enableAddMembers.</param>
 /// <param name="addMemberRestriction">addMemberRestriction.</param>
 /// <param name="enableRemoveMembers">enableRemoveMembers.</param>
 /// <param name="enableChangeDynamicMembershipRules">enableChangeDynamicMembershipRules.</param>
 /// <param name="enableChangeTeamCollaboration">enableChangeTeamCollaboration.</param>
 /// <param name="enableChangeHubSite">enableChangeHubSite.</param>
 /// <param name="enableChangeClassification">enableChangeClassification.</param>
 /// <param name="classificationList">classificationList.</param>
 /// <param name="enableChangeMetadata">enableChangeMetadata.</param>
 /// <param name="enableAddOrDeleteMetadata">enableAddOrDeleteMetadata.</param>
 /// <param name="metadataList">metadataList.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ChangeGroupSettingService(Guid tenantId = default(Guid), GroupRestrictionType groupRestriction = default(GroupRestrictionType), bool enableChangeName = default(bool), bool enableChangeDescription = default(bool), bool enableChangeMemberSubscription = default(bool), bool enableChangeOutsideSenders = default(bool), bool enableChangePrimaryContact = default(bool), bool enableChangeSecondaryContact = default(bool), bool enableAddOwners = default(bool), UserLevelRestrictionType addOwnerRestriction = default(UserLevelRestrictionType), bool enableRemoveOwners = default(bool), bool enableAddMembers = default(bool), UserLevelRestrictionType addMemberRestriction = default(UserLevelRestrictionType), bool enableRemoveMembers = default(bool), bool enableChangeDynamicMembershipRules = default(bool), bool enableChangeTeamCollaboration = default(bool), bool enableChangeHubSite = default(bool), bool enableChangeClassification = default(bool), List <string> classificationList = default(List <string>), bool enableChangeMetadata = default(bool), bool enableAddOrDeleteMetadata = default(bool), List <CustomMetadata> metadataList = default(List <CustomMetadata>), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.ClassificationList = classificationList;
     this.MetadataList       = metadataList;
     this.Metadatas          = metadatas;
     this.Name                               = name;
     this.Description                        = description;
     this.Department                         = department;
     this.Departments                        = departments;
     this.ServiceContact                     = serviceContact;
     this.ServiceAdminContact                = serviceAdminContact;
     this.CustomActions                      = customActions;
     this.CategoryId                         = categoryId;
     this.TenantId                           = tenantId;
     this.GroupRestriction                   = groupRestriction;
     this.EnableChangeName                   = enableChangeName;
     this.EnableChangeDescription            = enableChangeDescription;
     this.EnableChangeMemberSubscription     = enableChangeMemberSubscription;
     this.EnableChangeOutsideSenders         = enableChangeOutsideSenders;
     this.EnableChangePrimaryContact         = enableChangePrimaryContact;
     this.EnableChangeSecondaryContact       = enableChangeSecondaryContact;
     this.EnableAddOwners                    = enableAddOwners;
     this.AddOwnerRestriction                = addOwnerRestriction;
     this.EnableRemoveOwners                 = enableRemoveOwners;
     this.EnableAddMembers                   = enableAddMembers;
     this.AddMemberRestriction               = addMemberRestriction;
     this.EnableRemoveMembers                = enableRemoveMembers;
     this.EnableChangeDynamicMembershipRules = enableChangeDynamicMembershipRules;
     this.EnableChangeTeamCollaboration      = enableChangeTeamCollaboration;
     this.EnableChangeHubSite                = enableChangeHubSite;
     this.EnableChangeClassification         = enableChangeClassification;
     this.ClassificationList                 = classificationList;
     this.EnableChangeMetadata               = enableChangeMetadata;
     this.EnableAddOrDeleteMetadata          = enableAddOrDeleteMetadata;
     this.MetadataList                       = metadataList;
     this.DepartmentAssignBy                 = departmentAssignBy;
     this.Metadatas                          = metadatas;
     this.HideRequestSummary                 = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomMetadata" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="displayType">displayType.</param>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="enableTextValidation">enableTextValidation.</param>
 /// <param name="textValidationRule">textValidationRule.</param>
 /// <param name="booleanMetadataSettings">booleanMetadataSettings.</param>
 /// <param name="termsMetadataSettings">termsMetadataSettings.</param>
 /// <param name="userMetadataSettings">userMetadataSettings.</param>
 /// <param name="userProfileMetadataSettings">userProfileMetadataSettings.</param>
 /// <param name="azureAdMetadataSettings">azureAdMetadataSettings.</param>
 /// <param name="choiceMetadataSettings">choiceMetadataSettings.</param>
 /// <param name="linkMetadataSettings">linkMetadataSettings.</param>
 /// <param name="singleLineOrMultipleLineMetadataSettings">singleLineOrMultipleLineMetadataSettings.</param>
 public CustomMetadata(Guid id = default(Guid), string name = default(string), string description = default(string), MetadataFieldType type = default(MetadataFieldType), DisplayInReportType displayType = default(DisplayInReportType), AssignBy assignBy = default(AssignBy), bool enableTextValidation = default(bool), TextValidationRuleRef textValidationRule = default(TextValidationRuleRef), BooleanMetadataSettings booleanMetadataSettings = default(BooleanMetadataSettings), TermsMetadataSettings termsMetadataSettings = default(TermsMetadataSettings), UserMetadataSettings userMetadataSettings = default(UserMetadataSettings), UserProfileMetadataSettings userProfileMetadataSettings = default(UserProfileMetadataSettings), AzureAdMetadataSettings azureAdMetadataSettings = default(AzureAdMetadataSettings), ChoiceMetadataSettings choiceMetadataSettings = default(ChoiceMetadataSettings), LinkMetadataSettings linkMetadataSettings = default(LinkMetadataSettings), SingleLineOrMultipleLineMetadataSettings singleLineOrMultipleLineMetadataSettings = default(SingleLineOrMultipleLineMetadataSettings))
 {
     this.Name                        = name;
     this.Description                 = description;
     this.TextValidationRule          = textValidationRule;
     this.BooleanMetadataSettings     = booleanMetadataSettings;
     this.TermsMetadataSettings       = termsMetadataSettings;
     this.UserMetadataSettings        = userMetadataSettings;
     this.UserProfileMetadataSettings = userProfileMetadataSettings;
     this.AzureAdMetadataSettings     = azureAdMetadataSettings;
     this.ChoiceMetadataSettings      = choiceMetadataSettings;
     this.LinkMetadataSettings        = linkMetadataSettings;
     this.SingleLineOrMultipleLineMetadataSettings = singleLineOrMultipleLineMetadataSettings;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.DisplayType                 = displayType;
     this.AssignBy                    = assignBy;
     this.EnableTextValidation        = enableTextValidation;
     this.TextValidationRule          = textValidationRule;
     this.BooleanMetadataSettings     = booleanMetadataSettings;
     this.TermsMetadataSettings       = termsMetadataSettings;
     this.UserMetadataSettings        = userMetadataSettings;
     this.UserProfileMetadataSettings = userProfileMetadataSettings;
     this.AzureAdMetadataSettings     = azureAdMetadataSettings;
     this.ChoiceMetadataSettings      = choiceMetadataSettings;
     this.LinkMetadataSettings        = linkMetadataSettings;
     this.SingleLineOrMultipleLineMetadataSettings = singleLineOrMultipleLineMetadataSettings;
 }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeGroupPolicyResult" /> class.
 /// </summary>
 /// <param name="currentPolicy">currentPolicy.</param>
 /// <param name="allPolicies">allPolicies.</param>
 /// <param name="changePolicyAssignBy">changePolicyAssignBy.</param>
 /// <param name="startDateType">startDateType.</param>
 /// <param name="serviceSpecifyDate">serviceSpecifyDate.</param>
 /// <param name="isEnableLeaseExpired">isEnableLeaseExpired.</param>
 /// <param name="leaseDuration">leaseDuration.</param>
 /// <param name="leaseDurationType">leaseDurationType.</param>
 /// <param name="currentStartDate">currentStartDate.</param>
 public ChangeGroupPolicyResult(GuidModel currentPolicy = default(GuidModel), List <GuidModel> allPolicies = default(List <GuidModel>), AssignBy changePolicyAssignBy = default(AssignBy), StartDateType startDateType = default(StartDateType), DateTime serviceSpecifyDate = default(DateTime), bool isEnableLeaseExpired = default(bool), int leaseDuration = default(int), ApiDurationType leaseDurationType = default(ApiDurationType), DateTime currentStartDate = default(DateTime))
 {
     this.CurrentPolicy        = currentPolicy;
     this.AllPolicies          = allPolicies;
     this.ChangePolicyAssignBy = changePolicyAssignBy;
     this.StartDateType        = startDateType;
     this.ServiceSpecifyDate   = serviceSpecifyDate;
     this.IsEnableLeaseExpired = isEnableLeaseExpired;
     this.LeaseDuration        = leaseDuration;
     this.LeaseDurationType    = leaseDurationType;
     this.CurrentStartDate     = currentStartDate;
 }
Example #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceScopeSettings" /> class.
 /// </summary>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="autoPopulateUrlWithSPContext">autoPopulateUrlWithSPContext.</param>
 /// <param name="autoPopulateUrlWithSPContextAssignBy">autoPopulateUrlWithSPContextAssignBy.</param>
 public ServiceScopeSettings(List <SPNode> selectedNodes = default(List <SPNode>), bool autoPopulateUrlWithSPContext = default(bool), AssignBy autoPopulateUrlWithSPContextAssignBy = default(AssignBy))
 {
     this.SelectedNodes = selectedNodes;
     this.AutoPopulateUrlWithSPContext         = autoPopulateUrlWithSPContext;
     this.AutoPopulateUrlWithSPContextAssignBy = autoPopulateUrlWithSPContextAssignBy;
 }
Example #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeGroupPolicyRequest" /> class.
 /// </summary>
 /// <param name="policy">policy.</param>
 /// <param name="isLeaseEnabled">isLeaseEnabled.</param>
 /// <param name="changePolicyConfig">changePolicyConfig.</param>
 /// <param name="startDateType">startDateType.</param>
 /// <param name="specifyStartDate">specifyStartDate.</param>
 /// <param name="groupId">groupId.</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 ChangeGroupPolicyRequest(GuidModel policy = default(GuidModel), bool isLeaseEnabled = default(bool), AssignBy changePolicyConfig = default(AssignBy), StartDateType startDateType = default(StartDateType), DateTime?specifyStartDate = default(DateTime?), Guid groupId = default(Guid), 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.Policy           = policy;
     this.SpecifyStartDate = specifyStartDate;
     this.Id                 = id;
     this.Department         = department;
     this.Summary            = summary;
     this.NotesToApprovers   = notesToApprovers;
     this.QuestionnaireId    = questionnaireId;
     this.Metadatas          = metadatas;
     this.Policy             = policy;
     this.IsLeaseEnabled     = isLeaseEnabled;
     this.ChangePolicyConfig = changePolicyConfig;
     this.StartDateType      = startDateType;
     this.SpecifyStartDate   = specifyStartDate;
     this.GroupId            = groupId;
     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="ManagePermissionSharePointGroupOption" /> class.
 /// </summary>
 /// <param name="isEnableCreateSPGroup">isEnableCreateSPGroup.</param>
 /// <param name="isEnableDeleteSPGroup">isEnableDeleteSPGroup.</param>
 /// <param name="isEnableManageGroupSettings">isEnableManageGroupSettings.</param>
 /// <param name="isEnableManageGroupMembers">isEnableManageGroupMembers.</param>
 /// <param name="groupOwner">groupOwner.</param>
 /// <param name="groupOwnerAssignBy">groupOwnerAssignBy.</param>
 /// <param name="spGroupViewType">spGroupViewType.</param>
 /// <param name="spGroupEditType">spGroupEditType.</param>
 /// <param name="spGroupOptionAssignBy">spGroupOptionAssignBy.</param>
 /// <param name="isAllowJoinOrLeaveRequest">isAllowJoinOrLeaveRequest.</param>
 /// <param name="isAutoAcceptRequest">isAutoAcceptRequest.</param>
 /// <param name="sendMembershipRequestEmailAddress">sendMembershipRequestEmailAddress.</param>
 /// <param name="groupRequestAssignBy">groupRequestAssignBy.</param>
 public ManagePermissionSharePointGroupOption(bool isEnableCreateSPGroup = default(bool), bool isEnableDeleteSPGroup = default(bool), bool isEnableManageGroupSettings = default(bool), bool isEnableManageGroupMembers = default(bool), ApiUser groupOwner = default(ApiUser), AssignBy groupOwnerAssignBy = default(AssignBy), SPGroupViewOption spGroupViewType = default(SPGroupViewOption), SPGroupEditOption spGroupEditType = default(SPGroupEditOption), AssignBy spGroupOptionAssignBy = default(AssignBy), bool isAllowJoinOrLeaveRequest = default(bool), bool isAutoAcceptRequest = default(bool), string sendMembershipRequestEmailAddress = default(string), AssignBy groupRequestAssignBy = default(AssignBy))
 {
     this.GroupOwner = groupOwner;
     this.SendMembershipRequestEmailAddress = sendMembershipRequestEmailAddress;
     this.IsEnableCreateSPGroup             = isEnableCreateSPGroup;
     this.IsEnableDeleteSPGroup             = isEnableDeleteSPGroup;
     this.IsEnableManageGroupSettings       = isEnableManageGroupSettings;
     this.IsEnableManageGroupMembers        = isEnableManageGroupMembers;
     this.GroupOwner                        = groupOwner;
     this.GroupOwnerAssignBy                = groupOwnerAssignBy;
     this.SpGroupViewType                   = spGroupViewType;
     this.SpGroupEditType                   = spGroupEditType;
     this.SpGroupOptionAssignBy             = spGroupOptionAssignBy;
     this.IsAllowJoinOrLeaveRequest         = isAllowJoinOrLeaveRequest;
     this.IsAutoAcceptRequest               = isAutoAcceptRequest;
     this.SendMembershipRequestEmailAddress = sendMembershipRequestEmailAddress;
     this.GroupRequestAssignBy              = groupRequestAssignBy;
 }
Example #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClonePermissionService" /> class.
 /// </summary>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="uncheckedNodes">uncheckedNodes.</param>
 /// <param name="sourceUserRestrictionType">sourceUserRestrictionType.</param>
 /// <param name="targetUserRestrictionType">targetUserRestrictionType.</param>
 /// <param name="cloneOption">cloneOption.</param>
 /// <param name="clonePermissionAssignBy">clonePermissionAssignBy.</param>
 /// <param name="additionalCloneOption">additionalCloneOption.</param>
 /// <param name="cloneAdditionalOptionAssignBy">cloneAdditionalOptionAssignBy.</param>
 /// <param name="enabledRemoveExplicitPermission">enabledRemoveExplicitPermission.</param>
 /// <param name="enabledRemoveUserFromSPGroup">enabledRemoveUserFromSPGroup.</param>
 /// <param name="enabledDeleteUserPermission">enabledDeleteUserPermission.</param>
 /// <param name="transferOptionValueAssignBy">transferOptionValueAssignBy.</param>
 /// <param name="isHideTree">isHideTree.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ClonePermissionService(List <TreeNode> selectedNodes = default(List <TreeNode>), List <TreeNode> uncheckedNodes = default(List <TreeNode>), UserLevelRestrictionType sourceUserRestrictionType = default(UserLevelRestrictionType), UserLevelRestrictionType targetUserRestrictionType = default(UserLevelRestrictionType), ClonePermissionOption cloneOption = default(ClonePermissionOption), AssignBy clonePermissionAssignBy = default(AssignBy), ClonePermissionAdditionalOption additionalCloneOption = default(ClonePermissionAdditionalOption), AssignBy cloneAdditionalOptionAssignBy = default(AssignBy), bool enabledRemoveExplicitPermission = default(bool), bool enabledRemoveUserFromSPGroup = default(bool), bool enabledDeleteUserPermission = default(bool), AssignBy transferOptionValueAssignBy = default(AssignBy), bool isHideTree = default(bool), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.SelectedNodes                   = selectedNodes;
     this.UncheckedNodes                  = uncheckedNodes;
     this.ScopeSettings                   = scopeSettings;
     this.Metadatas                       = metadatas;
     this.Name                            = name;
     this.Description                     = description;
     this.Department                      = department;
     this.Departments                     = departments;
     this.ServiceContact                  = serviceContact;
     this.ServiceAdminContact             = serviceAdminContact;
     this.CustomActions                   = customActions;
     this.CategoryId                      = categoryId;
     this.SelectedNodes                   = selectedNodes;
     this.UncheckedNodes                  = uncheckedNodes;
     this.SourceUserRestrictionType       = sourceUserRestrictionType;
     this.TargetUserRestrictionType       = targetUserRestrictionType;
     this.CloneOption                     = cloneOption;
     this.ClonePermissionAssignBy         = clonePermissionAssignBy;
     this.AdditionalCloneOption           = additionalCloneOption;
     this.CloneAdditionalOptionAssignBy   = cloneAdditionalOptionAssignBy;
     this.EnabledRemoveExplicitPermission = enabledRemoveExplicitPermission;
     this.EnabledRemoveUserFromSPGroup    = enabledRemoveUserFromSPGroup;
     this.EnabledDeleteUserPermission     = enabledDeleteUserPermission;
     this.TransferOptionValueAssignBy     = transferOptionValueAssignBy;
     this.IsHideTree                      = isHideTree;
     this.ScopeSettings                   = scopeSettings;
     this.DepartmentAssignBy              = departmentAssignBy;
     this.Metadatas                       = metadatas;
     this.HideRequestSummary              = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Example #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiGeoSetting" /> class.
 /// </summary>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="controlMode">controlMode.</param>
 /// <param name="defaultLocation">defaultLocation.</param>
 /// <param name="selectedLocations">selectedLocations.</param>
 /// <param name="locationAssignBy">locationAssignBy.</param>
 /// <param name="userRoleForLocation">userRoleForLocation.</param>
 /// <param name="allLocations">allLocations.</param>
 public MultiGeoSetting(bool isEnabled = default(bool), MultiGeoControlMode controlMode = default(MultiGeoControlMode), GeoLocationBase defaultLocation = default(GeoLocationBase), List <GeoLocationBase> selectedLocations = default(List <GeoLocationBase>), AssignBy locationAssignBy = default(AssignBy), string userRoleForLocation = default(string), List <GeoLocationBase> allLocations = default(List <GeoLocationBase>))
 {
     this.DefaultLocation     = defaultLocation;
     this.SelectedLocations   = selectedLocations;
     this.UserRoleForLocation = userRoleForLocation;
     this.AllLocations        = allLocations;
     this.IsEnabled           = isEnabled;
     this.ControlMode         = controlMode;
     this.DefaultLocation     = defaultLocation;
     this.SelectedLocations   = selectedLocations;
     this.LocationAssignBy    = locationAssignBy;
     this.UserRoleForLocation = userRoleForLocation;
     this.AllLocations        = allLocations;
 }
Example #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DpmServiceSetting" /> class.
 /// </summary>
 /// <param name="isEnabled">isEnabled.</param>
 /// <param name="defaultValue">defaultValue.</param>
 /// <param name="selectedItems">selectedItems.</param>
 /// <param name="assignBy">assignBy.</param>
 public DpmServiceSetting(bool isEnabled = default(bool), string defaultValue = default(string), List <string> selectedItems = default(List <string>), AssignBy assignBy = default(AssignBy))
 {
     this.DefaultValue  = defaultValue;
     this.SelectedItems = selectedItems;
     this.IsEnabled     = isEnabled;
     this.DefaultValue  = defaultValue;
     this.SelectedItems = selectedItems;
     this.AssignBy      = assignBy;
 }
Example #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateListService" /> class.
 /// </summary>
 /// <param name="enableNavigation">enableNavigation.</param>
 /// <param name="defaultListType">defaultListType.</param>
 /// <param name="versionSettings">versionSettings.</param>
 /// <param name="listTemplateSettings">listTemplateSettings.</param>
 /// <param name="urlSettings">urlSettings.</param>
 /// <param name="allowBreakPermissionInheritance">allowBreakPermissionInheritance.</param>
 /// <param name="permissionSettings">permissionSettings.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="listVersionAssignBy">listVersionAssignBy.</param>
 /// <param name="listTemplateAssignBy">listTemplateAssignBy.</param>
 /// <param name="navigationAssignBy">navigationAssignBy.</param>
 /// <param name="listTypeAssignBy">listTypeAssignBy.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public CreateListService(bool enableNavigation = default(bool), ListType defaultListType = default(ListType), ListVersionSettings versionSettings = default(ListVersionSettings), ListTemplateSettings listTemplateSettings = default(ListTemplateSettings), CreateListUrlSettings urlSettings = default(CreateListUrlSettings), bool allowBreakPermissionInheritance = default(bool), PermissionSettings permissionSettings = default(PermissionSettings), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), AssignBy listVersionAssignBy = default(AssignBy), AssignBy listTemplateAssignBy = default(AssignBy), AssignBy navigationAssignBy = default(AssignBy), AssignBy listTypeAssignBy = default(AssignBy), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.EnableNavigation                = enableNavigation;
     this.DefaultListType                 = defaultListType;
     this.VersionSettings                 = versionSettings;
     this.ListTemplateSettings            = listTemplateSettings;
     this.UrlSettings                     = urlSettings;
     this.AllowBreakPermissionInheritance = allowBreakPermissionInheritance;
     this.PermissionSettings              = permissionSettings;
     this.ScopeSettings                   = scopeSettings;
     this.ListVersionAssignBy             = listVersionAssignBy;
     this.ListTemplateAssignBy            = listTemplateAssignBy;
     this.NavigationAssignBy              = navigationAssignBy;
     this.ListTypeAssignBy                = listTypeAssignBy;
     this.DepartmentAssignBy              = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Example #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateWebService" /> class.
 /// </summary>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="webLanguages">webLanguages.</param>
 /// <param name="languageIdsAndTemplates">languageIdsAndTemplates.</param>
 /// <param name="templateIdsAndPermissions">templateIdsAndPermissions.</param>
 /// <param name="permissionSettings">permissionSettings.</param>
 /// <param name="useUniquePermissions">useUniquePermissions.</param>
 /// <param name="deploymentManagerPlanSettings">deploymentManagerPlanSettings.</param>
 /// <param name="yammerGroupSettings">yammerGroupSettings.</param>
 /// <param name="templateStoreUrl">templateStoreUrl.</param>
 /// <param name="appSettings">appSettings.</param>
 /// <param name="notifyPrimaryContactSettings">notifyPrimaryContactSettings.</param>
 /// <param name="notifySecondaryContactSettings">notifySecondaryContactSettings.</param>
 /// <param name="defaultPrimaryContact">defaultPrimaryContact.</param>
 /// <param name="defaultSecondaryContact">defaultSecondaryContact.</param>
 /// <param name="isOnQuickLaunch">isOnQuickLaunch.</param>
 /// <param name="isOnTopLinkBar">isOnTopLinkBar.</param>
 /// <param name="isNavigationInheritance">isNavigationInheritance.</param>
 /// <param name="defaultWebLanguage">defaultWebLanguage.</param>
 /// <param name="scopeAssignBy">scopeAssignBy.</param>
 /// <param name="webLanguageAssignBy">webLanguageAssignBy.</param>
 /// <param name="templateAssignBy">templateAssignBy.</param>
 /// <param name="navigationInheritanceAssignBy">navigationInheritanceAssignBy.</param>
 /// <param name="navigationAssignBy">navigationAssignBy.</param>
 /// <param name="primaryContactAssignBy">primaryContactAssignBy.</param>
 /// <param name="secondaryContactAssignBy">secondaryContactAssignBy.</param>
 /// <param name="permissionAssignBy">permissionAssignBy.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public CreateWebService(CreateWebScopeSettings scopeSettings = default(CreateWebScopeSettings), List <IntModel> webLanguages = default(List <IntModel>), List <LanguageWithTemplates> languageIdsAndTemplates = default(List <LanguageWithTemplates>), List <TemplateWithPermissions> templateIdsAndPermissions = default(List <TemplateWithPermissions>), PermissionSettings permissionSettings = default(PermissionSettings), bool useUniquePermissions = default(bool), DeploymentManagerPlanSettings deploymentManagerPlanSettings = default(DeploymentManagerPlanSettings), YammerGroupServiceSettings yammerGroupSettings = default(YammerGroupServiceSettings), string templateStoreUrl = default(string), AppSettings appSettings = default(AppSettings), GuidBooleanModel notifyPrimaryContactSettings = default(GuidBooleanModel), GuidBooleanModel notifySecondaryContactSettings = default(GuidBooleanModel), ApiUser defaultPrimaryContact = default(ApiUser), ApiUser defaultSecondaryContact = default(ApiUser), bool isOnQuickLaunch = default(bool), bool isOnTopLinkBar = default(bool), bool isNavigationInheritance = default(bool), int defaultWebLanguage = default(int), AssignBy scopeAssignBy = default(AssignBy), AssignBy webLanguageAssignBy = default(AssignBy), AssignBy templateAssignBy = default(AssignBy), AssignBy navigationInheritanceAssignBy = default(AssignBy), AssignBy navigationAssignBy = default(AssignBy), AssignBy primaryContactAssignBy = default(AssignBy), AssignBy secondaryContactAssignBy = default(AssignBy), AssignBy permissionAssignBy = default(AssignBy), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.ScopeSettings                 = scopeSettings;
     this.WebLanguages                  = webLanguages;
     this.LanguageIdsAndTemplates       = languageIdsAndTemplates;
     this.TemplateIdsAndPermissions     = templateIdsAndPermissions;
     this.PermissionSettings            = permissionSettings;
     this.UseUniquePermissions          = useUniquePermissions;
     this.DeploymentManagerPlanSettings = deploymentManagerPlanSettings;
     this.YammerGroupSettings           = yammerGroupSettings;
     this.TemplateStoreUrl              = templateStoreUrl;
     this.AppSettings = appSettings;
     this.NotifyPrimaryContactSettings   = notifyPrimaryContactSettings;
     this.NotifySecondaryContactSettings = notifySecondaryContactSettings;
     this.DefaultPrimaryContact          = defaultPrimaryContact;
     this.DefaultSecondaryContact        = defaultSecondaryContact;
     this.IsOnQuickLaunch               = isOnQuickLaunch;
     this.IsOnTopLinkBar                = isOnTopLinkBar;
     this.IsNavigationInheritance       = isNavigationInheritance;
     this.DefaultWebLanguage            = defaultWebLanguage;
     this.ScopeAssignBy                 = scopeAssignBy;
     this.WebLanguageAssignBy           = webLanguageAssignBy;
     this.TemplateAssignBy              = templateAssignBy;
     this.NavigationInheritanceAssignBy = navigationInheritanceAssignBy;
     this.NavigationAssignBy            = navigationAssignBy;
     this.PrimaryContactAssignBy        = primaryContactAssignBy;
     this.SecondaryContactAssignBy      = secondaryContactAssignBy;
     this.PermissionAssignBy            = permissionAssignBy;
     this.DepartmentAssignBy            = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Example #24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CopyMoveSettingAssignBy" /> class.
 /// </summary>
 /// <param name="configurationAssignBy">configurationAssignBy.</param>
 /// <param name="securityAssignBy">securityAssignBy.</param>
 /// <param name="contentAssignBy">contentAssignBy.</param>
 public CopyMoveSettingAssignBy(AssignBy configurationAssignBy = default(AssignBy), AssignBy securityAssignBy = default(AssignBy), AssignBy contentAssignBy = default(AssignBy))
 {
     this.ConfigurationAssignBy = configurationAssignBy;
     this.SecurityAssignBy      = securityAssignBy;
     this.ContentAssignBy       = contentAssignBy;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DeploymentManagerPlanSettings" /> class.
 /// </summary>
 /// <param name="enabled">enabled.</param>
 /// <param name="plans">plans.</param>
 /// <param name="assignBy">assignBy.</param>
 /// <param name="_default">_default.</param>
 public DeploymentManagerPlanSettings(bool enabled = default(bool), List <string> plans = default(List <string>), AssignBy assignBy = default(AssignBy), string _default = default(string))
 {
     this.Plans    = plans;
     this.Default  = _default;
     this.Enabled  = enabled;
     this.Plans    = plans;
     this.AssignBy = assignBy;
     this.Default  = _default;
 }
Example #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentMoveService" /> class.
 /// </summary>
 /// <param name="method">method.</param>
 /// <param name="action">action.</param>
 /// <param name="copySettings">copySettings.</param>
 /// <param name="moveSettings">moveSettings.</param>
 /// <param name="commonSettings">commonSettings.</param>
 /// <param name="conflictResolutionAssignBy">conflictResolutionAssignBy.</param>
 /// <param name="deleteTypeAssignBy">deleteTypeAssignBy.</param>
 /// <param name="deleteCheckedFilesAssignBy">deleteCheckedFilesAssignBy.</param>
 /// <param name="filterPolicyAssignBy">filterPolicyAssignBy.</param>
 /// <param name="methodAssignBy">methodAssignBy.</param>
 /// <param name="actionAssignBy">actionAssignBy.</param>
 /// <param name="copySettingAssignBy">copySettingAssignBy.</param>
 /// <param name="moveSettingAssignBy">moveSettingAssignBy.</param>
 /// <param name="versionsAssignBy">versionsAssignBy.</param>
 /// <param name="workflowAssignBy">workflowAssignBy.</param>
 /// <param name="informationRightsManagementAssignBy">informationRightsManagementAssignBy.</param>
 /// <param name="nullColumnValueAssignBy">nullColumnValueAssignBy.</param>
 /// <param name="modifiedByAndModifiedTimeAssignBy">modifiedByAndModifiedTimeAssignBy.</param>
 /// <param name="mappingSettingAssignBy">mappingSettingAssignBy.</param>
 /// <param name="backupEnvironmentAssignBy">backupEnvironmentAssignBy.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ContentMoveService(ContentMoveMethod method = default(ContentMoveMethod), ContentMoveAction action = default(ContentMoveAction), CopyMoveSetting copySettings = default(CopyMoveSetting), CopyMoveSetting moveSettings = default(CopyMoveSetting), ContentMoveCommonSetting commonSettings = default(ContentMoveCommonSetting), AssignBy conflictResolutionAssignBy = default(AssignBy), AssignBy deleteTypeAssignBy = default(AssignBy), AssignBy deleteCheckedFilesAssignBy = default(AssignBy), AssignBy filterPolicyAssignBy = default(AssignBy), AssignBy methodAssignBy = default(AssignBy), AssignBy actionAssignBy = default(AssignBy), CopyMoveSettingAssignBy copySettingAssignBy = default(CopyMoveSettingAssignBy), CopyMoveSettingAssignBy moveSettingAssignBy = default(CopyMoveSettingAssignBy), AssignBy versionsAssignBy = default(AssignBy), AssignBy workflowAssignBy = default(AssignBy), AssignBy informationRightsManagementAssignBy = default(AssignBy), AssignBy nullColumnValueAssignBy = default(AssignBy), AssignBy modifiedByAndModifiedTimeAssignBy = default(AssignBy), AssignBy mappingSettingAssignBy = default(AssignBy), AssignBy backupEnvironmentAssignBy = default(AssignBy), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.CopySettings        = copySettings;
     this.MoveSettings        = moveSettings;
     this.CommonSettings      = commonSettings;
     this.CopySettingAssignBy = copySettingAssignBy;
     this.MoveSettingAssignBy = moveSettingAssignBy;
     this.Metadatas           = metadatas;
     this.Name                                = name;
     this.Description                         = description;
     this.Department                          = department;
     this.Departments                         = departments;
     this.ServiceContact                      = serviceContact;
     this.ServiceAdminContact                 = serviceAdminContact;
     this.CustomActions                       = customActions;
     this.CategoryId                          = categoryId;
     this.Method                              = method;
     this.Action                              = action;
     this.CopySettings                        = copySettings;
     this.MoveSettings                        = moveSettings;
     this.CommonSettings                      = commonSettings;
     this.ConflictResolutionAssignBy          = conflictResolutionAssignBy;
     this.DeleteTypeAssignBy                  = deleteTypeAssignBy;
     this.DeleteCheckedFilesAssignBy          = deleteCheckedFilesAssignBy;
     this.FilterPolicyAssignBy                = filterPolicyAssignBy;
     this.MethodAssignBy                      = methodAssignBy;
     this.ActionAssignBy                      = actionAssignBy;
     this.CopySettingAssignBy                 = copySettingAssignBy;
     this.MoveSettingAssignBy                 = moveSettingAssignBy;
     this.VersionsAssignBy                    = versionsAssignBy;
     this.WorkflowAssignBy                    = workflowAssignBy;
     this.InformationRightsManagementAssignBy = informationRightsManagementAssignBy;
     this.NullColumnValueAssignBy             = nullColumnValueAssignBy;
     this.ModifiedByAndModifiedTimeAssignBy   = modifiedByAndModifiedTimeAssignBy;
     this.MappingSettingAssignBy              = mappingSettingAssignBy;
     this.BackupEnvironmentAssignBy           = backupEnvironmentAssignBy;
     this.DepartmentAssignBy                  = departmentAssignBy;
     this.Metadatas                           = metadatas;
     this.HideRequestSummary                  = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Example #27
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangePermissionService" /> class.
 /// </summary>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="uncheckedNodes">uncheckedNodes.</param>
 /// <param name="userRestrictionType">userRestrictionType.</param>
 /// <param name="permissionChangedType">permissionChangedType.</param>
 /// <param name="permissionChangedTypeAssignBy">permissionChangedTypeAssignBy.</param>
 /// <param name="enabledExcludePermissions">enabledExcludePermissions.</param>
 /// <param name="excludedPermissions">excludedPermissions.</param>
 /// <param name="reviewTaskEmailTemplate">reviewTaskEmailTemplate.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="stageCount">stageCount.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ChangePermissionService(List <TreeNode> selectedNodes = default(List <TreeNode>), List <TreeNode> uncheckedNodes = default(List <TreeNode>), UserLevelRestrictionType userRestrictionType = default(UserLevelRestrictionType), PermissionChangedType permissionChangedType = default(PermissionChangedType), AssignBy permissionChangedTypeAssignBy = default(AssignBy), bool enabledExcludePermissions = default(bool), List <PermissionLevel> excludedPermissions = default(List <PermissionLevel>), GuidModel reviewTaskEmailTemplate = default(GuidModel), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), int stageCount = default(int), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.SelectedNodes                 = selectedNodes;
     this.UncheckedNodes                = uncheckedNodes;
     this.UserRestrictionType           = userRestrictionType;
     this.PermissionChangedType         = permissionChangedType;
     this.PermissionChangedTypeAssignBy = permissionChangedTypeAssignBy;
     this.EnabledExcludePermissions     = enabledExcludePermissions;
     this.ExcludedPermissions           = excludedPermissions;
     this.ReviewTaskEmailTemplate       = reviewTaskEmailTemplate;
     this.ScopeSettings                 = scopeSettings;
     this.StageCount         = stageCount;
     this.DepartmentAssignBy = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="YammerGroupServiceSettings" /> class.
 /// </summary>
 /// <param name="networkId">networkId.</param>
 /// <param name="allowCreate">allowCreate.</param>
 /// <param name="allowReuseExisting">allowReuseExisting.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="createNewGroupAssignBy">createNewGroupAssignBy.</param>
 /// <param name="nameOrId">nameOrId.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="joinType">joinType.</param>
 /// <param name="isListInDirectory">isListInDirectory.</param>
 /// <param name="isGroupAlreadyExisted">isGroupAlreadyExisted.</param>
 public YammerGroupServiceSettings(string networkId = default(string), bool allowCreate = default(bool), bool allowReuseExisting = default(bool), bool enabled = default(bool), AssignBy createNewGroupAssignBy = default(AssignBy), string nameOrId = default(string), string description = default(string), YammerGroupType type = default(YammerGroupType), YammerGroupJoinType joinType = default(YammerGroupJoinType), bool isListInDirectory = default(bool), bool isGroupAlreadyExisted = default(bool))
 {
     this.NetworkId              = networkId;
     this.NameOrId               = nameOrId;
     this.Description            = description;
     this.NetworkId              = networkId;
     this.AllowCreate            = allowCreate;
     this.AllowReuseExisting     = allowReuseExisting;
     this.Enabled                = enabled;
     this.CreateNewGroupAssignBy = createNewGroupAssignBy;
     this.NameOrId               = nameOrId;
     this.Description            = description;
     this.Type                  = type;
     this.JoinType              = joinType;
     this.IsListInDirectory     = isListInDirectory;
     this.IsGroupAlreadyExisted = isGroupAlreadyExisted;
 }
Example #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GrantPermissionService" /> class.
 /// </summary>
 /// <param name="allowBreakPermissionInheritance">allowBreakPermissionInheritance.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="userLevelControlSettings">userLevelControlSettings.</param>
 /// <param name="permissionDurationSettings">permissionDurationSettings.</param>
 /// <param name="permissionSettings">permissionSettings.</param>
 /// <param name="defaultWelcomeEmailSettings">defaultWelcomeEmailSettings.</param>
 /// <param name="welcomeEmailAssignBy">welcomeEmailAssignBy.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public GrantPermissionService(bool allowBreakPermissionInheritance = default(bool), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), UserLevelControlSettings userLevelControlSettings = default(UserLevelControlSettings), GrantPermissionServiceDurationSettings permissionDurationSettings = default(GrantPermissionServiceDurationSettings), GrantPermissionServicePermissionSettings permissionSettings = default(GrantPermissionServicePermissionSettings), WelcomeEmailSettings defaultWelcomeEmailSettings = default(WelcomeEmailSettings), AssignBy welcomeEmailAssignBy = default(AssignBy), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.AllowBreakPermissionInheritance = allowBreakPermissionInheritance;
     this.ScopeSettings               = scopeSettings;
     this.UserLevelControlSettings    = userLevelControlSettings;
     this.PermissionDurationSettings  = permissionDurationSettings;
     this.PermissionSettings          = permissionSettings;
     this.DefaultWelcomeEmailSettings = defaultWelcomeEmailSettings;
     this.WelcomeEmailAssignBy        = welcomeEmailAssignBy;
     this.DepartmentAssignBy          = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }
Example #30
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChangeWebContactService" /> class.
 /// </summary>
 /// <param name="selectedNodes">selectedNodes.</param>
 /// <param name="unCheckedNodesInfo">unCheckedNodesInfo.</param>
 /// <param name="changeMethod">changeMethod.</param>
 /// <param name="changeMethodAssignBy">changeMethodAssignBy.</param>
 /// <param name="enableNotifyNewContact">enableNotifyNewContact.</param>
 /// <param name="newContactNotifiedEmail">newContactNotifiedEmail.</param>
 /// <param name="scopeSettings">scopeSettings.</param>
 /// <param name="departmentAssignBy">departmentAssignBy.</param>
 /// <param name="metadatas">metadatas.</param>
 /// <param name="hideRequestSummary">hideRequestSummary.</param>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="type">type.</param>
 /// <param name="department">department.</param>
 /// <param name="loadDepartmentFromUps">loadDepartmentFromUps.</param>
 /// <param name="departments">departments.</param>
 /// <param name="serviceContact">serviceContact.</param>
 /// <param name="serviceAdminContact">serviceAdminContact.</param>
 /// <param name="approversContainManagerRole">approversContainManagerRole.</param>
 /// <param name="status">status.</param>
 /// <param name="showServiceInCatalog">showServiceInCatalog.</param>
 /// <param name="customActions">customActions.</param>
 /// <param name="approvalProcessId">approvalProcessId.</param>
 /// <param name="languageId">languageId.</param>
 /// <param name="categoryId">categoryId.</param>
 public ChangeWebContactService(string selectedNodes = default(string), string unCheckedNodesInfo = default(string), ChangeContactMethod changeMethod = default(ChangeContactMethod), AssignBy changeMethodAssignBy = default(AssignBy), bool enableNotifyNewContact = default(bool), Guid?newContactNotifiedEmail = default(Guid?), ServiceScopeSettings scopeSettings = default(ServiceScopeSettings), AssignBy departmentAssignBy = default(AssignBy), List <CustomMetadata> metadatas = default(List <CustomMetadata>), bool hideRequestSummary = default(bool), Guid id = default(Guid), string name = default(string), string description = default(string), ServiceType type = default(ServiceType), string department = default(string), bool loadDepartmentFromUps = default(bool), List <string> departments = default(List <string>), ApiUser serviceContact = default(ApiUser), ApiUser serviceAdminContact = default(ApiUser), bool approversContainManagerRole = default(bool), CommonStatus status = default(CommonStatus), bool showServiceInCatalog = default(bool), CustomActionSettings customActions = default(CustomActionSettings), Guid approvalProcessId = default(Guid), int languageId = default(int), string categoryId = default(string))
 {
     this.SelectedNodes           = selectedNodes;
     this.UnCheckedNodesInfo      = unCheckedNodesInfo;
     this.ChangeMethod            = changeMethod;
     this.ChangeMethodAssignBy    = changeMethodAssignBy;
     this.EnableNotifyNewContact  = enableNotifyNewContact;
     this.NewContactNotifiedEmail = newContactNotifiedEmail;
     this.ScopeSettings           = scopeSettings;
     this.DepartmentAssignBy      = departmentAssignBy;
     this.Metadatas          = metadatas;
     this.HideRequestSummary = hideRequestSummary;
     this.Id                          = id;
     this.Name                        = name;
     this.Description                 = description;
     this.Type                        = type;
     this.Department                  = department;
     this.LoadDepartmentFromUps       = loadDepartmentFromUps;
     this.Departments                 = departments;
     this.ServiceContact              = serviceContact;
     this.ServiceAdminContact         = serviceAdminContact;
     this.ApproversContainManagerRole = approversContainManagerRole;
     this.Status                      = status;
     this.ShowServiceInCatalog        = showServiceInCatalog;
     this.CustomActions               = customActions;
     this.ApprovalProcessId           = approvalProcessId;
     this.LanguageId                  = languageId;
     this.CategoryId                  = categoryId;
 }