@@ -385,6 +385,7 @@ export class Model extends $tea.Model {
385385
386386export class ModelVersion extends $tea . Model {
387387 approvalStatus ?: string ;
388+ compressionSpec ?: { [ key : string ] : any } ;
388389 evaluationSpec ?: { [ key : string ] : any } ;
389390 extraInfo ?: { [ key : string ] : any } ;
390391 formatType ?: string ;
@@ -406,6 +407,7 @@ export class ModelVersion extends $tea.Model {
406407 static names ( ) : { [ key : string ] : string } {
407408 return {
408409 approvalStatus : 'ApprovalStatus' ,
410+ compressionSpec : 'CompressionSpec' ,
409411 evaluationSpec : 'EvaluationSpec' ,
410412 extraInfo : 'ExtraInfo' ,
411413 formatType : 'FormatType' ,
@@ -430,6 +432,7 @@ export class ModelVersion extends $tea.Model {
430432 static types ( ) : { [ key : string ] : any } {
431433 return {
432434 approvalStatus : 'string' ,
435+ compressionSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
433436 evaluationSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
434437 extraInfo : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
435438 formatType : 'string' ,
@@ -1276,6 +1279,7 @@ export class CreateModelLabelsResponse extends $tea.Model {
12761279
12771280export class CreateModelVersionRequest extends $tea . Model {
12781281 approvalStatus ?: string ;
1282+ compressionSpec ?: { [ key : string ] : any } ;
12791283 evaluationSpec ?: { [ key : string ] : any } ;
12801284 extraInfo ?: { [ key : string ] : any } ;
12811285 formatType ?: string ;
@@ -1293,6 +1297,7 @@ export class CreateModelVersionRequest extends $tea.Model {
12931297 static names ( ) : { [ key : string ] : string } {
12941298 return {
12951299 approvalStatus : 'ApprovalStatus' ,
1300+ compressionSpec : 'CompressionSpec' ,
12961301 evaluationSpec : 'EvaluationSpec' ,
12971302 extraInfo : 'ExtraInfo' ,
12981303 formatType : 'FormatType' ,
@@ -1313,6 +1318,7 @@ export class CreateModelVersionRequest extends $tea.Model {
13131318 static types ( ) : { [ key : string ] : any } {
13141319 return {
13151320 approvalStatus : 'string' ,
1321+ compressionSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
13161322 evaluationSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
13171323 extraInfo : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
13181324 formatType : 'string' ,
@@ -2792,6 +2798,7 @@ export class GetModelResponse extends $tea.Model {
27922798
27932799export class GetModelVersionResponseBody extends $tea . Model {
27942800 approvalStatus ?: string ;
2801+ compressionSpec ?: { [ key : string ] : any } ;
27952802 evaluationSpec ?: { [ key : string ] : any } ;
27962803 extraInfo ?: { [ key : string ] : any } ;
27972804 formatType ?: string ;
@@ -2814,6 +2821,7 @@ export class GetModelVersionResponseBody extends $tea.Model {
28142821 static names ( ) : { [ key : string ] : string } {
28152822 return {
28162823 approvalStatus : 'ApprovalStatus' ,
2824+ compressionSpec : 'CompressionSpec' ,
28172825 evaluationSpec : 'EvaluationSpec' ,
28182826 extraInfo : 'ExtraInfo' ,
28192827 formatType : 'FormatType' ,
@@ -2839,6 +2847,7 @@ export class GetModelVersionResponseBody extends $tea.Model {
28392847 static types ( ) : { [ key : string ] : any } {
28402848 return {
28412849 approvalStatus : 'string' ,
2850+ compressionSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
28422851 evaluationSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
28432852 extraInfo : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
28442853 formatType : 'string' ,
@@ -4853,6 +4862,7 @@ export class UpdateModelResponse extends $tea.Model {
48534862
48544863export class UpdateModelVersionRequest extends $tea . Model {
48554864 approvalStatus ?: string ;
4865+ compressionSpec ?: { [ key : string ] : any } ;
48564866 evaluationSpec ?: { [ key : string ] : any } ;
48574867 extraInfo ?: { [ key : string ] : any } ;
48584868 inferenceSpec ?: { [ key : string ] : any } ;
@@ -4865,6 +4875,7 @@ export class UpdateModelVersionRequest extends $tea.Model {
48654875 static names ( ) : { [ key : string ] : string } {
48664876 return {
48674877 approvalStatus : 'ApprovalStatus' ,
4878+ compressionSpec : 'CompressionSpec' ,
48684879 evaluationSpec : 'EvaluationSpec' ,
48694880 extraInfo : 'ExtraInfo' ,
48704881 inferenceSpec : 'InferenceSpec' ,
@@ -4880,6 +4891,7 @@ export class UpdateModelVersionRequest extends $tea.Model {
48804891 static types ( ) : { [ key : string ] : any } {
48814892 return {
48824893 approvalStatus : 'string' ,
4894+ compressionSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
48834895 evaluationSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
48844896 extraInfo : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
48854897 inferenceSpec : { 'type' : 'map' , 'keyType' : 'string' , 'valueType' : 'any' } ,
@@ -6640,6 +6652,10 @@ export default class Client extends OpenApi {
66406652 body [ "ApprovalStatus" ] = request . approvalStatus ;
66416653 }
66426654
6655+ if ( ! Util . isUnset ( request . compressionSpec ) ) {
6656+ body [ "CompressionSpec" ] = request . compressionSpec ;
6657+ }
6658+
66436659 if ( ! Util . isUnset ( request . evaluationSpec ) ) {
66446660 body [ "EvaluationSpec" ] = request . evaluationSpec ;
66456661 }
@@ -9151,6 +9167,10 @@ export default class Client extends OpenApi {
91519167 body [ "ApprovalStatus" ] = request . approvalStatus ;
91529168 }
91539169
9170+ if ( ! Util . isUnset ( request . compressionSpec ) ) {
9171+ body [ "CompressionSpec" ] = request . compressionSpec ;
9172+ }
9173+
91549174 if ( ! Util . isUnset ( request . evaluationSpec ) ) {
91559175 body [ "EvaluationSpec" ] = request . evaluationSpec ;
91569176 }
0 commit comments