RunPipelineRequest.fromJson constructor
RunPipelineRequest.fromJson(
- Map _json
Implementation
RunPipelineRequest.fromJson(core.Map _json)
: this(
labels: _json.containsKey('labels')
? (_json['labels'] as core.Map<core.String, core.dynamic>).map(
(key, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
pipeline: _json.containsKey('pipeline')
? Pipeline.fromJson(
_json['pipeline'] as core.Map<core.String, core.dynamic>)
: null,
pubSubTopic: _json.containsKey('pubSubTopic')
? _json['pubSubTopic'] as core.String
: null,
);