Finding.fromJson constructor
Finding.fromJson(
- Map json_
Implementation
Finding.fromJson(core.Map json_)
: this(
access: json_.containsKey('access')
? Access.fromJson(
json_['access'] as core.Map<core.String, core.dynamic>)
: null,
application: json_.containsKey('application')
? Application.fromJson(
json_['application'] as core.Map<core.String, core.dynamic>)
: null,
attackExposure: json_.containsKey('attackExposure')
? AttackExposure.fromJson(json_['attackExposure']
as core.Map<core.String, core.dynamic>)
: null,
backupDisasterRecovery: json_.containsKey('backupDisasterRecovery')
? BackupDisasterRecovery.fromJson(json_['backupDisasterRecovery']
as core.Map<core.String, core.dynamic>)
: null,
canonicalName: json_.containsKey('canonicalName')
? json_['canonicalName'] as core.String
: null,
category: json_.containsKey('category')
? json_['category'] as core.String
: null,
cloudArmor: json_.containsKey('cloudArmor')
? CloudArmor.fromJson(
json_['cloudArmor'] as core.Map<core.String, core.dynamic>)
: null,
cloudDlpDataProfile: json_.containsKey('cloudDlpDataProfile')
? CloudDlpDataProfile.fromJson(json_['cloudDlpDataProfile']
as core.Map<core.String, core.dynamic>)
: null,
cloudDlpInspection: json_.containsKey('cloudDlpInspection')
? CloudDlpInspection.fromJson(json_['cloudDlpInspection']
as core.Map<core.String, core.dynamic>)
: null,
compliances: json_.containsKey('compliances')
? (json_['compliances'] as core.List)
.map((value) => Compliance.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
connections: json_.containsKey('connections')
? (json_['connections'] as core.List)
.map((value) => Connection.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
contacts: json_.containsKey('contacts')
? (json_['contacts'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
ContactDetails.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
containers: json_.containsKey('containers')
? (json_['containers'] as core.List)
.map((value) => Container.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
database: json_.containsKey('database')
? Database.fromJson(
json_['database'] as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
eventTime: json_.containsKey('eventTime')
? json_['eventTime'] as core.String
: null,
exfiltration: json_.containsKey('exfiltration')
? Exfiltration.fromJson(
json_['exfiltration'] as core.Map<core.String, core.dynamic>)
: null,
externalSystems: json_.containsKey('externalSystems')
? (json_['externalSystems']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
GoogleCloudSecuritycenterV1ExternalSystem.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
externalUri: json_.containsKey('externalUri')
? json_['externalUri'] as core.String
: null,
files: json_.containsKey('files')
? (json_['files'] as core.List)
.map((value) => File.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
findingClass: json_.containsKey('findingClass')
? json_['findingClass'] as core.String
: null,
iamBindings: json_.containsKey('iamBindings')
? (json_['iamBindings'] as core.List)
.map((value) => IamBinding.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
indicator: json_.containsKey('indicator')
? Indicator.fromJson(
json_['indicator'] as core.Map<core.String, core.dynamic>)
: null,
kernelRootkit: json_.containsKey('kernelRootkit')
? KernelRootkit.fromJson(
json_['kernelRootkit'] as core.Map<core.String, core.dynamic>)
: null,
kubernetes: json_.containsKey('kubernetes')
? Kubernetes.fromJson(
json_['kubernetes'] as core.Map<core.String, core.dynamic>)
: null,
loadBalancers: json_.containsKey('loadBalancers')
? (json_['loadBalancers'] as core.List)
.map((value) => LoadBalancer.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
logEntries: json_.containsKey('logEntries')
? (json_['logEntries'] as core.List)
.map((value) => LogEntry.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
mitreAttack: json_.containsKey('mitreAttack')
? MitreAttack.fromJson(
json_['mitreAttack'] as core.Map<core.String, core.dynamic>)
: null,
moduleName: json_.containsKey('moduleName')
? json_['moduleName'] as core.String
: null,
mute: json_.containsKey('mute') ? json_['mute'] as core.String : null,
muteInitiator: json_.containsKey('muteInitiator')
? json_['muteInitiator'] as core.String
: null,
muteUpdateTime: json_.containsKey('muteUpdateTime')
? json_['muteUpdateTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
nextSteps: json_.containsKey('nextSteps')
? json_['nextSteps'] as core.String
: null,
notebook: json_.containsKey('notebook')
? Notebook.fromJson(
json_['notebook'] as core.Map<core.String, core.dynamic>)
: null,
orgPolicies: json_.containsKey('orgPolicies')
? (json_['orgPolicies'] as core.List)
.map((value) => OrgPolicy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
parent: json_.containsKey('parent')
? json_['parent'] as core.String
: null,
parentDisplayName: json_.containsKey('parentDisplayName')
? json_['parentDisplayName'] as core.String
: null,
processes: json_.containsKey('processes')
? (json_['processes'] as core.List)
.map((value) => Process.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
resourceName: json_.containsKey('resourceName')
? json_['resourceName'] as core.String
: null,
securityMarks: json_.containsKey('securityMarks')
? SecurityMarks.fromJson(
json_['securityMarks'] as core.Map<core.String, core.dynamic>)
: null,
securityPosture: json_.containsKey('securityPosture')
? SecurityPosture.fromJson(json_['securityPosture']
as core.Map<core.String, core.dynamic>)
: null,
severity: json_.containsKey('severity')
? json_['severity'] as core.String
: null,
sourceProperties: json_.containsKey('sourceProperties')
? json_['sourceProperties'] as core.Map<core.String, core.dynamic>
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
vulnerability: json_.containsKey('vulnerability')
? Vulnerability.fromJson(
json_['vulnerability'] as core.Map<core.String, core.dynamic>)
: null,
);