/* tslint:disable */ /* eslint-disable */ /** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * The version of the OpenAPI document: 1.0.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 { mapValues } from '../runtime'; /** * * @export * @interface SnapshotDownloadResponseAllOfInventory */ export interface SnapshotDownloadResponseAllOfInventory { /** * * @type {string} * @memberof SnapshotDownloadResponseAllOfInventory */ r2Key: string; /** * * @type {string} * @memberof SnapshotDownloadResponseAllOfInventory */ signedUrl: string; } /** * Check if a given object implements the SnapshotDownloadResponseAllOfInventory interface. */ export function instanceOfSnapshotDownloadResponseAllOfInventory(value: object): value is SnapshotDownloadResponseAllOfInventory { if (!('r2Key' in value) || value['r2Key'] === undefined) return false; if (!('signedUrl' in value) || value['signedUrl'] === undefined) return false; return true; } export function SnapshotDownloadResponseAllOfInventoryFromJSON(json: any): SnapshotDownloadResponseAllOfInventory { return SnapshotDownloadResponseAllOfInventoryFromJSONTyped(json, false); } export function SnapshotDownloadResponseAllOfInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SnapshotDownloadResponseAllOfInventory { if (json == null) { return json; } return { 'r2Key': json['r2Key'], 'signedUrl': json['signedUrl'], }; } export function SnapshotDownloadResponseAllOfInventoryToJSON(json: any): SnapshotDownloadResponseAllOfInventory { return SnapshotDownloadResponseAllOfInventoryToJSONTyped(json, false); } export function SnapshotDownloadResponseAllOfInventoryToJSONTyped(value?: SnapshotDownloadResponseAllOfInventory | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'r2Key': value['r2Key'], 'signedUrl': value['signedUrl'], }; }