Обнновлено до .net10
This commit is contained in:
@@ -1,22 +1,27 @@
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace YandexMusic.API.Models.Account
|
||||
namespace YandexMusic.API.Models.Account;
|
||||
|
||||
public enum YAuthError
|
||||
{
|
||||
public enum YAuthError
|
||||
{
|
||||
[EnumMember(Value = "authorization.invalid")]
|
||||
AuthorizationInvalid,
|
||||
[EnumMember(Value = "sessionid.invalid")]
|
||||
SessionIdInvalid,
|
||||
[EnumMember(Value = "password.not_matched")]
|
||||
PasswordNotMatched,
|
||||
[EnumMember(Value = "password.empty")]
|
||||
PasswordEmpty,
|
||||
[EnumMember(Value = "captcha.required")]
|
||||
CaptchaRequired,
|
||||
[EnumMember(Value = "captcha.not_matched")]
|
||||
CaptchaNotMatched,
|
||||
[EnumMember(Value = "oauth_token.invalid")]
|
||||
OAuthTokenInvalid
|
||||
}
|
||||
[EnumMember(Value = "authorization.invalid")]
|
||||
AuthorizationInvalid,
|
||||
|
||||
[EnumMember(Value = "sessionid.invalid")]
|
||||
SessionIdInvalid,
|
||||
|
||||
[EnumMember(Value = "password.not_matched")]
|
||||
PasswordNotMatched,
|
||||
|
||||
[EnumMember(Value = "password.empty")]
|
||||
PasswordEmpty,
|
||||
|
||||
[EnumMember(Value = "captcha.required")]
|
||||
CaptchaRequired,
|
||||
|
||||
[EnumMember(Value = "captcha.not_matched")]
|
||||
CaptchaNotMatched,
|
||||
|
||||
[EnumMember(Value = "oauth_token.invalid")]
|
||||
OAuthTokenInvalid,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user