Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Project" /> class.
 /// </summary>
 /// <param name="activityHistory">activityHistory.</param>
 /// <param name="approvalDetails">approvalDetails.</param>
 /// <param name="assets">assets.</param>
 /// <param name="attributes">attributes.</param>
 /// <param name="balances">balances.</param>
 /// <param name="billingAndAllocationSettings">billingAndAllocationSettings.</param>
 /// <param name="billToSettings">billToSettings.</param>
 /// <param name="customer">customer.</param>
 /// <param name="description">description.</param>
 /// <param name="employees">employees.</param>
 /// <param name="equipments">equipments.</param>
 /// <param name="expenses">expenses.</param>
 /// <param name="externalRefNbr">externalRefNbr.</param>
 /// <param name="gLAccounts">gLAccounts.</param>
 /// <param name="hold">hold.</param>
 /// <param name="income">income.</param>
 /// <param name="invoices">invoices.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="liabilities">liabilities.</param>
 /// <param name="projectID">projectID.</param>
 /// <param name="projectProperties">projectProperties.</param>
 /// <param name="projectTemplateID">projectTemplateID.</param>
 /// <param name="status">status.</param>
 /// <param name="unionLocals">unionLocals.</param>
 /// <param name="visibilitySettings">visibilitySettings.</param>
 public Project(List <ProjectActivity> activityHistory = default(List <ProjectActivity>), List <Approval> approvalDetails = default(List <Approval>), DecimalValue assets = default(DecimalValue), List <AttributeValue> attributes = default(List <AttributeValue>), List <ProjectBalance> balances = default(List <ProjectBalance>), ProjectBillingAndAllocationSettings billingAndAllocationSettings = default(ProjectBillingAndAllocationSettings), BillToSettings billToSettings = default(BillToSettings), StringValue customer = default(StringValue), StringValue description = default(StringValue), List <ProjectEmployee> employees = default(List <ProjectEmployee>), List <ProjectEquipment> equipments = default(List <ProjectEquipment>), DecimalValue expenses = default(DecimalValue), StringValue externalRefNbr = default(StringValue), ProjectGLAccount gLAccounts = default(ProjectGLAccount), BooleanValue hold = default(BooleanValue), DecimalValue income = default(DecimalValue), List <ProjectProFormaDetails> invoices = default(List <ProjectProFormaDetails>), DateTimeValue lastModifiedDateTime = default(DateTimeValue), DecimalValue liabilities = default(DecimalValue), StringValue projectID = default(StringValue), ProjectProperties projectProperties = default(ProjectProperties), StringValue projectTemplateID = default(StringValue), StringValue status = default(StringValue), List <ProjectUnionLocal> unionLocals = default(List <ProjectUnionLocal>), VisibilitySettings visibilitySettings = default(VisibilitySettings), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.ActivityHistory = activityHistory;
     this.ApprovalDetails = approvalDetails;
     this.Assets          = assets;
     this.Attributes      = attributes;
     this.Balances        = balances;
     this.BillingAndAllocationSettings = billingAndAllocationSettings;
     this.BillToSettings       = billToSettings;
     this.Customer             = customer;
     this.Description          = description;
     this.Employees            = employees;
     this.Equipments           = equipments;
     this.Expenses             = expenses;
     this.ExternalRefNbr       = externalRefNbr;
     this.GLAccounts           = gLAccounts;
     this.Hold                 = hold;
     this.Income               = income;
     this.Invoices             = invoices;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.Liabilities          = liabilities;
     this.ProjectID            = projectID;
     this.ProjectProperties    = projectProperties;
     this.ProjectTemplateID    = projectTemplateID;
     this.Status               = status;
     this.UnionLocals          = unionLocals;
     this.VisibilitySettings   = visibilitySettings;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectTemplate" /> class.
 /// </summary>
 /// <param name="attributes">attributes.</param>
 /// <param name="billingAndAllocationSettings">billingAndAllocationSettings.</param>
 /// <param name="description">description.</param>
 /// <param name="employees">employees.</param>
 /// <param name="equipments">equipments.</param>
 /// <param name="gLAccounts">gLAccounts.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="projectProperties">projectProperties.</param>
 /// <param name="projectTemplateID">projectTemplateID.</param>
 /// <param name="status">status.</param>
 /// <param name="visibilitySettings">visibilitySettings.</param>
 public ProjectTemplate(List <AttributeValue> attributes = default(List <AttributeValue>), ProjectBillingAndAllocationSettings billingAndAllocationSettings = default(ProjectBillingAndAllocationSettings), StringValue description = default(StringValue), List <ProjectEmployee> employees = default(List <ProjectEmployee>), List <ProjectEquipment> equipments = default(List <ProjectEquipment>), ProjectGLAccount gLAccounts = default(ProjectGLAccount), DateTimeValue lastModifiedDateTime = default(DateTimeValue), ProjectProperties projectProperties = default(ProjectProperties), StringValue projectTemplateID = default(StringValue), StringValue status = default(StringValue), VisibilitySettings visibilitySettings = default(VisibilitySettings), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.Attributes = attributes;
     this.BillingAndAllocationSettings = billingAndAllocationSettings;
     this.Description          = description;
     this.Employees            = employees;
     this.Equipments           = equipments;
     this.GLAccounts           = gLAccounts;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.ProjectProperties    = projectProperties;
     this.ProjectTemplateID    = projectTemplateID;
     this.Status             = status;
     this.VisibilitySettings = visibilitySettings;
 }