/* tslint:disable */
/* eslint-disable */
/**
* Squad API
* API for managing Squad resources
*
* The version of the OpenAPI document: 2.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime.js';
/**
*
* @export
* @interface MockFeedbackResponseInner
*/
export interface MockFeedbackResponseInner {
/**
* Description of the feedback
* @type {string}
* @memberof MockFeedbackResponseInner
*/
description: string;
/**
* Feedback text
* @type {string}
* @memberof MockFeedbackResponseInner
*/
feedback: string;
/**
* Source of the feedback
* @type {string}
* @memberof MockFeedbackResponseInner
*/
source: string;
/**
* Title of the feedback
* @type {string}
* @memberof MockFeedbackResponseInner
*/
title: string;
/**
* Type of the feedback
* @type {string}
* @memberof MockFeedbackResponseInner
*/
type: MockFeedbackResponseInnerTypeEnum;
}
/**
* @export
*/
export const MockFeedbackResponseInnerTypeEnum = {
Feedback: 'Feedback',
Bug: 'Bug',
FeatureRequest: 'FeatureRequest'
} as const;
export type MockFeedbackResponseInnerTypeEnum = typeof MockFeedbackResponseInnerTypeEnum[keyof typeof MockFeedbackResponseInnerTypeEnum];
/**
* Check if a given object implements the MockFeedbackResponseInner interface.
*/
export function instanceOfMockFeedbackResponseInner(value: object): value is MockFeedbackResponseInner {
if (!('description' in value) || value['description'] === undefined) return false;
if (!('feedback' in value) || value['feedback'] === undefined) return false;
if (!('source' in value) || value['source'] === undefined) return false;
if (!('title' in value) || value['title'] === undefined) return false;
if (!('type' in value) || value['type'] === undefined) return false;
return true;
}
export function MockFeedbackResponseInnerFromJSON(json: any): MockFeedbackResponseInner {
return MockFeedbackResponseInnerFromJSONTyped(json, false);
}
export function MockFeedbackResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MockFeedbackResponseInner {
if (json == null) {
return json;
}
return {
'description': json['description'],
'feedback': json['feedback'],
'source': json['source'],
'title': json['title'],
'type': json['type'],
};
}
export function MockFeedbackResponseInnerToJSON(json: any): MockFeedbackResponseInner {
return MockFeedbackResponseInnerToJSONTyped(json, false);
}
export function MockFeedbackResponseInnerToJSONTyped(value?: MockFeedbackResponseInner | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'description': value['description'],
'feedback': value['feedback'],
'source': value['source'],
'title': value['title'],
'type': value['type'],
};
}