// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class RefreshUploadMediaResponseBody extends $dara.Model { /** * @remarks * The ID of the media asset. * * @example * c2e77390f75271ec802f0674a2ce6*** */ mediaId?: string; /** * @remarks * The request ID. * * @example * ******11-DB8D-4A9A-875B-275798****** */ requestId?: string; /** * @remarks * The upload URL. * * > The returned upload URL is a Base64-encoded URL. You must decode the Base64-encoded upload URL before you use an SDK or call an API operation to upload media files. You need to parse UploadAddress only if you use Object Storage Service (OSS) SDK or call an OSS API operation to upload media files. * * @example * eyJFbmRwb2ludCI6Imh0dHBzOi8vb3NzLWNuLXNoYW5naGFpLmFsaXl1bmNzLmNvbSIsIkJ1Y2tldCI6InN6aGQtdmlkZW8iLCJGaWxlTmFtZSI6InZvZC0yOTYzMWEvc3YvNTBmYTJlODQtMTgxMjdhZGRiMTcvNTBmYTJlODQtMTgxMjdhZGRiM*** */ uploadAddress?: string; /** * @remarks * The upload credential. * * > The returned upload credential is a Base64-encoded value. You must decode the Base64-encoded upload credential before you use an SDK or call an API operation to upload media files. You need to parse UploadAuth only if you use OSS SDK or call an OSS API operation to upload media files. * * @example * eyJBY2Nlc3NLZXlJZCI6IkxUQUk0Rm53bTk1dHdxQjMxR3IzSE5hRCIsIkFjY2Vzc0tleVNlY3JldCI6Ik9lWllKR0dTMTlkNkZaM1E3UVpJQmdmSVdnM3BPaiIsIkV4cGlyYXRpb24iOiI*** */ uploadAuth?: string; static names(): { [key: string]: string } { return { mediaId: 'MediaId', requestId: 'RequestId', uploadAddress: 'UploadAddress', uploadAuth: 'UploadAuth', }; } static types(): { [key: string]: any } { return { mediaId: 'string', requestId: 'string', uploadAddress: 'string', uploadAuth: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }