Updated Role Model

This commit is contained in:
RogueException
2016-04-09 11:34:51 -03:00
parent a968b4205a
commit ac66f59d4b
2 changed files with 7 additions and 7 deletions

View File

@@ -6,16 +6,16 @@ namespace Discord.API
{
[JsonProperty("id")]
public ulong Id { get; set; }
[JsonProperty("permissions")]
public uint? Permissions { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("position")]
public int? Position { get; set; }
[JsonProperty("hoist")]
public bool? Hoist { get; set; }
[JsonProperty("color")]
public uint? Color { get; set; }
[JsonProperty("hoist")]
public bool? Hoist { get; set; }
[JsonProperty("position")]
public int? Position { get; set; }
[JsonProperty("permissions")]
public uint? Permissions { get; set; }
[JsonProperty("managed")]
public bool? Managed { get; set; }
}

View File

@@ -71,7 +71,7 @@
<Compile Include="API\Common\Unconfirmed\MemberVoiceState.cs" />
<Compile Include="API\Common\Unconfirmed\MessageReference.cs" />
<Compile Include="API\Common\Unconfirmed\Overwrite.cs" />
<Compile Include="API\Common\Unconfirmed\Role.cs" />
<Compile Include="API\Common\Role.cs" />
<Compile Include="API\Common\Unconfirmed\RoleReference.cs" />
<Compile Include="API\Common\User.cs" />
<Compile Include="API\Common\UserGuild.cs" />