BulkInsertInstanceResource.fromJson constructor
BulkInsertInstanceResource.fromJson(
- Map json_
Implementation
BulkInsertInstanceResource.fromJson(core.Map json_)
: this(
count:
json_.containsKey('count') ? json_['count'] as core.String : null,
instanceProperties: json_.containsKey('instanceProperties')
? InstanceProperties.fromJson(json_['instanceProperties']
as core.Map<core.String, core.dynamic>)
: null,
locationPolicy: json_.containsKey('locationPolicy')
? LocationPolicy.fromJson(json_['locationPolicy']
as core.Map<core.String, core.dynamic>)
: null,
minCount: json_.containsKey('minCount')
? json_['minCount'] as core.String
: null,
namePattern: json_.containsKey('namePattern')
? json_['namePattern'] as core.String
: null,
perInstanceProperties: json_.containsKey('perInstanceProperties')
? (json_['perInstanceProperties']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
BulkInsertInstanceResourcePerInstanceProperties.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
sourceInstanceTemplate: json_.containsKey('sourceInstanceTemplate')
? json_['sourceInstanceTemplate'] as core.String
: null,
);