import { autoserializeAs, Command, inheritSerialization, serializable, Validators } from '@my-devkit/core'; @serializable @inheritSerialization(Command) export class DeleteUserResourceCommand extends Command { @Validators.IsNotEmpty() @Validators.IsString() @autoserializeAs(String) public userResourceId: string = null; constructor() { super('DeleteUserResourceCommand'); } }