SecurityPosture.fromJson constructor
SecurityPosture.fromJson(
- Map json_
Implementation
SecurityPosture.fromJson(core.Map json_)
: this(
changedPolicy: json_.containsKey('changedPolicy')
? json_['changedPolicy'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
policy: json_.containsKey('policy')
? json_['policy'] as core.String
: null,
policyDriftDetails: json_.containsKey('policyDriftDetails')
? (json_['policyDriftDetails'] as core.List)
.map((value) => PolicyDriftDetails.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
policySet: json_.containsKey('policySet')
? json_['policySet'] as core.String
: null,
postureDeployment: json_.containsKey('postureDeployment')
? json_['postureDeployment'] as core.String
: null,
postureDeploymentResource:
json_.containsKey('postureDeploymentResource')
? json_['postureDeploymentResource'] as core.String
: null,
revisionId: json_.containsKey('revisionId')
? json_['revisionId'] as core.String
: null,
);