Skip to content

Commit

Permalink
add description to team resource (#462)
Browse files Browse the repository at this point in the history
add description to team resource
  • Loading branch information
ankithkonda authored Sep 17, 2019
1 parent fdc8c58 commit 87f38d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4484,6 +4484,7 @@ Octopus.Client.Model
Boolean CanBeRenamed { get; set; }
Boolean CanChangeMembers { get; set; }
Boolean CanChangeRoles { get; set; }
String Description { get; set; }
Octopus.Client.Model.NamedReferenceItemCollection ExternalSecurityGroups { get; set; }
Octopus.Client.Model.ReferenceCollection MemberUserIds { get; set; }
String Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4506,6 +4506,7 @@ Octopus.Client.Model
Boolean CanBeRenamed { get; set; }
Boolean CanChangeMembers { get; set; }
Boolean CanChangeRoles { get; set; }
String Description { get; set; }
Octopus.Client.Model.NamedReferenceItemCollection ExternalSecurityGroups { get; set; }
Octopus.Client.Model.ReferenceCollection MemberUserIds { get; set; }
String Name { get; set; }
Expand Down
8 changes: 8 additions & 0 deletions source/Octopus.Client/Model/TeamResource.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Octopus.Client.Extensibility;
using Octopus.Client.Extensibility.Attributes;

Expand All @@ -19,6 +20,13 @@ public TeamResource()
[Trim]
public string Name { get; set; }

/// <summary>
/// Gets or sets the description for this team.
/// </summary>
[Writeable]
[JsonProperty(Order = 20)]
public string Description { get; set; }

/// <summary>
/// The users who belong to the team.
/// </summary>
Expand Down

0 comments on commit 87f38d9

Please sign in to comment.