GoogleCloudBillingBudgetsV1Filter.fromJson constructor
GoogleCloudBillingBudgetsV1Filter.fromJson(
- Map json_
Implementation
GoogleCloudBillingBudgetsV1Filter.fromJson(core.Map json_)
: this(
calendarPeriod: json_['calendarPeriod'] as core.String?,
creditTypes: (json_['creditTypes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
creditTypesTreatment: json_['creditTypesTreatment'] as core.String?,
customPeriod: json_.containsKey('customPeriod')
? GoogleCloudBillingBudgetsV1CustomPeriod.fromJson(
json_['customPeriod'] as core.Map<core.String, core.dynamic>,
)
: null,
labels: (json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
(key, value) => core.MapEntry(key, value as core.List),
),
projects: (json_['projects'] as core.List?)
?.map((value) => value as core.String)
.toList(),
resourceAncestors: (json_['resourceAncestors'] as core.List?)
?.map((value) => value as core.String)
.toList(),
services: (json_['services'] as core.List?)
?.map((value) => value as core.String)
.toList(),
subaccounts: (json_['subaccounts'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);