SourceOperationRequest.fromJson constructor

SourceOperationRequest.fromJson(
  1. Map _json
)

Implementation

SourceOperationRequest.fromJson(core.Map _json)
    : this(
        getMetadata: _json.containsKey('getMetadata')
            ? SourceGetMetadataRequest.fromJson(
                _json['getMetadata'] as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        originalName: _json.containsKey('originalName')
            ? _json['originalName'] as core.String
            : null,
        split: _json.containsKey('split')
            ? SourceSplitRequest.fromJson(
                _json['split'] as core.Map<core.String, core.dynamic>)
            : null,
        stageName: _json.containsKey('stageName')
            ? _json['stageName'] as core.String
            : null,
        systemName: _json.containsKey('systemName')
            ? _json['systemName'] as core.String
            : null,
      );