import { BaseResponse } from "./baseResponse" ; export class ListResponse < T > extends BaseResponse { data : T [ ] ; continuationToken : string ; constructor ( response , t ) { super ( response ) ; const data = this . getResponseProperty ( "Data" ) ; this . data = data == null ? [ ] : data . map ( ( dr ) => new t ( dr ) ) ; this . continuationToken = this . getResponseProperty ( "ContinuationToken" ) ; } }