GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse.fromJson constructor
GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse.fromJson(
- Map _json
Implementation
GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse.fromJson(
core.Map _json)
: this(
purgedEventsCount: _json.containsKey('purgedEventsCount')
? _json['purgedEventsCount'] as core.String
: null,
userEventsSample: _json.containsKey('userEventsSample')
? (_json['userEventsSample'] as core.List)
.map<GoogleCloudRecommendationengineV1beta1UserEvent>(
(value) => GoogleCloudRecommendationengineV1beta1UserEvent
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);