GoogleCloudApigeeV1EnvironmentGroupConfig.fromJson constructor

GoogleCloudApigeeV1EnvironmentGroupConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1EnvironmentGroupConfig.fromJson(core.Map json_)
    : this(
        endpointChainingRules: json_.containsKey('endpointChainingRules')
            ? (json_['endpointChainingRules'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1EndpointChainingRule.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        hostnames: json_.containsKey('hostnames')
            ? (json_['hostnames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        routingRules: json_.containsKey('routingRules')
            ? (json_['routingRules'] as core.List)
                .map((value) => GoogleCloudApigeeV1RoutingRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );