Files
Bubberstation/tools/Tgstation.PRAnnouncer/ServerConfig.cs
Jordan Dominion 51b47a94a9 Add new Game PR Announcer (#89647)
Ready for deployment by operations.
2025-03-10 15:07:55 -07:00

27 lines
703 B
C#

using System.Collections.Generic;
namespace Tgstation.PRAnnouncer
{
/// <summary>
/// Configuration for a game server to send announcement messages to.
/// </summary>
sealed class ServerConfig
{
/// <summary>
/// The server's address.
/// </summary>
public string? Address { get; set; }
/// <summary>
/// The server's port.
/// </summary>
public ushort Port { get; set; }
/// <summary>
/// The list of repository slugs that the server should listen to pull request events for. If <see langword="null"/>, all repositories will be listened to.
/// </summary>
/// <example>tgstation/tgstation</example>
public IReadOnlyList<string>? InterestedRepoSlugs { get; set; }
}
}