@getgreenspark/impacts
Version:
Greenspark Impacts API SDK
42 lines (41 loc) • 1.23 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Impact
* Here you can find documentation and examples for Greenspark Impact API
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ImpactPurchase } from './impact-purchase';
import { ImpactPurchaseByValue } from './impact-purchase-by-value';
import { Metadata } from './metadata';
/**
*
* @export
* @interface ImpactDto
*/
export interface ImpactDto {
/**
* The impactPurchases array defines the impacts you would like to create.
* @type {Array<ImpactPurchase | ImpactPurchaseByValue>}
* @memberof ImpactDto
*/
impactPurchases: Array<ImpactPurchase | ImpactPurchaseByValue>;
/**
* The id of the estimation that was used to calculate the impact.
* @type {string}
* @memberof ImpactDto
*/
estimationId?: string;
/**
* In the metadata array you can store up to 10 key-value pairs. You can use them to associate arbitrary data with your impact.
* @type {Array<Metadata>}
* @memberof ImpactDto
*/
metadata?: Array<Metadata>;
}