UpdateOneTimeProductOfferRequest.fromJson constructor

UpdateOneTimeProductOfferRequest.fromJson(
  1. Map json_
)

Implementation

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