/* Options: Date: 2024-11-28 09:28:24 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetUserTranslations.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class Translation implements ITranslation { // @DataMember public Key: string; // @DataMember public NL: string; // @DataMember public EN: string; // @DataMember public DE: string; // @DataMember public FR: string; // @DataMember public C1: string; // @DataMember public C2: string; // @DataMember public C3: string; // @DataMember public C4: string; // @DataMember public C5: string; // @DataMember public C6: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface ITranslation { // @DataMember Key: string; // @DataMember NL: string; // @DataMember EN: string; // @DataMember DE: string; // @DataMember FR: string; // @DataMember C1: string; // @DataMember C2: string; // @DataMember C3: string; // @DataMember C4: string; // @DataMember C5: string; // @DataMember C6: string; } // @DataContract export class GetTranslationsResponse { // @DataMember public Translations: Translation[]; // @DataMember public PreferredLanguage: string; // @DataMember public PreferredLanguageShort: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetTranslations implements IReturn { public TranslateKeys: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetTranslations'; } public getMethod() { return 'POST'; } public createResponse() { return new GetTranslationsResponse(); } } export class GetUserTranslations extends GetTranslations implements IReturn { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'GetUserTranslations'; } public getMethod() { return 'POST'; } public createResponse() { return new GetTranslationsResponse(); } }