Revision.fromJson constructor
Revision.fromJson(
- Map json_
Implementation
Revision.fromJson(core.Map json_)
: this(
action: json_.containsKey('action')
? json_['action'] as core.String
: null,
applyResults: json_.containsKey('applyResults')
? ApplyResults.fromJson(
json_['applyResults'] as core.Map<core.String, core.dynamic>)
: null,
build:
json_.containsKey('build') ? json_['build'] as core.String : null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
errorCode: json_.containsKey('errorCode')
? json_['errorCode'] as core.String
: null,
errorLogs: json_.containsKey('errorLogs')
? json_['errorLogs'] as core.String
: null,
importExistingResources: json_.containsKey('importExistingResources')
? json_['importExistingResources'] as core.bool
: null,
logs: json_.containsKey('logs') ? json_['logs'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
quotaValidation: json_.containsKey('quotaValidation')
? json_['quotaValidation'] as core.String
: null,
quotaValidationResults: json_.containsKey('quotaValidationResults')
? json_['quotaValidationResults'] as core.String
: null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateDetail: json_.containsKey('stateDetail')
? json_['stateDetail'] as core.String
: null,
terraformBlueprint: json_.containsKey('terraformBlueprint')
? TerraformBlueprint.fromJson(json_['terraformBlueprint']
as core.Map<core.String, core.dynamic>)
: null,
tfErrors: json_.containsKey('tfErrors')
? (json_['tfErrors'] as core.List)
.map((value) => TerraformError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
tfVersion: json_.containsKey('tfVersion')
? json_['tfVersion'] as core.String
: null,
tfVersionConstraint: json_.containsKey('tfVersionConstraint')
? json_['tfVersionConstraint'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
workerPool: json_.containsKey('workerPool')
? json_['workerPool'] as core.String
: null,
);