GoogleCloudApigeeV1ApiProxyRevision.fromJson constructor

GoogleCloudApigeeV1ApiProxyRevision.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ApiProxyRevision.fromJson(core.Map json_)
    : this(
        archive: json_.containsKey('archive')
            ? json_['archive'] as core.String
            : null,
        basepaths: json_.containsKey('basepaths')
            ? (json_['basepaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        configurationVersion: json_.containsKey('configurationVersion')
            ? GoogleCloudApigeeV1ConfigVersion.fromJson(
                json_['configurationVersion']
                    as core.Map<core.String, core.dynamic>)
            : null,
        contextInfo: json_.containsKey('contextInfo')
            ? json_['contextInfo'] as core.String
            : null,
        createdAt: json_.containsKey('createdAt')
            ? json_['createdAt'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        entityMetaDataAsProperties:
            json_.containsKey('entityMetaDataAsProperties')
                ? (json_['entityMetaDataAsProperties']
                        as core.Map<core.String, core.dynamic>)
                    .map(
                    (key, value) => core.MapEntry(
                      key,
                      value as core.String,
                    ),
                  )
                : null,
        hasExtensiblePolicy: json_.containsKey('hasExtensiblePolicy')
            ? json_['hasExtensiblePolicy'] as core.bool
            : null,
        integrationEndpoints: json_.containsKey('integrationEndpoints')
            ? (json_['integrationEndpoints'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        lastModifiedAt: json_.containsKey('lastModifiedAt')
            ? json_['lastModifiedAt'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        policies: json_.containsKey('policies')
            ? (json_['policies'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        proxies: json_.containsKey('proxies')
            ? (json_['proxies'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        proxyEndpoints: json_.containsKey('proxyEndpoints')
            ? (json_['proxyEndpoints'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        resourceFiles: json_.containsKey('resourceFiles')
            ? GoogleCloudApigeeV1ResourceFiles.fromJson(
                json_['resourceFiles'] as core.Map<core.String, core.dynamic>)
            : null,
        resources: json_.containsKey('resources')
            ? (json_['resources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.String
            : null,
        sharedFlows: json_.containsKey('sharedFlows')
            ? (json_['sharedFlows'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        spec: json_.containsKey('spec') ? json_['spec'] as core.String : null,
        targetEndpoints: json_.containsKey('targetEndpoints')
            ? (json_['targetEndpoints'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetServers: json_.containsKey('targetServers')
            ? (json_['targetServers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targets: json_.containsKey('targets')
            ? (json_['targets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        teams: json_.containsKey('teams')
            ? (json_['teams'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );