fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
113 lines • 2.93 kB
TypeScript
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 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 { QuestionConfigCustomOptionsInner } from './QuestionConfigCustomOptionsInner';
/**
*
* @export
* @interface CreateQuestionConfigBody
*/
export interface CreateQuestionConfigBody {
[key: string]: any | any;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
name: string;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
question: string;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
helpText?: string;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
type: string;
/**
*
* @type {number}
* @memberof CreateQuestionConfigBody
*/
numStars?: number;
/**
*
* @type {number}
* @memberof CreateQuestionConfigBody
*/
min?: number;
/**
*
* @type {number}
* @memberof CreateQuestionConfigBody
*/
max?: number;
/**
*
* @type {number}
* @memberof CreateQuestionConfigBody
*/
defaultValue?: number;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
labelNegative?: string;
/**
*
* @type {string}
* @memberof CreateQuestionConfigBody
*/
labelPositive?: string;
/**
*
* @type {Array<QuestionConfigCustomOptionsInner>}
* @memberof CreateQuestionConfigBody
*/
customOptions?: Array<QuestionConfigCustomOptionsInner>;
/**
*
* @type {Array<string>}
* @memberof CreateQuestionConfigBody
*/
subQuestionIds?: Array<string>;
/**
*
* @type {boolean}
* @memberof CreateQuestionConfigBody
*/
alwaysShowSubQuestions?: boolean;
/**
*
* @type {number}
* @memberof CreateQuestionConfigBody
*/
reportingOrder: number;
}
/**
* Check if a given object implements the CreateQuestionConfigBody interface.
*/
export declare function instanceOfCreateQuestionConfigBody(value: object): value is CreateQuestionConfigBody;
export declare function CreateQuestionConfigBodyFromJSON(json: any): CreateQuestionConfigBody;
export declare function CreateQuestionConfigBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateQuestionConfigBody;
export declare function CreateQuestionConfigBodyToJSON(json: any): CreateQuestionConfigBody;
export declare function CreateQuestionConfigBodyToJSONTyped(value?: CreateQuestionConfigBody | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=CreateQuestionConfigBody.d.ts.map