Alert.fromJson constructor
Alert.fromJson(
- Map _json
Implementation
Alert.fromJson(core.Map _json)
: this(
alertId: _json.containsKey('alertId')
? _json['alertId'] as core.String
: null,
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
customerId: _json.containsKey('customerId')
? _json['customerId'] as core.String
: null,
data: _json.containsKey('data')
? _json['data'] as core.Map<core.String, core.dynamic>
: null,
deleted: _json.containsKey('deleted')
? _json['deleted'] as core.bool
: null,
endTime: _json.containsKey('endTime')
? _json['endTime'] as core.String
: null,
etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
metadata: _json.containsKey('metadata')
? AlertMetadata.fromJson(
_json['metadata'] as core.Map<core.String, core.dynamic>)
: null,
securityInvestigationToolLink:
_json.containsKey('securityInvestigationToolLink')
? _json['securityInvestigationToolLink'] as core.String
: null,
source: _json.containsKey('source')
? _json['source'] as core.String
: null,
startTime: _json.containsKey('startTime')
? _json['startTime'] as core.String
: null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
);