UpdateSubscriptionOfferRequest.fromJson constructor

UpdateSubscriptionOfferRequest.fromJson(
  1. Map json_
)

Implementation

UpdateSubscriptionOfferRequest.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,
        subscriptionOffer: json_.containsKey('subscriptionOffer')
            ? SubscriptionOffer.fromJson(json_['subscriptionOffer']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );