v1CreateTvcDeploymentIntent.fromJson constructor
v1CreateTvcDeploymentIntent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1CreateTvcDeploymentIntent.fromJson(Map<String, dynamic> json) {
final _appId = json['appId'] as String;
final _qosVersion = json['qosVersion'] as String;
final _pivotContainerImageUrl = json['pivotContainerImageUrl'] as String;
final _pivotPath = json['pivotPath'] as String;
final _pivotArgs = (json['pivotArgs'] as List).map((e) => e as String).toList();
final _expectedPivotDigest = json['expectedPivotDigest'] as String;
final _hostContainerImageUrl = json['hostContainerImageUrl'] as String;
final _hostPath = json['hostPath'] as String;
final _hostArgs = (json['hostArgs'] as List).map((e) => e as String).toList();
final _nonce = json['nonce'] as num?;
return v1CreateTvcDeploymentIntent(
appId: _appId,
qosVersion: _qosVersion,
pivotContainerImageUrl: _pivotContainerImageUrl,
pivotPath: _pivotPath,
pivotArgs: _pivotArgs,
expectedPivotDigest: _expectedPivotDigest,
hostContainerImageUrl: _hostContainerImageUrl,
hostPath: _hostPath,
hostArgs: _hostArgs,
nonce: _nonce,
);
}