Class PlayerRoleDTO
PlayerRoleDTO
Inherited Members
Namespace: Unity.Services.Apis.UGC
Assembly: solution.dll
Syntax
[Preserve]
public class PlayerRoleDTO
Constructors
PlayerRoleDTO(string, string, string, string, bool, bool, bool, bool, bool, EnvironmentDTO, List<ModeratorDTO>, DateTime, DateTime)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerRoleDTO(string id = null, string environmentId = null, string projectId = null, string name = null, bool canApproveContent = false, bool canRejectContent = false, bool canViewContentRequiringModeration = false, bool canBanPlayer = false, bool canUnbanPlayer = false, EnvironmentDTO environment = null, List<ModeratorDTO> moderators = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
Type | Name | Description |
---|---|---|
string | id | id (required). |
string | environmentId | environmentId (required). |
string | projectId | projectId (required). |
string | name | name (required). |
bool | canApproveContent | canApproveContent (required). |
bool | canRejectContent | canRejectContent (required). |
bool | canViewContentRequiringModeration | canViewContentRequiringModeration (required). |
bool | canBanPlayer | canBanPlayer (required). |
bool | canUnbanPlayer | canUnbanPlayer (required). |
Environment |
environment | environment. |
List<Moderator |
moderators | moderators. |
Date |
createdAt | createdAt (required). |
Date |
updatedAt | updatedAt (required). |
Properties
CanApproveContent
Gets or Sets CanApproveContent
Declaration
[Preserve]
public bool CanApproveContent { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanBanPlayer
Gets or Sets CanBanPlayer
Declaration
[Preserve]
public bool CanBanPlayer { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanRejectContent
Gets or Sets CanRejectContent
Declaration
[Preserve]
public bool CanRejectContent { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanUnbanPlayer
Gets or Sets CanUnbanPlayer
Declaration
[Preserve]
public bool CanUnbanPlayer { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanViewContentRequiringModeration
Gets or Sets CanViewContentRequiringModeration
Declaration
[Preserve]
public bool CanViewContentRequiringModeration { get; set; }
Property Value
Type | Description |
---|---|
bool |
CreatedAt
Gets or Sets CreatedAt
Declaration
[Preserve]
public DateTime CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |
Environment
Gets or Sets Environment
Declaration
[Preserve]
public EnvironmentDTO Environment { get; set; }
Property Value
Type | Description |
---|---|
Environment |
EnvironmentId
Gets or Sets EnvironmentId
Declaration
[Preserve]
public string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Gets or Sets Id
Declaration
[Preserve]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Moderators
Gets or Sets Moderators
Declaration
[Preserve]
public List<ModeratorDTO> Moderators { get; set; }
Property Value
Type | Description |
---|---|
List<Moderator |
Name
Gets or Sets Name
Declaration
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Gets or Sets ProjectId
Declaration
[Preserve]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[Preserve]
public DateTime UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
Date |