public GetProjectDetailsRequestBody(string apiToken, string projectName, ProjectServicesEndpoint.ArrayOfInt businessUnitIDs, System.Nullable <bool> activeOnly, int startRow, int pageSize) { this.apiToken = apiToken; this.projectName = projectName; this.businessUnitIDs = businessUnitIDs; this.activeOnly = activeOnly; this.startRow = startRow; this.pageSize = pageSize; }
private ProjectServicesEndpoint.ArrayOfInt GetProjectArrayOfInt(int[] array) { ProjectServicesEndpoint.ArrayOfInt arrayOfInt; if (array != null) { arrayOfInt = new ProjectServicesEndpoint.ArrayOfInt(); arrayOfInt.AddRange(array ?? new int[] { }); } else { arrayOfInt = null; } return(arrayOfInt); }
public System.Threading.Tasks.Task <ProjectServicesEndpoint.GetProjectDetailsResponse> GetProjectDetailsAsync(string apiToken, string projectName, ProjectServicesEndpoint.ArrayOfInt businessUnitIDs, System.Nullable <bool> activeOnly, int startRow, int pageSize) { ProjectServicesEndpoint.GetProjectDetailsRequest inValue = new ProjectServicesEndpoint.GetProjectDetailsRequest(); inValue.Body = new ProjectServicesEndpoint.GetProjectDetailsRequestBody(); inValue.Body.apiToken = apiToken; inValue.Body.projectName = projectName; inValue.Body.businessUnitIDs = businessUnitIDs; inValue.Body.activeOnly = activeOnly; inValue.Body.startRow = startRow; inValue.Body.pageSize = pageSize; return(((ProjectServicesEndpoint.API_ProjectServicesSoap)(this)).GetProjectDetailsAsync(inValue)); }