move models into their own files

This commit is contained in:
half-ogre
2013-10-08 10:04:29 -07:00
parent ee3ed2dc66
commit 0a8790ab0b
26 changed files with 699 additions and 592 deletions

View File

@@ -0,0 +1,23 @@
using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public class AuthorizationUpdate
{
/// <summary>
/// Replace scopes with this list.
/// </summary>
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification = "Special type of model object that only updates none-null fields.")]
public string[] Scopes { get; set; }
/// <summary>
/// Notes about this particular <see cref="Authorization"/>.
/// </summary>
public string Note { get; set; }
/// <summary>
/// A url for more information about notes.
/// </summary>
public string NoteUrl { get; set; }
}
}