Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MahdiKarimipour/43269684d8364f45572dfc2f1fd80f0c to your computer and use it in GitHub Desktop.
Save MahdiKarimipour/43269684d8364f45572dfc2f1fd80f0c to your computer and use it in GitHub Desktop.
Get Project Groups using Azure DevOps REST APIs
public class AzureDevOpsGetProjectGroupsResponseDto
{
public int count { get; set; }
public Value[] value { get; set; }
public class Value
{
public string subjectKind { get; set; }
public string description { get; set; }
public string domain { get; set; }
public string principalName { get; set; }
public object mailAddress { get; set; }
public string origin { get; set; }
public string originId { get; set; }
public string displayName { get; set; }
public _Links _links { get; set; }
public string url { get; set; }
public string descriptor { get; set; }
}
public class _Links
{
public Self self { get; set; }
public Memberships memberships { get; set; }
public Membershipstate membershipState { get; set; }
public Storagekey storageKey { get; set; }
}
public class Self
{
public string href { get; set; }
}
public class Memberships
{
public string href { get; set; }
}
public class Membershipstate
{
public string href { get; set; }
}
public class Storagekey
{
public string href { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment