Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MahdiKarimipour/bdbc2f202bcb12944aea54fa010aa6a8 to your computer and use it in GitHub Desktop.
Save MahdiKarimipour/bdbc2f202bcb12944aea54fa010aa6a8 to your computer and use it in GitHub Desktop.
Invite User to Azure DevOps Organisation: Response
public class AzureDevOpsInviteUserToOrganisationResponseDto
{
public string id { get; set; }
public string status { get; set; }
public bool haveResultsSucceeded { get; set; }
public bool completed { get; set; }
public Result[] results { get; set; }
public class Result
{
public bool isSuccess { get; set; }
public object[] errors { get; set; }
public string userId { get; set; }
public Result1 result { get; set; }
}
public class Result1
{
public string id { get; set; }
public User user { get; set; }
public Accesslevel accessLevel { get; set; }
public DateTime lastAccessedDate { get; set; }
public DateTime dateCreated { get; set; }
public object[] projectEntitlements { get; set; }
public object[] extensions { get; set; }
public object[] groupAssignments { get; set; }
}
public class User
{
public string subjectKind { get; set; }
public string domain { get; set; }
public string principalName { get; set; }
public string mailAddress { get; set; }
public string origin { get; set; }
public object 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 Avatar avatar { 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; }
}
public class Avatar
{
public string href { get; set; }
}
public class Accesslevel
{
public string licensingSource { get; set; }
public string accountLicenseType { get; set; }
public string msdnLicenseType { get; set; }
public string licenseDisplayName { get; set; }
public string status { get; set; }
public string statusMessage { get; set; }
public string assignmentSource { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment