UpdateSubscriptionRequest.fromJson constructor

UpdateSubscriptionRequest.fromJson(
  1. Map json_
)

Implementation

UpdateSubscriptionRequest.fromJson(core.Map json_)
    : this(
        allowMissing: json_.containsKey('allowMissing')
            ? json_['allowMissing'] as core.bool
            : null,
        latencyTolerance: json_.containsKey('latencyTolerance')
            ? json_['latencyTolerance'] as core.String
            : null,
        regionsVersion: json_.containsKey('regionsVersion')
            ? RegionsVersion.fromJson(json_['regionsVersion']
                as core.Map<core.String, core.dynamic>)
            : null,
        subscription: json_.containsKey('subscription')
            ? Subscription.fromJson(
                json_['subscription'] as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );