GoogleCloudRetailV2SetInventoryRequest.fromJson constructor

GoogleCloudRetailV2SetInventoryRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2SetInventoryRequest.fromJson(core.Map json_)
    : this(
        allowMissing: json_.containsKey('allowMissing')
            ? json_['allowMissing'] as core.bool
            : null,
        inventory: json_.containsKey('inventory')
            ? GoogleCloudRetailV2Product.fromJson(
                json_['inventory'] as core.Map<core.String, core.dynamic>)
            : null,
        setMask: json_.containsKey('setMask')
            ? json_['setMask'] as core.String
            : null,
        setTime: json_.containsKey('setTime')
            ? json_['setTime'] as core.String
            : null,
      );