mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
WIP
This commit is contained in:
@@ -1,70 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* 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 SpeakerAssignmentStatus
|
||||
*/
|
||||
export interface SpeakerAssignmentStatus {
|
||||
/**
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof SpeakerAssignmentStatus
|
||||
*/
|
||||
status: any | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the SpeakerAssignmentStatus interface.
|
||||
*/
|
||||
export function instanceOfSpeakerAssignmentStatus(value: object): boolean {
|
||||
let isInstance = true;
|
||||
isInstance = isInstance && "status" in value;
|
||||
|
||||
return isInstance;
|
||||
}
|
||||
|
||||
export function SpeakerAssignmentStatusFromJSON(
|
||||
json: any,
|
||||
): SpeakerAssignmentStatus {
|
||||
return SpeakerAssignmentStatusFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function SpeakerAssignmentStatusFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): SpeakerAssignmentStatus {
|
||||
if (json === undefined || json === null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
status: json["status"],
|
||||
};
|
||||
}
|
||||
|
||||
export function SpeakerAssignmentStatusToJSON(
|
||||
value?: SpeakerAssignmentStatus | null,
|
||||
): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
status: value.status,
|
||||
};
|
||||
}
|
||||
export type SpeakerAssignmentStatus = {
|
||||
status: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user