Class MultiplayServersLogFile
A server log file.
Inherited Members
Namespace: Unity.Services.Apis.Admin.Multiplay
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "multiplay.servers.logFile")]
[Preserve]
public class MultiplayServersLogFile
Constructors
MultiplayServersLogFile(string, string, DateTime, long)
Initializes a new instance of the Multiplay
Declaration
[Preserve]
public MultiplayServersLogFile(string downloadURL = null, string file = null, DateTime lastModified = default, long size = 0)
Parameters
Type | Name | Description |
---|---|---|
string | downloadURL | Log file download URL. |
string | file | Name of the log file. (required). |
Date |
lastModified | Last modification date of the log file. (required). |
long | size | Size of the log file (bytes). (required). |
Properties
DownloadURL
Log file download URL
Declaration
[DataMember(Name = "downloadURL", EmitDefaultValue = false)]
[Preserve]
public string DownloadURL { get; set; }
Property Value
Type | Description |
---|---|
string | Log file download URL |
File
Name of the log file.
Declaration
[DataMember(Name = "file", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string File { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the log file. |
LastModified
Last modification date of the log file.
Declaration
[DataMember(Name = "lastModified", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public DateTime LastModified { get; set; }
Property Value
Type | Description |
---|---|
Date |
Last modification date of the log file. |
Size
Size of the log file (bytes).
Declaration
[DataMember(Name = "size", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long Size { get; set; }
Property Value
Type | Description |
---|---|
long | Size of the log file (bytes). |