|
| 1 | +/* tslint:disable */ |
| 2 | +/* eslint-disable */ |
| 3 | +/** |
| 4 | + * Zeplin API |
| 5 | + * Access your resources in Zeplin |
| 6 | + * |
| 7 | + |
| 8 | + * |
| 9 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 10 | + * https://openapi-generator.tech |
| 11 | + * Do not edit the class manually. |
| 12 | + */ |
| 13 | + |
| 14 | + |
| 15 | +import { |
| 16 | + ScreenAnnotationColor, |
| 17 | + transformScreenAnnotationColorToJSON, |
| 18 | + transformJSONToScreenAnnotationColor |
| 19 | +} from './screen-annotation-color'; |
| 20 | +import { |
| 21 | + ScreenAnnotationNoteTypeEnum, |
| 22 | + transformScreenAnnotationNoteTypeEnumToJSON, |
| 23 | + transformJSONToScreenAnnotationNoteTypeEnum |
| 24 | +} from './screen-annotation-note-type-enum'; |
| 25 | + |
| 26 | + |
| 27 | +export const transformScreenAnnotationNoteTypeToJSON = function (value: ScreenAnnotationNoteType): any { |
| 28 | + return { |
| 29 | + id: value.id, |
| 30 | + name: transformScreenAnnotationNoteTypeEnumToJSON(value.name), |
| 31 | + color: transformScreenAnnotationColorToJSON(value.color) |
| 32 | + } |
| 33 | +} |
| 34 | + |
| 35 | +export const transformJSONToScreenAnnotationNoteType = function (value: any): ScreenAnnotationNoteType { |
| 36 | + return { |
| 37 | + id: value.id, |
| 38 | + name: transformJSONToScreenAnnotationNoteTypeEnum(value.name), |
| 39 | + color: transformJSONToScreenAnnotationColor(value.color) |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | +/** |
| 44 | + * |
| 45 | + * @export |
| 46 | + * @interface ScreenAnnotationNoteType |
| 47 | + */ |
| 48 | +export interface ScreenAnnotationNoteType { |
| 49 | + /** |
| 50 | + * The unique id of the annotation |
| 51 | + * @type {string} |
| 52 | + * @memberof ScreenAnnotationNoteType |
| 53 | + */ |
| 54 | + id: string; |
| 55 | + /** |
| 56 | + * |
| 57 | + * @type {ScreenAnnotationNoteTypeEnum} |
| 58 | + * @memberof ScreenAnnotationNoteType |
| 59 | + */ |
| 60 | + name: ScreenAnnotationNoteTypeEnum; |
| 61 | + /** |
| 62 | + * |
| 63 | + * @type {ScreenAnnotationColor} |
| 64 | + * @memberof ScreenAnnotationNoteType |
| 65 | + */ |
| 66 | + color: ScreenAnnotationColor; |
| 67 | +} |
| 68 | + |
| 69 | + |
0 commit comments