GoogleApiServiceusageV1ServiceConfig.fromJson constructor
GoogleApiServiceusageV1ServiceConfig.fromJson(
- Map json_
Implementation
GoogleApiServiceusageV1ServiceConfig.fromJson(core.Map json_)
: this(
apis: json_.containsKey('apis')
? (json_['apis'] as core.List)
.map((value) => Api.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
authentication: json_.containsKey('authentication')
? Authentication.fromJson(json_['authentication']
as core.Map<core.String, core.dynamic>)
: null,
documentation: json_.containsKey('documentation')
? Documentation.fromJson(
json_['documentation'] as core.Map<core.String, core.dynamic>)
: null,
endpoints: json_.containsKey('endpoints')
? (json_['endpoints'] as core.List)
.map((value) => Endpoint.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
monitoredResources: json_.containsKey('monitoredResources')
? (json_['monitoredResources'] as core.List)
.map((value) => MonitoredResourceDescriptor.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
monitoring: json_.containsKey('monitoring')
? Monitoring.fromJson(
json_['monitoring'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
quota: json_.containsKey('quota')
? Quota.fromJson(
json_['quota'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
usage: json_.containsKey('usage')
? Usage.fromJson(
json_['usage'] as core.Map<core.String, core.dynamic>)
: null,
);