ListLogEntriesRequest.fromJson constructor

ListLogEntriesRequest.fromJson(
  1. Map json_
)

Implementation

ListLogEntriesRequest.fromJson(core.Map json_)
    : this(
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        orderBy: json_.containsKey('orderBy')
            ? json_['orderBy'] as core.String
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        projectIds: json_.containsKey('projectIds')
            ? (json_['projectIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        resourceNames: json_.containsKey('resourceNames')
            ? (json_['resourceNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );