alas/web/service/openapi/models/RobertaIronyResponse.ts

65 lines
1.4 KiB
TypeScript
Raw Normal View History

2022-07-03 15:29:11 +00:00
/* tslint:disable */
/* eslint-disable */
/**
* FastAPI
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.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 RobertaIronyResponse
*/
export interface RobertaIronyResponse {
/**
*
* @type {number}
* @memberof RobertaIronyResponse
*/
noIrony: number;
/**
*
* @type {number}
* @memberof RobertaIronyResponse
*/
irony: number;
}
export function RobertaIronyResponseFromJSON(json: any): RobertaIronyResponse {
return RobertaIronyResponseFromJSONTyped(json, false);
}
export function RobertaIronyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RobertaIronyResponse {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'noIrony': json['noIrony'],
'irony': json['irony'],
};
}
export function RobertaIronyResponseToJSON(value?: RobertaIronyResponse | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'noIrony': value.noIrony,
'irony': value.irony,
};
}