mirror of
https://github.com/vknet/vk.git
synced 2026-07-10 00:18:28 +00:00
30 lines
No EOL
806 B
C#
30 lines
No EOL
806 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using VkNet.Enums.StringEnums;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Массив объектов UserSpecification
|
|
/// </summary>
|
|
[Serializable]
|
|
public class UserSpecification
|
|
{
|
|
/// <summary>
|
|
/// Идентификатор пользователя, добавляемого как администратор/наблюдатель.
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "user_id")]
|
|
public long UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Флаг, описывающий тип полномочий
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "role")]
|
|
public AccessRole? Role { get; set; }
|
|
|
|
/// <summary>
|
|
/// Идентификатор клиента
|
|
/// </summary>
|
|
[JsonProperty(propertyName: "client_id")]
|
|
public long ClientId { get; set; }
|
|
} |