德基AI数字人
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

54 lines
1.5 KiB

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import {Create as $Create} from "@wailsio/runtime";
/**
* 返回类型
* 1. text 固定回答内容
* 2. shopList [{name,shopNum,intro,logo}]
* 3. shop [{name,intro,logo}]
* 4. facility 设施名称
* 5. film 转换成 shop
* 6. activity [{name,intro,logo}]
* 7. weather 天气
* 8. time 时间
* 9. other 其它
*/
export class CustomerRes {
/**
* Creates a new CustomerRes instance.
* @param {Partial<CustomerRes>} [$$source = {}] - The source object to create the CustomerRes.
*/
constructor($$source = {}) {
if (!("Cate" in $$source)) {
/**
* @member
* @type {string}
*/
this["Cate"] = "";
}
if (!("Value" in $$source)) {
/**
* @member
* @type {any}
*/
this["Value"] = null;
}
Object.assign(this, $$source);
}
/**
* Creates a new CustomerRes instance from a string or object.
* @param {any} [$$source = {}]
* @returns {CustomerRes}
*/
static createFrom($$source = {}) {
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
return new CustomerRes(/** @type {Partial<CustomerRes>} */($$parsedSource));
}
}