GoogleCloudApigeeV1RoutingRule.fromJson constructor

GoogleCloudApigeeV1RoutingRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1RoutingRule.fromJson(core.Map json_)
    : this(
        basepath: json_.containsKey('basepath')
            ? json_['basepath'] as core.String
            : null,
        deploymentGroup: json_.containsKey('deploymentGroup')
            ? json_['deploymentGroup'] as core.String
            : null,
        envGroupRevision: json_.containsKey('envGroupRevision')
            ? json_['envGroupRevision'] as core.String
            : null,
        environment: json_.containsKey('environment')
            ? json_['environment'] as core.String
            : null,
        otherTargets: json_.containsKey('otherTargets')
            ? (json_['otherTargets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        receiver: json_.containsKey('receiver')
            ? json_['receiver'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );