Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ name: "CodeQL"
on:
push:
branches: [ "master" ]
workflow_dispatch:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: .NET
on:
push:
branches: [ "master" ]
workflow_dispatch:
pull_request:
branches: [ "master" ]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Forbury.Integrations.Helpers.Converters;
using System;
using System.Collections.Generic;
using Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease;
using Newtonsoft.Json;

namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input
Expand All @@ -12,7 +13,8 @@ public class ModelDatumInputDto : IModelInput
{
public List<DatumSpaceDto> Spaces { get; set; } = new List<DatumSpaceDto>();
public DatumSettingsDto Settings { get; set; }

public DatumMarketLeasingAssumptionsDto MarketLeasingAssumptions { get; set; }

public string ExternalId { get; set; }
[JsonConverter(typeof(DateFormatConverter), JsonFormats.DateFormat)] public DateTime? AcquisitionDate { get; set; }
public int? HoldPeriodMonths { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ public class DatumSpaceDto
public string Demise { get; set; }
public decimal? MarketRent { get; set; }
public decimal? LettableArea { get; set; }

public string MarketLeasingAssumptionProfile { get; set; }
public FirstRenewalAssumptionsDto FirstRenewalOverrides { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease.Options;

namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease
{
public class DatumMarketLeasingAssumptionsDto
{
public string Description { get; set; }
public DatumLeaseOptionsDto LeaseOptions { get; set; }
public DatumLeaseVacancyOptionsDto VacancyOptions { get; set; }
public DatumLeaseFeeOptionsDto FeeOptions { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease.Options;
using Forbury.Integrations.Helpers.Converters;
using Newtonsoft.Json;

namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease
{
public class FirstRenewalAssumptionsDto
{
[JsonConverter(typeof(DateFormatConverter), JsonFormats.DateFormat)] public DateTime? StartDate { get; set; }
public decimal BaseRent { get; set; }
public decimal MarketRent { get; set; }
public DatumLeaseOptionsDto LeaseOptions { get; set; }
public DatumLeaseVacancyOptionsDto VacancyOptions { get; set; }
public DatumLeaseFeeOptionsDto FeeOptions { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease.Options
{
public class DatumLeaseFeeOptionsDto
{
public decimal? AgentsLeasingFee { get; set; }
public decimal? LegalLeasingFee { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease.Options
{
public class DatumLeaseOptionsDto
{
public int? TermYears { get; set; }
public string ReviewType { get; set; }
public int? ReviewFrequencyYears { get; set; }
public int? RentFreeMonths { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Forbury.Integrations.API.v1.Dto.Model.Datum.Input.Space.Lease.Options
{
public class DatumLeaseVacancyOptionsDto
{
public int? DowntimeMonths { get; set; }
public int? PreRefurbMonths { get; set; }
public int? RefurbMonths { get; set; }
public decimal? RefurbAmount { get; set; }
}
}
2 changes: 1 addition & 1 deletion src/Forbury.Integrations/Forbury.Integrations.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.7.2</Version>
<Version>1.7.3</Version>
<Authors>Forbury Development Team</Authors>
<Company>Forbury</Company>
<PackageDescription>This .NET client library provides a quick and easy option for integrating with Forbury APIs.</PackageDescription>
Expand Down