Skip to content

Commit

Permalink
添加数据模型 jitwxs#57
Browse files Browse the repository at this point in the history
  • Loading branch information
millennium committed Apr 1, 2022
1 parent ef8dd64 commit 7bde98b
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions WindowsFormsApp1/163MusicLyrics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="INeteaseMusicApi.cs" />
<Compile Include="JsonBase\GitHubBase.cs" />
<Compile Include="NetEaseMusicApi.cs" />
<Compile Include="NetEaseMusicApiWrapper.cs" />
<Compile Include="NetEaseMusicBean.cs" />
Expand Down
66 changes: 66 additions & 0 deletions WindowsFormsApp1/JsonBase/GitHubBase.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
using System;
using System.Collections.Generic;

namespace 网易云歌词提取.JsonBase
{
public partial class GitHubInfo
{
public Uri Url { get; set; }
public Uri AssetsUrl { get; set; }
public string UploadUrl { get; set; }
public Uri HtmlUrl { get; set; }
public long Id { get; set; }
public Author Author { get; set; }
public string NodeId { get; set; }
public string TagName { get; set; }
public string TargetCommitish { get; set; }
public string Name { get; set; }
public bool Draft { get; set; }
public bool Prerelease { get; set; }
public DateTimeOffset CreatedAt { get; set; }
public DateTimeOffset PublishedAt { get; set; }
public List<Asset> Assets { get; set; }
public Uri TarballUrl { get; set; }
public Uri ZipballUrl { get; set; }
public string Body { get; set; }
}

public partial class Asset
{
public Uri Url { get; set; }
public long Id { get; set; }
public string NodeId { get; set; }
public string Name { get; set; }
public object Label { get; set; }
public Author Uploader { get; set; }
public string ContentType { get; set; }
public string State { get; set; }
public long Size { get; set; }
public long DownloadCount { get; set; }
public DateTimeOffset CreatedAt { get; set; }
public DateTimeOffset UpdatedAt { get; set; }
public Uri BrowserDownloadUrl { get; set; }
}

public partial class Author
{
public string Login { get; set; }
public long Id { get; set; }
public string NodeId { get; set; }
public Uri AvatarUrl { get; set; }
public string GravatarId { get; set; }
public Uri Url { get; set; }
public Uri HtmlUrl { get; set; }
public Uri FollowersUrl { get; set; }
public string FollowingUrl { get; set; }
public string GistsUrl { get; set; }
public string StarredUrl { get; set; }
public Uri SubscriptionsUrl { get; set; }
public Uri OrganizationsUrl { get; set; }
public Uri ReposUrl { get; set; }
public string EventsUrl { get; set; }
public Uri ReceivedEventsUrl { get; set; }
public string Type { get; set; }
public bool SiteAdmin { get; set; }
}
}

0 comments on commit 7bde98b

Please sign in to comment.