/* tslint:disable */ /* eslint-disable */ /** * Sonatype Guide API * REST API into [Sonatype Guide](https://guide.sonatype.com). * * The version of the OpenAPI document: 202607 * * * 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 PurlRequestPost */ export interface PurlRequestPost { /** * * @type {Array} * @memberof PurlRequestPost */ coordinates: Array; } /** * Check if a given object implements the PurlRequestPost interface. */ export function instanceOfPurlRequestPost(value: object): value is PurlRequestPost { if (!('coordinates' in value) || value['coordinates'] === undefined) return false; return true; } export function PurlRequestPostFromJSON(json: any): PurlRequestPost { return PurlRequestPostFromJSONTyped(json, false); } export function PurlRequestPostFromJSONTyped(json: any, ignoreDiscriminator: boolean): PurlRequestPost { if (json == null) { return json; } return { 'coordinates': json['coordinates'], }; } export function PurlRequestPostToJSON(json: any): PurlRequestPost { return PurlRequestPostToJSONTyped(json, false); } export function PurlRequestPostToJSONTyped(value?: PurlRequestPost | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'coordinates': value['coordinates'], }; }