Implement tags since adding tags can crash the app on the netbox side
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
public string Name { get; set; }
|
||||
public string Tenant { get; set; }
|
||||
public string Description { get; set; }
|
||||
public IList<string> Tags { get; set; }
|
||||
public IList<Tag> Tags { get; set; }
|
||||
public CustomFields CustomFields { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
public DateTime LastUpdated { get; set; }
|
||||
@@ -25,4 +25,14 @@
|
||||
public object Previous { get; set; }
|
||||
public IList<Result> Results { get; set; }
|
||||
}
|
||||
|
||||
public class Tag
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string url { get; set; }
|
||||
public string display { get; set; }
|
||||
public string name { get; set; }
|
||||
public string slug { get; set; }
|
||||
public string color { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user