SapDiscovery.fromJson constructor

SapDiscovery.fromJson(
  1. Map json_
)

Implementation

SapDiscovery.fromJson(core.Map json_)
    : this(
        applicationLayer: json_.containsKey('applicationLayer')
            ? SapDiscoveryComponent.fromJson(json_['applicationLayer']
                as core.Map<core.String, core.dynamic>)
            : null,
        databaseLayer: json_.containsKey('databaseLayer')
            ? SapDiscoveryComponent.fromJson(
                json_['databaseLayer'] as core.Map<core.String, core.dynamic>)
            : null,
        metadata: json_.containsKey('metadata')
            ? SapDiscoveryMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        projectNumber: json_.containsKey('projectNumber')
            ? json_['projectNumber'] as core.String
            : null,
        systemId: json_.containsKey('systemId')
            ? json_['systemId'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        workloadProperties: json_.containsKey('workloadProperties')
            ? SapDiscoveryWorkloadProperties.fromJson(
                json_['workloadProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );