Update the information of a model including name, description, created date and so on.
Signature:
function update(modelId: string, name: string | null): Promise<string>;
Parameter | Description |
---|---|
modelId | The model id |
name | string | The new model name |
Returns:
Promise<string>
a promise contains the modelId being updated