/* Options: Date: 2025-01-08 03:17:24 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AdminUpdateArtifactCommentReport.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IPatchDb { } // @DataContract export class AuditBase { // @DataMember(Order=1) public createdDate: string; // @DataMember(Order=2) // @Required() public createdBy: string; // @DataMember(Order=3) public modifiedDate: string; // @DataMember(Order=4) // @Required() public modifiedBy: string; // @DataMember(Order=5) public deletedDate?: string; // @DataMember(Order=6) public deletedBy: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ArtifactComment extends AuditBase { public id: number; public artifactId: number; public replyId?: number; public content: string; public upVotes: number; public downVotes: number; public votes: number; public flagReason?: string; public notes?: string; public refId: string; public appUserId: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export enum PostReport { Offensive = 'Offensive', Spam = 'Spam', Nudity = 'Nudity', Illegal = 'Illegal', Other = 'Other', } export class ArtifactCommentReport { public id: number; // @References("typeof(BlazorDiffusion.ServiceModel.ArtifactComment)") public artifactCommentId: number; public appUserId: number; public postReport: PostReport; public description: string; public createdDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ValidateRequest(Validator="IsAdmin") export class AdminUpdateArtifactCommentReport implements IReturn, IPatchDb { public id: number; public postReport?: PostReport; public description?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AdminUpdateArtifactCommentReport'; } public getMethod() { return 'PATCH'; } public createResponse() { return new ArtifactCommentReport(); } }