-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fd5897
commit 2d4f5c5
Showing
8 changed files
with
133 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.gitignore | ||
api.ts | ||
api/apis.ts | ||
api/defaultApi.ts | ||
model/./apiError.ts | ||
model/./asset.ts | ||
model/./assetFile.ts | ||
model/./assetUpdate.ts | ||
model/./assets.ts | ||
model/./job.ts | ||
model/./kind.ts | ||
model/./version.ts | ||
model/models.ts | ||
package.json | ||
tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** | ||
* Open DAM API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 0.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 { RequestFile } from '../api'; | ||
import { Asset } from './asset'; | ||
import { AssetFile } from './assetFile'; | ||
import { Kind } from './kind'; | ||
|
||
/** | ||
* A limited view of an asset with only editable fields. Formats, tags, and metadata are merged with any existing values | ||
*/ | ||
export class AssetUpdate { | ||
'kind'?: Kind; | ||
'file'?: AssetFile; | ||
/** | ||
* additional assets/files associated with the asset | ||
*/ | ||
'formats'?: Array<Asset>; | ||
/** | ||
* A list of metadata tags associated with the asset | ||
*/ | ||
'tags'?: Array<string>; | ||
/** | ||
* Any user supplied metadata for the asset | ||
*/ | ||
'metadata'?: { [key: string]: object; }; | ||
|
||
static discriminator: string | undefined = undefined; | ||
|
||
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ | ||
{ | ||
"name": "kind", | ||
"baseName": "kind", | ||
"type": "Kind" | ||
}, | ||
{ | ||
"name": "file", | ||
"baseName": "file", | ||
"type": "AssetFile" | ||
}, | ||
{ | ||
"name": "formats", | ||
"baseName": "formats", | ||
"type": "Array<Asset>" | ||
}, | ||
{ | ||
"name": "tags", | ||
"baseName": "tags", | ||
"type": "Array<string>" | ||
}, | ||
{ | ||
"name": "metadata", | ||
"baseName": "metadata", | ||
"type": "{ [key: string]: object; }" | ||
} ]; | ||
|
||
static getAttributeTypeMap() { | ||
return AssetUpdate.attributeTypeMap; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Open DAM API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 0.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 { RequestFile } from '../api'; | ||
|
||
/** | ||
* The kind of media | ||
*/ | ||
export enum Kind { | ||
Image = <any> 'image', | ||
Video = <any> 'video', | ||
Audio = <any> 'audio', | ||
Text = <any> 'text' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters