Update code to properly format the AS Tags
This commit is contained in:
@@ -35,4 +35,13 @@
|
||||
public string slug { get; set; }
|
||||
public string color { get; set; }
|
||||
}
|
||||
|
||||
public class CommunityTag
|
||||
{
|
||||
public int ASN { get; set; }
|
||||
public int CommunityValue { get; set; }
|
||||
public string FormattedVaule => $"{this.ASN}:{this.CommunityValue}";
|
||||
public string? Description { get; set; }
|
||||
public IList<Tag>? Tag { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user