ActionExecutionInput.fromJson constructor
ActionExecutionInput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ActionExecutionInput.fromJson(Map<String, dynamic> json) {
return ActionExecutionInput(
actionTypeId: json['actionTypeId'] != null
? ActionTypeId.fromJson(json['actionTypeId'] as Map<String, dynamic>)
: null,
configuration: (json['configuration'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
inputArtifacts: (json['inputArtifacts'] as List?)
?.whereNotNull()
.map((e) => ArtifactDetail.fromJson(e as Map<String, dynamic>))
.toList(),
namespace: json['namespace'] as String?,
region: json['region'] as String?,
resolvedConfiguration:
(json['resolvedConfiguration'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
roleArn: json['roleArn'] as String?,
);
}