/* tslint:disable */
/* eslint-disable */
/**
* Squad API
* API for managing Squad resources
*
* The version of the OpenAPI document: 4.8.0
* Contact: help@meetsquad.ai
*
* 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';
/**
* Request schema for considerRecommendedSolutions agent
* @export
* @interface ConsiderRecommendedSolutionsRequest
*/
export interface ConsiderRecommendedSolutionsRequest {
/**
* ID of the opportunity to generate solutions for
* @type {string}
* @memberof ConsiderRecommendedSolutionsRequest
*/
opportunityId: string;
}
/**
* Check if a given object implements the ConsiderRecommendedSolutionsRequest interface.
*/
export function instanceOfConsiderRecommendedSolutionsRequest(value: object): value is ConsiderRecommendedSolutionsRequest {
if (!('opportunityId' in value) || value['opportunityId'] === undefined) return false;
return true;
}
export function ConsiderRecommendedSolutionsRequestFromJSON(json: any): ConsiderRecommendedSolutionsRequest {
return ConsiderRecommendedSolutionsRequestFromJSONTyped(json, false);
}
export function ConsiderRecommendedSolutionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsiderRecommendedSolutionsRequest {
if (json == null) {
return json;
}
return {
'opportunityId': json['opportunityId'],
};
}
export function ConsiderRecommendedSolutionsRequestToJSON(json: any): ConsiderRecommendedSolutionsRequest {
return ConsiderRecommendedSolutionsRequestToJSONTyped(json, false);
}
export function ConsiderRecommendedSolutionsRequestToJSONTyped(value?: ConsiderRecommendedSolutionsRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'opportunityId': value['opportunityId'],
};
}