/* tslint:disable */ /* eslint-disable */ /** * BugBash * BugBash\'s backend service * * The version of the OpenAPI document: 1.2.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 { exists, mapValues } from '../runtime'; /** * * @export * @interface CreateBugBashBody */ export interface CreateBugBashBody { /** * * @type {string} * @memberof CreateBugBashBody */ bugBashName: string; /** * * @type {Array} * @memberof CreateBugBashBody */ participants?: Array; /** * * @type {string} * @memberof CreateBugBashBody */ facilitator: string; /** * * @type {string} * @memberof CreateBugBashBody */ timeAllotted: string; } export function CreateBugBashBodyFromJSON(json: any): CreateBugBashBody { return CreateBugBashBodyFromJSONTyped(json, false); } export function CreateBugBashBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBugBashBody { if ((json === undefined) || (json === null)) { return json; } return { 'bugBashName': json['bugBashName'], 'participants': !exists(json, 'participants') ? undefined : json['participants'], 'facilitator': json['facilitator'], 'timeAllotted': json['timeAllotted'], }; } export function CreateBugBashBodyToJSON(value?: CreateBugBashBody | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'bugBashName': value.bugBashName, 'participants': value.participants, 'facilitator': value.facilitator, 'timeAllotted': value.timeAllotted, }; }