Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Properties Updated #10

Closed
Closed
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
37 changes: 36 additions & 1 deletion PlanGrid.Api/Project.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// <copyright file="Project.cs" company="PlanGrid, Inc.">
// Copyright (c) 2016 PlanGrid, Inc. All rights reserved.
// </copyright>

using Newtonsoft.Json;

namespace PlanGrid.Api
Expand All @@ -10,5 +9,41 @@ public class Project : Record
{
[JsonProperty("name")]
public string Name { get; set; }

[JsonProperty("custom_id")]
public string CustomId { get; set; }

[JsonProperty("type")]
public string Type { get; set; }

[JsonProperty("status")]
public string Status { get; set; }

[JsonProperty("owner")]
public string Owner { get; set; }

[JsonProperty("start_date")]
public Date? StartDate { get; set; }

[JsonProperty("end_date")]
public Date? EndDate { get; set; }

[JsonProperty("street_1")]
public string Street1 { get; set; }

[JsonProperty("street_2")]
public string Street2 { get; set; }

[JsonProperty("city")]
public string City { get; set; }

[JsonProperty("region")]
public string Region { get; set; }

[JsonProperty("postal_code")]
public string PostalCode { get; set; }

[JsonProperty("country")]
public string Country { get; set; }
}
}
36 changes: 36 additions & 0 deletions PlanGrid.Api/ProjectUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,41 @@ public class ProjectUpdate
{
[JsonProperty("name")]
public string Name { get; set; }

[JsonProperty("custom_id")]
public string CustomId { get; set; }

[JsonProperty("type")]
public string Type { get; set; }

[JsonProperty("status")]
public string Status { get; set; }

[JsonProperty("owner")]
public string Owner { get; set; }

[JsonProperty("start_date")]
public Date? StartDate { get; set; }

[JsonProperty("end_date")]
public Date? EndDate { get; set; }

[JsonProperty("street_1")]
public string Street1 { get; set; }

[JsonProperty("street_2")]
public string Street2 { get; set; }

[JsonProperty("city")]
public string City { get; set; }

[JsonProperty("region")]
public string Region { get; set; }

[JsonProperty("postal_code")]
public string PostalCode { get; set; }

[JsonProperty("country")]
public string Country { get; set; }
}
}