| | | 1 | | namespace MediaBrowser.Model.ApiClient |
| | | 2 | | { |
| | | 3 | | /// <summary> |
| | | 4 | | /// The server discovery info model. |
| | | 5 | | /// </summary> |
| | | 6 | | public class ServerDiscoveryInfo |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// Initializes a new instance of the <see cref="ServerDiscoveryInfo"/> class. |
| | | 10 | | /// </summary> |
| | | 11 | | /// <param name="address">The server address.</param> |
| | | 12 | | /// <param name="id">The server id.</param> |
| | | 13 | | /// <param name="name">The server name.</param> |
| | | 14 | | /// <param name="endpointAddress">The endpoint address.</param> |
| | | 15 | | public ServerDiscoveryInfo(string address, string id, string name, string? endpointAddress = null) |
| | | 16 | | { |
| | | 17 | | Address = address; |
| | | 18 | | Id = id; |
| | | 19 | | Name = name; |
| | | 20 | | EndpointAddress = endpointAddress; |
| | 0 | 21 | | } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// Gets the address. |
| | | 25 | | /// </summary> |
| | | 26 | | public string Address { get; } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// Gets the server identifier. |
| | | 30 | | /// </summary> |
| | | 31 | | public string Id { get; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Gets the name. |
| | | 35 | | /// </summary> |
| | | 36 | | public string Name { get; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Gets the endpoint address. |
| | | 40 | | /// </summary> |
| | | 41 | | public string? EndpointAddress { get; } |
| | | 42 | | } |
| | | 43 | | } |