-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
159 changed files
with
10,291 additions
and
10,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
[*] | ||
|
||
# Microsoft .NET properties | ||
csharp_new_line_before_members_in_object_initializers = false | ||
dotnet_sort_system_directives_first = false | ||
|
||
# ReSharper properties | ||
resharper_blank_lines_after_block_statements = 0 | ||
resharper_blank_lines_around_auto_property = 0 | ||
resharper_blank_lines_around_property = 0 | ||
resharper_braces_for_for = required | ||
resharper_braces_for_foreach = required | ||
resharper_braces_for_ifelse = not_required | ||
resharper_braces_redundant = false | ||
resharper_csharp_blank_lines_around_field = 0 | ||
resharper_csharp_blank_lines_around_invocable = 0 | ||
resharper_csharp_blank_lines_around_region = 0 | ||
resharper_csharp_blank_lines_inside_region = 0 | ||
resharper_csharp_empty_block_style = together_same_line | ||
resharper_csharp_insert_final_newline = true | ||
resharper_csharp_max_line_length = 438 | ||
resharper_csharp_remove_blank_lines_near_braces_in_code = false | ||
resharper_csharp_remove_blank_lines_near_braces_in_declarations = false | ||
resharper_csharp_wrap_before_binary_opsign = true | ||
resharper_csharp_wrap_before_ternary_opsigns = false | ||
resharper_csharp_wrap_ternary_expr_style = wrap_if_long | ||
resharper_instance_members_qualify_declared_in = | ||
resharper_method_or_operator_body = expression_body | ||
resharper_parentheses_non_obvious_operations = none, multiplicative, additive, arithmetic, shift, relational, equality, bitwise_and, bitwise_exclusive_or, bitwise_inclusive_or, bitwise | ||
resharper_place_accessorholder_attribute_on_same_line = false | ||
resharper_place_expr_accessor_on_single_line = true | ||
resharper_place_expr_property_on_single_line = true | ||
resharper_place_simple_accessor_on_single_line = false | ||
resharper_place_simple_initializer_on_single_line = false | ||
resharper_trailing_comma_in_multiline_lists = true | ||
resharper_wrap_before_arrow_with_expressions = true | ||
resharper_wrap_object_and_collection_initializer_style = chop_always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlenBotLogUploader.Aleeva | ||
namespace PlenBotLogUploader.Aleeva; | ||
|
||
internal sealed class AleevaAddReport | ||
{ | ||
internal sealed class AleevaAddReport | ||
{ | ||
[JsonProperty("sendNotification")] | ||
internal bool SendNotification { get; set; } | ||
[JsonProperty("sendNotification")] | ||
internal bool SendNotification { get; set; } | ||
|
||
[JsonProperty("notificationServerId")] | ||
internal string NotificationServerId { get; set; } | ||
[JsonProperty("notificationServerId")] | ||
internal string NotificationServerId { get; set; } | ||
|
||
[JsonProperty("notificationChannelId")] | ||
internal string NotificationChannelId { get; set; } | ||
[JsonProperty("notificationChannelId")] | ||
internal string NotificationChannelId { get; set; } | ||
|
||
[JsonProperty("dpsReportPermalink")] | ||
internal string DpsReportPermalink { get; set; } | ||
} | ||
[JsonProperty("dpsReportPermalink")] | ||
internal string DpsReportPermalink { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlenBotLogUploader.Aleeva | ||
namespace PlenBotLogUploader.Aleeva; | ||
|
||
internal sealed class AleevaAddReportResponse : AleevaResponseStatus | ||
{ | ||
internal sealed class AleevaAddReportResponse : AleevaResponseStatus | ||
{ | ||
[JsonProperty("dpsReport")] | ||
internal string DpsReport { get; set; } | ||
[JsonProperty("dpsReport")] | ||
internal string DpsReport { get; set; } | ||
|
||
[JsonProperty("fromCache")] | ||
internal bool FromCache { get; set; } | ||
} | ||
[JsonProperty("fromCache")] | ||
internal bool FromCache { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlenBotLogUploader.Aleeva | ||
namespace PlenBotLogUploader.Aleeva; | ||
|
||
internal sealed class AleevaAuthToken | ||
{ | ||
internal sealed class AleevaAuthToken | ||
{ | ||
[JsonProperty("grant_type")] | ||
internal string GrantType { get; set; } | ||
[JsonProperty("grant_type")] | ||
internal string GrantType { get; set; } | ||
|
||
[JsonProperty("client_id")] | ||
internal string ClientId { get; } = "plen_bot_log_uploader"; | ||
[JsonProperty("client_id")] | ||
internal string ClientId { get; } = "plen_bot_log_uploader"; | ||
|
||
[JsonProperty("client_secret")] | ||
internal string ClientSecret { get; } = "5d5c6e0e-f658-4083-b0f1-db30f8a2e1ce"; | ||
[JsonProperty("client_secret")] | ||
internal string ClientSecret { get; } = "5d5c6e0e-f658-4083-b0f1-db30f8a2e1ce"; | ||
|
||
[JsonProperty("access_code")] | ||
internal string AccessCode { get; set; } | ||
[JsonProperty("access_code")] | ||
internal string AccessCode { get; set; } | ||
|
||
[JsonProperty("refresh_token")] | ||
internal string RefreshToken { get; set; } | ||
[JsonProperty("refresh_token")] | ||
internal string RefreshToken { get; set; } | ||
|
||
[JsonProperty("scope")] | ||
internal string[] Scope { get; set; } | ||
} | ||
[JsonProperty("scope")] | ||
internal string[] Scope { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlenBotLogUploader.Aleeva | ||
namespace PlenBotLogUploader.Aleeva; | ||
|
||
internal sealed class AleevaAuthTokenResponse : AleevaResponseStatus | ||
{ | ||
internal sealed class AleevaAuthTokenResponse : AleevaResponseStatus | ||
{ | ||
[JsonProperty("accessToken")] | ||
internal string AccessToken { get; set; } | ||
[JsonProperty("accessToken")] | ||
internal string AccessToken { get; set; } | ||
|
||
[JsonProperty("refreshToken")] | ||
internal string RefreshToken { get; set; } | ||
[JsonProperty("refreshToken")] | ||
internal string RefreshToken { get; set; } | ||
|
||
[JsonProperty("tokenType")] | ||
internal string TokenType { get; set; } | ||
[JsonProperty("tokenType")] | ||
internal string TokenType { get; set; } | ||
|
||
[JsonProperty("refreshExpiresIn")] | ||
internal int RefreshExpiresIn { get; set; } | ||
[JsonProperty("refreshExpiresIn")] | ||
internal int RefreshExpiresIn { get; set; } | ||
|
||
[JsonProperty("expiresIn")] | ||
internal int ExpiresIn { get; set; } | ||
} | ||
[JsonProperty("expiresIn")] | ||
internal int ExpiresIn { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace PlenBotLogUploader.Aleeva | ||
namespace PlenBotLogUploader.Aleeva; | ||
|
||
internal sealed class AleevaChannel | ||
{ | ||
internal sealed class AleevaChannel | ||
{ | ||
[JsonProperty("id")] | ||
internal string Id { get; set; } | ||
[JsonProperty("id")] | ||
internal string Id { get; set; } | ||
|
||
[JsonProperty("name")] | ||
internal string Name { get; set; } | ||
[JsonProperty("name")] | ||
internal string Name { get; set; } | ||
|
||
public override string ToString() => $"{Name} ({Id})"; | ||
} | ||
public override string ToString() => $"{Name} ({Id})"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.