/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * 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'; /** * * @export * @interface SourceAgentItem */ export interface SourceAgentItem { /** * * @type {string} * @memberof SourceAgentItem */ id: string; /** * * @type {boolean} * @memberof SourceAgentItem */ associated: boolean; } /** * Check if a given object implements the SourceAgentItem interface. */ export function instanceOfSourceAgentItem(value: object): value is SourceAgentItem { if (!('id' in value) || value['id'] === undefined) return false; if (!('associated' in value) || value['associated'] === undefined) return false; return true; } export function SourceAgentItemFromJSON(json: any): SourceAgentItem { return SourceAgentItemFromJSONTyped(json, false); } export function SourceAgentItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceAgentItem { if (json == null) { return json; } return { 'id': json['id'], 'associated': json['associated'], }; } export function SourceAgentItemToJSON(value?: SourceAgentItem | null): any { if (value == null) { return value; } return { 'id': value['id'], 'associated': value['associated'], }; }