/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * 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'; import type { ApiPullRequestResult } from './ApiPullRequestResult'; import { ApiPullRequestResultFromJSON, ApiPullRequestResultFromJSONTyped, ApiPullRequestResultToJSON, ApiPullRequestResultToJSONTyped, } from './ApiPullRequestResult'; /** * * @export * @interface ApiPullRequestResults */ export interface ApiPullRequestResults { /** * * @type {Array} * @memberof ApiPullRequestResults */ results?: Array; } /** * Check if a given object implements the ApiPullRequestResults interface. */ export function instanceOfApiPullRequestResults(value: object): value is ApiPullRequestResults { return true; } export function ApiPullRequestResultsFromJSON(json: any): ApiPullRequestResults { return ApiPullRequestResultsFromJSONTyped(json, false); } export function ApiPullRequestResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPullRequestResults { if (json == null) { return json; } return { 'results': json['results'] == null ? undefined : ((json['results'] as Array).map(ApiPullRequestResultFromJSON)), }; } export function ApiPullRequestResultsToJSON(json: any): ApiPullRequestResults { return ApiPullRequestResultsToJSONTyped(json, false); } export function ApiPullRequestResultsToJSONTyped(value?: ApiPullRequestResults | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'results': value['results'] == null ? undefined : ((value['results'] as Array).map(ApiPullRequestResultToJSON)), }; }