Class BannedPlayerDTO
BannedPlayerDTO
Inherited Members
Namespace: Unity.Services.Apis.UGC
Assembly: solution.dll
Syntax
[Preserve]
public class BannedPlayerDTO
Constructors
BannedPlayerDTO(string, string, string, string, EnvironmentDTO, ModeratorDTO, string, DateTime, PlayerStatisticsDTO, string)
Initializes a new instance of the BannedPlayerDTO class.
Declaration
[Preserve]
public BannedPlayerDTO(string playerId = null, string environmentId = null, string projectId = null, string moderatorPlayerId = null, EnvironmentDTO environment = null, ModeratorDTO moderator = null, string reason = null, DateTime createdAt = default, PlayerStatisticsDTO playerStatistics = null, string webhookEventName = null)
Parameters
Type | Name | Description |
---|---|---|
string | playerId | playerId (required). |
string | environmentId | environmentId (required). |
string | projectId | projectId (required). |
string | moderatorPlayerId | moderatorPlayerId (required). |
EnvironmentDTO | environment | environment. |
ModeratorDTO | moderator | moderator. |
string | reason | reason (required). |
DateTime | createdAt | createdAt (required). |
PlayerStatisticsDTO | playerStatistics | playerStatistics. |
string | webhookEventName | webhookEventName. |
Properties
CreatedAt
Gets or Sets CreatedAt
Declaration
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Environment
Gets or Sets Environment
Declaration
[Preserve]
public EnvironmentDTO Environment { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentDTO |
EnvironmentId
Gets or Sets EnvironmentId
Declaration
[Preserve]
public string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
Moderator
Gets or Sets Moderator
Declaration
[Preserve]
public ModeratorDTO Moderator { get; set; }
Property Value
Type | Description |
---|---|
ModeratorDTO |
ModeratorPlayerId
Gets or Sets ModeratorPlayerId
Declaration
[Preserve]
public string ModeratorPlayerId { get; set; }
Property Value
Type | Description |
---|---|
string |
PlayerId
Gets or Sets PlayerId
Declaration
[Preserve]
public string PlayerId { get; set; }
Property Value
Type | Description |
---|---|
string |
PlayerStatistics
Gets or Sets PlayerStatistics
Declaration
[Preserve]
public PlayerStatisticsDTO PlayerStatistics { get; set; }
Property Value
Type | Description |
---|---|
PlayerStatisticsDTO |
ProjectId
Gets or Sets ProjectId
Declaration
[Preserve]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Reason
Gets or Sets Reason
Declaration
[Preserve]
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookEventName
Gets or Sets WebhookEventName
Declaration
[Preserve]
public string WebhookEventName { get; set; }
Property Value
Type | Description |
---|---|
string |