Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentMoveRequest" /> class.
 /// </summary>
 /// <param name="method">method.</param>
 /// <param name="copySettings">copySettings.</param>
 /// <param name="moveSettings">moveSettings.</param>
 /// <param name="commonSettings">commonSettings.</param>
 /// <param name="objectMappings">objectMappings.</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 ContentMoveRequest(ContentMoveMethod method = default(ContentMoveMethod), CopyMoveSetting copySettings = default(CopyMoveSetting), CopyMoveSetting moveSettings = default(CopyMoveSetting), ContentMoveCommonSetting commonSettings = default(ContentMoveCommonSetting), List <ContentMoveSPObjectMapping> objectMappings = default(List <ContentMoveSPObjectMapping>), 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.Method           = method;
     this.CopySettings     = copySettings;
     this.MoveSettings     = moveSettings;
     this.CommonSettings   = commonSettings;
     this.ObjectMappings   = objectMappings;
     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="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="requestTemplate">requestTemplate.</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>
 /// <param name="details">details.</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?), ContentMoveRequest requestTemplate = default(ContentMoveRequest), 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), string details = default(string))
 {
     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.RequestTemplate                     = requestTemplate;
     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;
     this.Details                     = details;
 }