/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { RuleActionDto } from './RuleActionDto'; /** * * @export * @interface DiscourseRuleActionDto */ export interface DiscourseRuleActionDto extends RuleActionDto { /** * The url to the discourse server. * @type {string} * @memberof DiscourseRuleActionDto */ url: string; /** * The api key to authenticate to your discourse server. * @type {string} * @memberof DiscourseRuleActionDto */ apiKey: string; /** * The api username to authenticate to your discourse server. * @type {string} * @memberof DiscourseRuleActionDto */ apiUsername: string; /** * The text as markdown. * @type {string} * @memberof DiscourseRuleActionDto */ text: string; /** * The optional title when creating new topics. * @type {string} * @memberof DiscourseRuleActionDto */ title?: string | null; /** * The optional topic id. * @type {number} * @memberof DiscourseRuleActionDto */ topic?: number | null; /** * The optional category id. * @type {number} * @memberof DiscourseRuleActionDto */ category?: number | null; } /** * Check if a given object implements the DiscourseRuleActionDto interface. */ export declare function instanceOfDiscourseRuleActionDto(value: any): value is DiscourseRuleActionDto; export declare function DiscourseRuleActionDtoFromJSON(json: any): DiscourseRuleActionDto; export declare function DiscourseRuleActionDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): DiscourseRuleActionDto; export declare function DiscourseRuleActionDtoToJSON(value?: DiscourseRuleActionDto | null, _ignoreDiscriminator?: boolean): any;