GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.fromJson constructor

GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.fromJson(
    core.Map _json)
    : this(
        action: _json.containsKey('action')
            ? (_json['action'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        actorEmail: _json.containsKey('actorEmail')
            ? (_json['actorEmail'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        earliestChangeTime: _json.containsKey('earliestChangeTime')
            ? _json['earliestChangeTime'] as core.String
            : null,
        latestChangeTime: _json.containsKey('latestChangeTime')
            ? _json['latestChangeTime'] as core.String
            : null,
        pageSize: _json.containsKey('pageSize')
            ? _json['pageSize'] as core.int
            : null,
        pageToken: _json.containsKey('pageToken')
            ? _json['pageToken'] as core.String
            : null,
        property: _json.containsKey('property')
            ? _json['property'] as core.String
            : null,
        resourceType: _json.containsKey('resourceType')
            ? (_json['resourceType'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );