toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final actionTypeId = this.actionTypeId;
  final name = this.name;
  final configuration = this.configuration;
  final inputArtifacts = this.inputArtifacts;
  final namespace = this.namespace;
  final outputArtifacts = this.outputArtifacts;
  final region = this.region;
  final roleArn = this.roleArn;
  final runOrder = this.runOrder;
  return {
    'actionTypeId': actionTypeId,
    'name': name,
    if (configuration != null) 'configuration': configuration,
    if (inputArtifacts != null) 'inputArtifacts': inputArtifacts,
    if (namespace != null) 'namespace': namespace,
    if (outputArtifacts != null) 'outputArtifacts': outputArtifacts,
    if (region != null) 'region': region,
    if (roleArn != null) 'roleArn': roleArn,
    if (runOrder != null) 'runOrder': runOrder,
  };
}