SetMaintenancePolicyRequest.fromJson constructor
SetMaintenancePolicyRequest.fromJson(
- Map json_
Implementation
SetMaintenancePolicyRequest.fromJson(core.Map json_)
: this(
clusterId: json_.containsKey('clusterId')
? json_['clusterId'] as core.String
: null,
maintenancePolicy: json_.containsKey('maintenancePolicy')
? MaintenancePolicy.fromJson(json_['maintenancePolicy']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
projectId: json_.containsKey('projectId')
? json_['projectId'] as core.String
: null,
zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
);