Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
955 B

// ==========================================================================
// UpdateAppClientDto.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Squidex.Domain.Apps.Core.Apps;
namespace Squidex.Controllers.Api.Apps.Models
{
public sealed class UpdateAppClientDto
{
/// <summary>
/// The new display name of the client.
/// </summary>
[StringLength(20)]
public string Name { get; set; }
/// <summary>
/// The permissions of the client.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public AppClientPermission? Permission { get; set; }
}
}