GoogleCloudApigeeV1DeploymentConfig.fromJson constructor

GoogleCloudApigeeV1DeploymentConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1DeploymentConfig.fromJson(core.Map json_)
    : this(
        attributes: json_.containsKey('attributes')
            ? (json_['attributes'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        basePath: json_.containsKey('basePath')
            ? json_['basePath'] as core.String
            : null,
        deploymentGroups: json_.containsKey('deploymentGroups')
            ? (json_['deploymentGroups'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        endpoints: json_.containsKey('endpoints')
            ? (json_['endpoints'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        proxyUid: json_.containsKey('proxyUid')
            ? json_['proxyUid'] as core.String
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );